fix: integration tests not triggering on PR open (#2985)

# What does this PR do?

I realized that when a new PR is opened, the integration tests aren't
triggering (or aren't always?) since the replay logic was introduced

amend the concurrency logic a bit to trigger  on opened PRs

---------

Signed-off-by: Charlie Doern <cdoern@redhat.com>
Co-authored-by: Ashwin Bharambe <ashwin.bharambe@gmail.com>
This commit is contained in:
Charlie Doern 2025-07-31 14:36:44 -04:00 committed by GitHub
parent b41d696e4f
commit 709c974bd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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