ci(platform): don't cancel in-progress runs on label events

Labeled events share the same concurrency group as synchronize events.
Without this fix, adding any label to a PR would cancel in-progress E2E
tests on the big-boi runner.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Nicholas Tindle
2026-03-31 15:22:22 +02:00
parent a87d95c1ca
commit 65d45a7706

View File

@@ -19,7 +19,7 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'merge_group' && format('merge-queue-{0}', github.ref) || github.head_ref && format('pr-{0}', github.event.pull_request.number) || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
cancel-in-progress: ${{ github.event_name == 'pull_request' && github.event.action != 'labeled' }}
defaults:
run: