From 2bb1dc677e968daeb151e1e808e624c12a479e08 Mon Sep 17 00:00:00 2001 From: Jonathan Rich Date: Mon, 8 Jun 2026 11:59:50 -0400 Subject: [PATCH] QA-354 Prevent duplicate pipelines for MRs --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 00a72b7..b75b828 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,16 @@ stages: - run default: retry: 2 + +# Prevent duplicate pipelines for push events to branches that also have open MRs +workflow: + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + when: always + - if: $CI_PIPELINE_SOURCE == "push" && $CI_OPEN_MERGE_REQUESTS + when: never + - when: always + variables: BASE_TAG: "1.17.0-rolling-daily" USE_PRIVATE_IMAGES: 0