From 625e500132681429061ee83774c5f6c73590e8da Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 17 Feb 2024 22:16:53 -0800 Subject: [PATCH] Use 'paths-ignore' instead of 'path' with only negative matches --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e608bed69..9e7e4c836 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}