Files
shared-actions/examples/microservizio/maintenance.yml
T
LucaZanni b864af4bb2 🎉 feat(ci): aggiungi versionamento semantico per shared-actions
- Aggiunto package.json con versione 1.0.0
- Nuovo workflow release.yml standalone: crea release Gitea su tag v*
- Aggiornamento automatico tag major floating (v1 → latest v1.x.x)
- Esempi aggiornati da @main a @v1 (tag major stabile)

Flusso di release:
  git tag v1.0.0 && git push origin v1.0.0
  → crea release Gitea con changelog
  → aggiorna tag floating v1
2026-03-26 14:41:36 +01:00

23 lines
669 B
YAML

# 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: https://gitea.com/Punga78/shared-actions/.gitea/workflows/branch-cleanup.yml@v1
secrets: inherit
dependency-check:
if: gitea.event_name == 'schedule' || gitea.event_name == 'workflow_dispatch'
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/dependency-check.yml@v1
secrets: inherit