🎉 feat(ci): setup Gitea Actions riutilizzabili cross-repo

- Aggiunti 6 workflow condivisi in .gitea/workflows/ con trigger workflow_call
- Implementati: quality-gates, npm-publish, docker-release, auto-release, dependency-check, branch-cleanup
- Aggiunti esempi consumer per microservizio e libreria-npm (ci, release, maintenance)
- Allineato npm run lint:check su tutti i workflow
- Corretti GITEA_TOKEN, gitea.* context, GITHUB_REF/GITHUB_OUTPUT per compatibilità Gitea
- Rimosso needs: tra job reusable (Gitea bug #31900), path uses: con .gitea/workflows/

Fixes #1 @1d
This commit is contained in:
LucaZanni
2026-03-24 17:04:22 +01:00
parent 9e0928a327
commit 8b292ae35d
12 changed files with 308 additions and 22 deletions
+22
View File
@@ -0,0 +1,22 @@
# Copia in: .gitea/workflows/maintenance.yml
# Combina branch-cleanup (PR merge) e dependency-check (settimanale)
name: Maintenance
on:
pull_request:
types: [closed]
schedule:
- cron: '0 8 * * 1'
workflow_dispatch:
jobs:
branch-cleanup:
if: gitea.event_name == 'pull_request' && gitea.event.pull_request.merged == true
uses: pzeta_touch/shared-actions/.gitea/workflows/branch-cleanup.yml@main
secrets: inherit
dependency-check:
if: gitea.event_name == 'schedule' || gitea.event_name == 'workflow_dispatch'
uses: pzeta_touch/shared-actions/.gitea/workflows/dependency-check.yml@main
secrets: inherit