mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
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:
2
.github/workflows/platform-fullstack-ci.yml
vendored
2
.github/workflows/platform-fullstack-ci.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user