Don't run push pipelines for coverity branch
Otherwise we'd end up adding more job runs rather than reducing them
This commit is contained in:
+2
-2
@@ -13,14 +13,14 @@ workflow:
|
||||
auto_cancel:
|
||||
on_new_commit: interruptible
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_PIPELINE_SOURCE == "schedule"
|
||||
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true'
|
||||
# continue running master and release branch pipelines when we do back-to-back merges in case one introduces a regression
|
||||
auto_cancel:
|
||||
on_new_commit: none
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_BRANCH != "coverity"
|
||||
|
||||
# https://blog.nimbleways.com/let-s-make-faster-gitlab-ci-cd-pipelines/
|
||||
variables:
|
||||
|
||||
Reference in New Issue
Block a user