[AMD] Update AMD CI workflow concurrency group (#24065)

Co-authored-by: bingxche <bingxche@amd.com>
This commit is contained in:
YC Yen-Ching Tseng
2026-04-29 22:39:18 +08:00
committed by GitHub
co-authored by bingxche
parent e5c2a9b6cf
commit 155e333039
4 changed files with 12 additions and 9 deletions
+3 -3
View File
@@ -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: