b864af4bb2
- 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
26 lines
762 B
YAML
26 lines
762 B
YAML
# Copia in: .gitea/workflows/maintenance.yml
|
|
# Trigger:
|
|
# - PR merged → cleanup branch sorgente
|
|
# - Ogni lunedì 08:00 → controllo dipendenze vulnerabili/obsolete
|
|
# - Manuale → workflow_dispatch
|
|
|
|
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
|