Discarding second job with rules

This commit is contained in:
Louis 2025-05-15 22:44:28 +02:00
parent be6a23c004
commit 2f6775e6ed

View file

@ -43,7 +43,13 @@ commit_and_push:
else
echo "Aucun commit/push nécessaire."
fi
only:
- branches
dependencies:
- check_readme_changes
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: always
- if: '$CI_PIPELINE_SOURCE == "push"'
changes:
paths:
- README.qmd
when: always