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