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:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
- main
|
- main
|
||||||
paths:
|
paths-ignore:
|
||||||
- '!src/Sonarr.Api.*/openapi.json'
|
- 'src/Sonarr.Api.*/openapi.json'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
paths:
|
paths-ignore:
|
||||||
- '!src/NzbDrone.Core/Localization/Core/**'
|
- 'src/NzbDrone.Core/Localization/Core/**'
|
||||||
- '!src/Sonarr.Api.*/openapi.json'
|
- 'src/Sonarr.Api.*/openapi.json'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
|
Loading…
Reference in New Issue