mirror of
https://github.com/curl/curl.git
synced 2026-06-08 18:14:17 +03:00
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:
parent
ffafec8ffa
commit
6b916abebe
3 changed files with 6 additions and 30 deletions
12
.github/workflows/linux.yml
vendored
12
.github/workflows/linux.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue