From fe6ada10beb30f0ff2121acd07e10e10a284ddda Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen <4643818-rmlarsen1@users.noreply.gitlab.com> Date: Sat, 4 Apr 2026 11:52:15 -0700 Subject: [PATCH] Prevent nightly CI pipelines from being auto-cancelled libeigen/eigen!2390 Co-authored-by: Rasmus Munk Larsen --- .gitlab-ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5e2ec27d9..e2ccad7fe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,9 +8,21 @@ # with this file, You can obtain one at http://mozilla.org/MPL/2.0/. default: -# automatically cancels a job when a new pipeline for the same branch is triggered interruptible: true +# For MR pipelines, auto-cancel running jobs when new commits are pushed. +# For scheduled (nightly) pipelines, never auto-cancel so all jobs run to +# completion and all failures are visible for debugging. +workflow: + auto_cancel: + on_new_commit: interruptible + on_job_failure: none + rules: + - if: $CI_PIPELINE_SOURCE == "schedule" + auto_cancel: + on_new_commit: none + - when: always + stages: - checkformat - build