🔥 refactor(ci): eliminati i 13 workflow -github e i 10 esempi gemelli

- servivano a prendere le action da github.com invece che dal mirror lento
  di gitea.com; con i mirror interni la doppia serie non ha piu' motivo
- nessuno degli otto chiamanti girava su GitHub: erano tutti sull'istanza
  interna, verificato anche sui 354 repository non in checkout locale
- 8 gemelli su 13 erano gia' byte-identici dopo il ripuntamento; gli altri 5
  differivano solo perche' la copia -github si era persa degli aggiornamenti
  (il gate su auth.ruoli, l'input extra-index-gitea)
- 26 workflow riusabili diventano 13

Fixes #27 @1h
This commit is contained in:
LucaZanni committed 2026-10-19 17:25:13 +02:00
1 parent a11fe2af2b
commit efc10a593a
23 files changed
-1941

No files matched your search

-26
View File
@@ -1,26 +0,0 @@
# Copia in: .gitea/workflows/ci.yml
# Usato da: siti documentazione Nuxt 4 con SSR e Docker
#
# Prerequisiti:
# - package.json con script: lint:check, typecheck, format:check, build, test
# - Secrets: NPM_TOKEN (accesso registry @pzeta privato)
name: CI
on:
push:
branches:
- main
paths-ignore:
- '**.md'
- 'content/**'
pull_request:
branches:
- main
jobs:
quality-gates:
uses: https://gitea.pzetatouch.it/devops/shared-actions/.gitea/workflows/quality-gates-github.yml@v1
secrets: inherit
with:
npm-version: '11' # lockfile generato con npm@11, runner usa npm@10 di default
@@ -1,30 +0,0 @@
# Copia in: .gitea/workflows/release.yml
# Trigger: git tag v* → build Docker + crea release Gitea
#
# NOTA: auto-release attende docker-release via needs.
# Workaround Gitea bug #31900: token esplicito nel checkout di auto-release.yml.
#
# Secrets richiesti nel repository consumer:
# NPM_TOKEN — accesso registry @pzeta (npm install + Docker secret)
# G_USER — username Docker registry Gitea
name: Release
on:
push:
tags:
- 'v*'
jobs:
docker-release:
runs-on: catthehacker-latest # workaround Gitea bug #34986: runs-on non rispettato in workflow_call
uses: https://gitea.pzetatouch.it/devops/shared-actions/.gitea/workflows/docker-release-github.yml@v1
secrets: inherit
with:
runner: catthehacker-latest # runner con Docker pre-installato
npm-version: '11' # lockfile generato con npm@11, runner usa npm@10 di default
auto-release:
needs: [docker-release]
uses: https://gitea.pzetatouch.it/devops/shared-actions/.gitea/workflows/auto-release-github.yml@v1
secrets: inherit