diff options
author | Michel Dänzer <mdaenzer@redhat.com> | 2020-09-08 18:00:21 +0200 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-09-21 15:13:04 +0000 |
commit | 208876b70928c2e298c4ddfee974b0c19797f5ce (patch) | |
tree | 10ba14c057052a82fc7a432846189e696be83e8a /.gitlab-ci.yml | |
parent | 0fcb8b33c573914540e1ef46b6c508c05be87462 (diff) |
ci: Add "is for Marge Bot" YAML anchor
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c4cc6886190..41f1eb96cff 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 |