ci/farm-rules: rename .disable-farm-mr-rules to make it clear it's only about MRs
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25243>
This commit is contained in:
parent
fa2fc50f81
commit
67c7f391b3
2 changed files with 6 additions and 5 deletions
|
|
@ -239,11 +239,12 @@
|
|||
|
||||
|
||||
# Skip container & build jobs when disabling any farm
|
||||
.disable-farm-rules:
|
||||
# Only apply these rules in MR context, because otherwise we get a false
|
||||
# positive on files being 'created' when pushing to a new branch, and break
|
||||
# our pipeline
|
||||
.disable-farm-mr-rules:
|
||||
rules:
|
||||
# changes(disabled) + exists(disabled) = disabling the farm
|
||||
# only run in MR context, because otherwise we get a false positive on
|
||||
# files being 'created' when pushing to a branch, and nuke our pipeline
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
changes: [ .ci-farms-disabled/microsoft ]
|
||||
exists: [ .ci-farms-disabled/microsoft ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue