Use 'paths-ignore' instead of 'path' with only negative matches
This commit is contained in:
parent
39575b1248
commit
625e500132
|
@ -5,14 +5,14 @@ on:
|
|||
branches:
|
||||
- develop
|
||||
- main
|
||||
paths:
|
||||
- '!src/Sonarr.Api.*/openapi.json'
|
||||
paths-ignore:
|
||||
- 'src/Sonarr.Api.*/openapi.json'
|
||||
pull_request:
|
||||
branches:
|
||||
- develop
|
||||
paths:
|
||||
- '!src/NzbDrone.Core/Localization/Core/**'
|
||||
- '!src/Sonarr.Api.*/openapi.json'
|
||||
paths-ignore:
|
||||
- 'src/NzbDrone.Core/Localization/Core/**'
|
||||
- 'src/Sonarr.Api.*/openapi.json'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
|
|
Loading…
Reference in New Issue