From 8c3757a324c0d2a213e02893bfacbb4f3f4b62ec Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Wed, 6 Aug 2025 16:36:07 +0200 Subject: [PATCH] Don't auto cancel jobs that only run when scheduled --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cdda455dac..16e8e548ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,8 @@ stages: - test workflow: + auto_cancel: + on_new_commit: interruptible rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS @@ -99,6 +101,7 @@ Coverity: - saas-linux-medium-amd64 image: ubuntu:24.04 stage: build + interruptible: false rules: - if: $CI_PIPELINE_SOURCE == "schedule" cache: @@ -140,6 +143,7 @@ Coverity: Coverity_Upload: image: ubuntu:24.04 stage: build + interruptible: false rules: - if: $CI_PIPELINE_SOURCE == "schedule" before_script: