🎉 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:
@@ -0,0 +1,21 @@
|
||||
# Copia in: .gitea/workflows/release.yml
|
||||
# Trigger: git tag v* → pubblica su npm + crea release Gitea
|
||||
#
|
||||
# NOTA: i job girano in parallelo (non sequenziali con needs).
|
||||
# Gitea bug #31900: needs + workflow_call + checkout causa errori di autenticazione.
|
||||
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
npm-publish:
|
||||
uses: pzeta_touch/shared-actions/.gitea/workflows/npm-publish.yml@main
|
||||
secrets: inherit
|
||||
|
||||
auto-release:
|
||||
uses: pzeta_touch/shared-actions/.gitea/workflows/auto-release.yml@main
|
||||
secrets: inherit
|
||||
Reference in New Issue
Block a user