mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-12 04:50:39 +00:00
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:
parent
b41d696e4f
commit
709c974bd8
1 changed files with 3 additions and 5 deletions
8
.github/workflows/integration-tests.yml
vendored
8
.github/workflows/integration-tests.yml
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue