Discarding second job with rules
This commit is contained in:
parent
be6a23c004
commit
2f6775e6ed
1 changed files with 8 additions and 2 deletions
|
|
@ -43,7 +43,13 @@ commit_and_push:
|
||||||
else
|
else
|
||||||
echo "Aucun commit/push nécessaire."
|
echo "Aucun commit/push nécessaire."
|
||||||
fi
|
fi
|
||||||
only:
|
|
||||||
- branches
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- check_readme_changes
|
- check_readme_changes
|
||||||
|
rules:
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
|
when: always
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "push"'
|
||||||
|
changes:
|
||||||
|
paths:
|
||||||
|
- README.qmd
|
||||||
|
when: always
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue