From 208876b70928c2e298c4ddfee974b0c19797f5ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michel=20D=C3=A4nzer?= Date: Tue, 8 Sep 2020 18:00:21 +0200 Subject: [PATCH] ci: Add "is for Marge Bot" YAML anchor Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c4cc688..41f1eb9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,6 +44,9 @@ stages: # -------------------------------- .rules-anchors: rules: + # For Marge Bot + - if: &is-for-marge '$GITLAB_USER_LOGIN == "marge-bot"' + when: never # Forked project branch - if: &is-forked-branch '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME' when: manual @@ -149,7 +152,7 @@ success: - *ignore_scheduled_pipelines - if: *is-post-merge when: never - - if: '$GITLAB_USER_LOGIN == "marge-bot"' + - if: *is-for-marge changes: *docs-or-ci when: never - changes: *all_paths -- 2.7.4