Use 'paths-ignore' instead of 'path' with only negative matches

pull/6514/head
Mark McDowall 3 months ago committed by Mark McDowall
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…
Cancel
Save