diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9147567064e..e6123e27029 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,6 +27,14 @@ # is explicitly disabled by default. +workflow: + rules: + # workflow to stop GitLab from starting a redundant pipeline after replicating PR into MR + - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' + when: never + # fallback for the rest of the pipelines + - when: always + stages: # build rpm, tar, deb, oci container - build