ci: Don't run style check on main
It always succeeds, so we are just wasting resources.
This commit is contained in:
parent
c503238a1e
commit
d92b90d1b6
1 changed files with 2 additions and 1 deletions
|
@ -225,7 +225,8 @@ style-check-diff:
|
|||
needs:
|
||||
- build.container.fedora@x86_64
|
||||
stage: test
|
||||
when: always
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH || $CI_PROJECT_NAMESPACE != "GNOME"
|
||||
allow_failure: true
|
||||
script:
|
||||
- .gitlab-ci/run-style-check-diff.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue