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

This commit is contained in:
Mark McDowall 2024-02-17 22:16:53 -08:00 committed by Mark McDowall
parent 39575b1248
commit 625e500132
1 changed files with 5 additions and 5 deletions

View File

@ -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 }}