feat(ci): aggiungi varianti -github dei reusable e fix audit Python
- crea gemelli X-github.yml per ogni reusable con action da github.com (fallback mirror gitea.com) - python-dependency-check/outdated: audit in venv isolata (fix falsi positivi da runner ML) - python-dependency-check/outdated: deduplica issue (commento invece di nuova issue) - examples: aggiungi ci-github.yml e release-github.yml in tutte le cartelle Fixes #3 @3h
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# Copia in: .gitea/workflows/ci.yml
|
||||
# Usato da: microservizi Python con FastAPI / pyproject.toml
|
||||
#
|
||||
# Requisiti pyproject.toml:
|
||||
# [project.optional-dependencies]
|
||||
# dev = ["ruff", "mypy", "pytest", ...]
|
||||
#
|
||||
# Input opzionali:
|
||||
# python-version: '3.11' # default già impostato
|
||||
# install-extras: 'dev' # default già impostato
|
||||
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
quality-gates:
|
||||
uses: https://gitea.pzetatouch.it/devops/shared-actions/.gitea/workflows/python-quality-gates-github.yml@v1
|
||||
secrets: inherit
|
||||
# with:
|
||||
# python-version: '3.11' # opzionale, default già impostato
|
||||
# install-extras: 'dev' # opzionale, default già impostato
|
||||
Reference in New Issue
Block a user