gitlab-ci: Rename "paths" YAML anchor to "all_paths"
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>
This commit is contained in:
parent
cf54785239
commit
c12576efbe
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue