Mesa (master): ci: Add "is for Marge Bot" YAML anchor

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Sep 21 15:28:57 UTC 2020


Module: Mesa
Branch: master
Commit: 208876b70928c2e298c4ddfee974b0c19797f5ce
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=208876b70928c2e298c4ddfee974b0c19797f5ce

Author: Michel Dänzer <mdaenzer at redhat.com>
Date:   Tue Sep  8 18:00:21 2020 +0200

ci: Add "is for Marge Bot" YAML anchor

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>

---

 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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



More information about the mesa-commit mailing list