From d8e254a43de8c5a7283de25dd5b68444ec1f03d5 Mon Sep 17 00:00:00 2001 From: Orso Meneghini Date: Thu, 9 Jan 2025 13:50:04 -0800 Subject: [PATCH] another try to not run regressions twice for dev --- .github/workflows/runtests.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/runtests.yml b/.github/workflows/runtests.yml index f1ac489ff..83e2fcbe2 100644 --- a/.github/workflows/runtests.yml +++ b/.github/workflows/runtests.yml @@ -34,9 +34,7 @@ concurrency: jobs: test: - if: > - github.event_name == 'pull_request' || - (github.event_name == 'push' && !startsWith(github.ref, 'refs/pull/')) + if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.ref == 'dev') }} name: Julia ${{ matrix.flavor.version }} - ${{ matrix.flavor.os }} - ${{ matrix.flavor.arch }} runs-on: ${{ matrix.flavor.os }} strategy: