From 08ad8a66cfd6849e22bccef29ba7682ee1a76da9 Mon Sep 17 00:00:00 2001 From: Joe Milazzo Date: Mon, 4 Sep 2023 09:04:20 -0700 Subject: [PATCH] Test (#2266) --- .github/workflows/build-and-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index f91ddbbea..376d34293 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -75,10 +75,10 @@ jobs: - name: Test run: dotnet test --no-restore --verbosity normal version: - name: Bump version on Develop/Canary push + name: Bump version on Develop/Canary PR (and not coming from release/) needs: [ build ] runs-on: ubuntu-latest - if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/canary') }} + if: github.event_name == 'push' && (github.event.pull_request.base.ref == 'develop' || github.event.pull_request.base.ref == 'refs/heads/canary') && !startsWith(github.event.pull_request.head.ref, 'release/') steps: - uses: actions/checkout@v3 with: