From fa1038c354dfc3386dfca4528fe1c158e8260e6a Mon Sep 17 00:00:00 2001 From: Integer Limit <103940576+IntegerLimit@users.noreply.github.com> Date: Tue, 13 Feb 2024 16:51:52 +1100 Subject: [PATCH] Fix Test PR Build Running on `dev/` Branches (#620) [SKIP] --- .github/workflows/testbuildpack.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testbuildpack.yml b/.github/workflows/testbuildpack.yml index f04388c..aa4f03f 100644 --- a/.github/workflows/testbuildpack.yml +++ b/.github/workflows/testbuildpack.yml @@ -5,7 +5,7 @@ on: branches: - main - test_buildscript* - - dev_* + - dev/* paths-ignore: - "README.md" @@ -20,8 +20,8 @@ concurrency: jobs: build: - # Only allow runs from commits to Nomi-CEu Branches or from pull requests from Nomi-CEu repo - if: "${{ github.repository_owner == 'Nomi-CEu' && ( !github.event.pull_request || github.event.pull_request.head.repo.owner.login == 'Nomi-CEu' ) }}" + # Only allow runs from commits to Nomi-CEu Branches or from pull requests from Nomi-CEu repo without dev/ (That is handled by push) + if: "${{ github.repository_owner == 'Nomi-CEu' && ( !github.event.pull_request || ( github.event.pull_request.head.repo.owner.login == 'Nomi-CEu' && !startsWith(github.head_ref, 'dev/') ) ) }}" name: Test Build Pack uses: ./.github/workflows/buildpack.yml with: