Varianti -github dei reusable workflow + fix scope/deduplica audit Python #3
Notifications
Total Time Spent: 3 hours
LucaZanni
3 hours
No due date set.
Dependencies
No dependencies set.
Reference: devops/shared-actions#3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Contesto
I reusable workflow referenziano le action con URL assoluto verso
gitea.com; quando il mirror gitea.com dà errori (HTTP 500 sucache,upload-artifact@v4assente) i job falliscono. Serve una sorgente alternativa dagithub.com.Inoltre i workflow di manutenzione Python producevano issue-spam sui repo consumer.
Modifiche
1. Varianti
-githubdei reusable workflowPer ogni workflow che referenzia
gitea.comè stato creato il gemelloX-github.ymlcon tutti gliuses:spostati sugithub.com(tag invariati,upload-artifact@v3preservato per compatibilità col backend artefatti di Gitea). Registry privato,gitea.tokenegitea.server_urlintatti.2. Fix audit Python (
python-dependency-check,python-dependency-outdated)3. Esempi
Aggiunte varianti
ci-github.yml/release-github.ymlin tutte le cartelleexamples/che puntano ai reusable-github.Uso consumer
Il repo consumer sceglie la sorgente copiando la variante base (
gitea.com) o-github(github.com) in.gitea/workflows/.