Fix 'Unable to create pipeline' error on each push.

Refs: https://gitlab.protontech.ch/apple/shared/protoncore/-/merge_requests/1750
This commit is contained in:
Erik Ackermann 2024-04-12 16:33:05 +00:00
commit 907cdcc16a

View file

@ -67,6 +67,9 @@ workflow:
- if: $CI_OPEN_MERGE_REQUESTS
when: never
- if: $CI_PIPELINE_SOURCE == "push"
when: never
- if: $CI_COMMIT_BRANCH
variables:
TEST: "manual"
@ -132,6 +135,7 @@ linting:code-quality:
- env
- tools/portable_swiftlint/swiftlint --config .swiftlint.yml --reporter junit > swiftlint.xml
rules: &rules_mr_and_develop
- if: $CI_PIPELINE_SOURCE == "push"
- if: $TEST == "manual"
when: manual
@ -969,4 +973,3 @@ i18n-commit-locales:
variables:
I18N_COMMIT_CROWDIN_PROJECT: "apple-core"
extends: .i18n-commit-locales-shared-apple