[AMD] Update AMD CI workflow concurrency group (#24065)
Co-authored-by: bingxche <bingxche@amd.com>
This commit is contained in:
co-authored by
bingxche
parent
e5c2a9b6cf
commit
155e333039
@@ -96,10 +96,10 @@ env:
|
||||
DOCKERHUB_AMD_TOKEN: ${{ secrets.DOCKERHUB_AMD_TOKEN }}
|
||||
|
||||
concurrency:
|
||||
# Scheduled and run_all_tests runs get unique groups (never cancel each other).
|
||||
# Scheduled, run_all_tests, and manual dispatch runs get unique groups (never cancel each other).
|
||||
# PR runs share a group per branch so new pushes cancel stale runs.
|
||||
group: pr-test-amd-${{ (inputs.run_all_tests || github.event_name == 'schedule') && format('full-{0}', github.run_id) || inputs.pr_head_sha || inputs.ref || github.ref }}
|
||||
cancel-in-progress: ${{ !inputs.run_all_tests && github.event_name != 'workflow_call' && github.event_name != 'schedule' }}
|
||||
group: pr-test-amd-${{ (inputs.run_all_tests || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && format('full-{0}', github.run_id) || inputs.pr_head_sha || inputs.ref || github.ref }}
|
||||
cancel-in-progress: ${{ !inputs.run_all_tests && github.event_name != 'workflow_call' && github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' }}
|
||||
|
||||
jobs:
|
||||
call-gate:
|
||||
|
||||
Reference in New Issue
Block a user