gitlab-ci: Rename "paths" YAML anchor to "all_paths"
authorMichel Dänzer <mdaenzer@redhat.com>
Fri, 3 Apr 2020 09:17:48 +0000 (11:17 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Apr 2020 17:36:15 +0000 (17:36 +0000)
To avoid confusion with `paths:` elements.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4432>

.gitlab-ci.yml

index 371c2560b78fbd27b2ed9d7cdb612d31a733db72..8623731960b2b522d03d6c5f7ce11b18ea7bd4c1 100644 (file)
@@ -27,7 +27,7 @@ stages:
   rules:
     # Run pipeline by default for merge requests changing files affecting it
     - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
-      changes: &paths
+      changes: &all_paths
       - VERSION
       - bin/**/*
       # GitLab CI
@@ -49,7 +49,7 @@ stages:
     # changed
     - if: '$CI_PROJECT_PATH == "mesa/mesa"'
       changes:
-        *paths
+        *all_paths
       when: on_success
     # Allow triggering jobs manually on branches of forked projects
     - if: '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
@@ -70,7 +70,7 @@ success:
     - merge_requests
   except:
     changes:
-      *paths
+      *all_paths
   variables:
     GIT_STRATEGY: none
   script: