ci: Don't run style check on main

It always succeeds, so we are just wasting resources.
This commit is contained in:
Corey Berla 2024-02-05 15:45:01 -08:00 committed by Felipe Borges
parent c503238a1e
commit d92b90d1b6

View file

@ -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