chore(ci): update workflow to replace github context with gitea for event and ref conditions

This commit is contained in:
Mathis HERRIOT
2026-01-20 12:13:14 +01:00
parent 4700526dd2
commit 733ffbff31

View File

@@ -70,7 +70,7 @@ jobs:
needs: validate
# Déclenchement uniquement sur push sur main ou tag de version
# Gitea supporte le contexte 'github' pour la compatibilité
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
if: gitea.event_name == 'push' && (gitea.ref == 'refs/heads/main' || startsWith(gitea.ref, 'refs/tags/v'))
runs-on: ubuntu-latest
steps:
- name: Checkout code