mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 08:20:12 +01:00
ci: fix rustfmt job rules (one more case)
f065c2f0acactually always triggers the rule it adds because that commit itself changes one of these files, so the case where none of these files are changed was not actually tested. The two options are to drop the `changes:` line from that commit, to make every staging pipeline run that job, or to add the missing "no changes" corresponding rule, which this commit does, which aligns with the "run when files changed, don't run otherwise" behaviour of the other rules above. Fixes:f065c2f0ac("ci: fix rustfmt job rules") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36306> (cherry picked from commitf4166ab1e1)
This commit is contained in:
parent
8db845d788
commit
d3ad9705dd
2 changed files with 3 additions and 1 deletions
|
|
@ -231,6 +231,8 @@
|
|||
- if: $CI_PROJECT_NAMESPACE == "mesa"
|
||||
changes: *rustfmt_files
|
||||
allow_failure: true
|
||||
- if: $CI_PROJECT_NAMESPACE == "mesa"
|
||||
when: never
|
||||
- when: manual
|
||||
allow_failure: true
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"description": "ci: fix rustfmt job rules (one more case)",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "f065c2f0ac9ab7563f828484294c73092cf4d3b2",
|
||||
"notes": null
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue