From 2bd76d91801e363fa4e36a644166c6011ee17cd8 Mon Sep 17 00:00:00 2001 From: Cedric Lamoriniere Date: Mon, 11 Mar 2024 15:54:20 +0100 Subject: [PATCH] Avoid running e2e state during mergequeue run the current `e2e` gitlab-ci job is manual. to avoid running it during the merge-queue process a new rules is needed to check the CI_COMMIT_BRANCH --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6a2598a02..33a87c262 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,8 @@ stages: e2e: stage: e2e rules: + - if: '$CI_COMMIT_BRANCH =~ /^mq-working-branch-/' + when: never - if: $CI_COMMIT_BRANCH == "main" changes: paths: