diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 472904bb2..d30ccbe71 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -40,11 +40,9 @@ concurrency: # The "no-run" group ensures that irrelevant label events don't interfere with the real workflows. group: >- ${{ github.workflow }}-${{ github.ref }}-${{ - (github.event.action == 'opened' || - github.event.action == 'synchronize' || - (github.event.action == 'labeled' && contains(github.event.pull_request.labels.*.name, 're-record-tests'))) && - (contains(github.event.pull_request.labels.*.name, 're-record-tests') && 'rerecord' || 'replay') || - 'no-run' + ((github.event.action == 'opened' || github.event.action == 'synchronize') && 'replay') || + ((github.event.action == 'labeled' && contains(github.event.pull_request.labels.*.name, 're-record-tests')) && 'rerecord' || + 'no-run') }} cancel-in-progress: true