From 717cff829c51bd084a1592ab1b35408b52ca6b22 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 8 Sep 2023 19:15:15 +0100 Subject: [PATCH] ci: remove duplicate fork pipeline in MRs The argument for keeping this duplicate was to not affect the ci_run_n_monitor script (which by default picked the pipeline in the user's fork), but the script already supported specifying a `--pipeline-url` to support that use-case, and it now automatically picks the MR pipeline if there is no fork pipeline. Part-of: --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 08e64fae96c..83adc83e4df 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ workflow: rules: # do not duplicate pipelines on merge pipelines - - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push" && $GITLAB_USER_LOGIN == "marge-bot" + - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push" when: never # merge pipeline - if: $GITLAB_USER_LOGIN == "marge-bot" && $CI_COMMIT_BRANCH == null