chore(ci): update workflow to replace github context with gitea for event and ref conditions
This commit is contained in:
@@ -70,7 +70,7 @@ jobs:
|
|||||||
needs: validate
|
needs: validate
|
||||||
# Déclenchement uniquement sur push sur main ou tag de version
|
# Déclenchement uniquement sur push sur main ou tag de version
|
||||||
# Gitea supporte le contexte 'github' pour la compatibilité
|
# 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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|||||||
Reference in New Issue
Block a user