mirror of https://gitlab.freedesktop.org/mesa/mesa
ci: don't run rustfmt on every core change
Only keep the two parts we want: disabling the job in the nightly pipeline, and running the job if the CI itself is modified. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28468>
This commit is contained in:
parent
4f310b04f0
commit
48566d00b1
|
@ -227,7 +227,10 @@
|
|||
.lint-rustfmt-rules:
|
||||
rules:
|
||||
- !reference [.never-post-merge-rules, rules]
|
||||
- !reference [.core-rules, rules]
|
||||
- !reference [.no_scheduled_pipelines-rules, rules]
|
||||
- changes:
|
||||
- .gitlab-ci.yml
|
||||
- .gitlab-ci/**/*
|
||||
# in merge pipeline, formatting checks are not allowed to fail
|
||||
- if: $GITLAB_USER_LOGIN == "marge-bot" && $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
changes: &rust_file_list
|
||||
|
|
Loading…
Reference in New Issue