chore(ci): aggiorna action versions, fix auto-release e migrazione self-hosted

- Aggiorna checkout v4→v6, setup-python v5→v5.2.0, setup-android v3→v4
- Aggiorna upload-artifact v3→v4, docker/login-action v3→v4
- Aggiunge needs su auto-release in tutti gli esempi (fix esecuzione parallela)
- Aggiunge token esplicito nel checkout come workaround bug Gitea #31900
- Aggiunge job dependency-outdated mancante in libreria-npm/maintenance.yml
- Aggiorna schedule: libreria-npm mercoledì 02:00, microservizio lunedì 02:00
- Migra tutti i riferimenti da gitea.com/Punga78 a gitea.pzetatouch.it/devops

Fixes #1 @3h
This commit is contained in:
LucaZanni
2026-06-06 13:21:01 +02:00
parent 54c74d9c6a
commit 0f7688ac5e
24 changed files with 83 additions and 63 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ on:
jobs:
quality-gates:
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/python-quality-gates.yml@v1
uses: https://gitea.pzetatouch.it/devops/shared-actions/.gitea/workflows/python-quality-gates.yml@v1
secrets: inherit
# with:
# python-version: '3.11' # opzionale, default già impostato
+3 -3
View File
@@ -18,14 +18,14 @@ on:
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
uses: https://gitea.pzetatouch.it/devops/shared-actions/.gitea/workflows/branch-cleanup.yml@v1
secrets: inherit
dependency-audit:
if: >
gitea.event_name == 'workflow_dispatch' ||
(gitea.event_name == 'schedule' && gitea.event.schedule == '0 8 * * 1')
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/python-dependency-check.yml@v1
uses: https://gitea.pzetatouch.it/devops/shared-actions/.gitea/workflows/python-dependency-check.yml@v1
secrets: inherit
# with:
# python-version: '3.11'
@@ -35,7 +35,7 @@ jobs:
if: >
gitea.event_name == 'workflow_dispatch' ||
(gitea.event_name == 'schedule' && gitea.event.schedule == '0 8 1 * *')
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/python-dependency-outdated.yml@v1
uses: https://gitea.pzetatouch.it/devops/shared-actions/.gitea/workflows/python-dependency-outdated.yml@v1
secrets: inherit
# with:
# python-version: '3.11'
+5 -4
View File
@@ -1,8 +1,8 @@
# Copia in: .gitea/workflows/release.yml
# Trigger: git tag v* → build Docker + crea release Gitea
#
# NOTA: i job girano in parallelo (non sequenziali con needs).
# Gitea bug #31900: needs + workflow_call + checkout causa errori di autenticazione.
# NOTA: auto-release attende docker-release via needs.
# Workaround Gitea bug #31900: token esplicito nel checkout di python-auto-release.yml.
#
# Prerequisiti:
# - Dockerfile presente nella root del progetto
@@ -19,7 +19,7 @@ on:
jobs:
docker-release:
runs-on: catthehacker-latest # workaround Gitea bug #34986: runs-on non rispettato in workflow_call
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/python-docker-release.yml@v1
uses: https://gitea.pzetatouch.it/devops/shared-actions/.gitea/workflows/python-docker-release.yml@v1
secrets: inherit
with:
runner: catthehacker-latest # runner con Docker pre-installato
@@ -27,5 +27,6 @@ jobs:
# install-extras: 'dev' # opzionale
auto-release:
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/python-auto-release.yml@v1
needs: [docker-release]
uses: https://gitea.pzetatouch.it/devops/shared-actions/.gitea/workflows/python-auto-release.yml@v1
secrets: inherit