Skip to content

Commit 4a58cf3

Browse files
committed
CI: update push.yml ignore-paths to use YAML anchors aliases
GitHub Actions now supports YAML anchors and aliases[^1], so the workflows can use them to avoid repeating lists. [^1]: https://docs.github.com/en/actions/reference/workflows-and-actions/reusing-workflow-configurations#yaml-anchors-and-aliases Closes #19882
1 parent a46be36 commit 4a58cf3

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Push
22
on:
33
push:
4-
paths-ignore:
4+
paths-ignore: &ignore_paths
55
- docs/**
66
- NEWS
77
- UPGRADING
@@ -18,16 +18,7 @@ on:
1818
- PHP-8.4
1919
- master
2020
pull_request:
21-
paths-ignore:
22-
- docs/**
23-
- NEWS
24-
- UPGRADING
25-
- UPGRADING.INTERNALS
26-
- '**/README.*'
27-
- CONTRIBUTING.md
28-
- CODING_STANDARDS.md
29-
- .cirrus.yml
30-
- .circleci/**
21+
paths-ignore: *ignore_paths
3122
branches:
3223
- '**'
3324
workflow_dispatch: ~

0 commit comments

Comments
 (0)