From b4b0c98dc751c025f5a2deafbcb545128200d3ee Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Thu, 24 Sep 2026 00:59:09 +0100 Subject: [PATCH] Don't run push pipelines for coverity branch Otherwise we'd end up adding more job runs rather than reducing them --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 64a24b343b..ed9be83dd2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: -- 2.54.0