CI: Use YAML aliases for path filters

A new feature added to Github workflows:
https://github.com/actions/runner/issues/1182
This commit is contained in:
andy5995 2025-08-04 13:41:57 -05:00
parent ffafec8ffa
commit 6b916abebe
No known key found for this signature in database
GPG key ID: F8E78111BE2B398B
3 changed files with 6 additions and 30 deletions

View file

@ -9,7 +9,7 @@ name: 'Linux'
branches:
- master
- '*/ci'
paths-ignore:
paths-ignore: &shared_paths
- '**/*.md'
- '.circleci/**'
- 'appveyor.*'
@ -21,15 +21,7 @@ name: 'Linux'
pull_request:
branches:
- master
paths-ignore:
- '**/*.md'
- '.circleci/**'
- 'appveyor.*'
- 'Dockerfile'
- 'packages/**'
- 'plan9/**'
- 'projects/**'
- 'winbuild/**'
paths-ignore: *shared_paths
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}