From d67898a2a092096eecddcfa4d42cd740c6959be1 Mon Sep 17 00:00:00 2001 From: Tim Jaacks <tim.jaacks@seco.com> Date: Tue, 28 Feb 2023 10:42:14 +0100 Subject: [PATCH] Manifest: skip build if "skip build" label is set --- manifest-pipeline.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifest-pipeline.yml b/manifest-pipeline.yml index 5f7798b5..89ba9646 100644 --- a/manifest-pipeline.yml +++ b/manifest-pipeline.yml @@ -23,6 +23,9 @@ workflow: # Do not run pipelines on integration branches - if: $CI_COMMIT_REF_NAME =~ /^integrate\/.*/ when: never + # Do not run pipeline if the "skip build" label is set on the merge request + - if: $CI_MERGE_REQUEST_LABELS =~ /skip build/ + when: never # Run pipelines for merge requests - if: $CI_MERGE_REQUEST_IID # Run pipelines on the master branch -- GitLab