From 5815228e374626f584f058dbd7cdce68ee6bd5ba Mon Sep 17 00:00:00 2001 From: Jory Irving Date: Sat, 13 Jun 2026 12:43:10 -0600 Subject: [PATCH] fix(ci): isolate labeled events from cancel-in-progress concurrency Auto-applied labels at PR creation no longer cancel the in-flight opened review (companion to home-ops#7512 / the v1.2.9 label rollout). Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ai-pr-review.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ai-pr-review.yaml b/.github/workflows/ai-pr-review.yaml index 720e47a..67f7411 100644 --- a/.github/workflows/ai-pr-review.yaml +++ b/.github/workflows/ai-pr-review.yaml @@ -9,7 +9,9 @@ on: workflow_dispatch: concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + # `labeled` events get their own group so an auto-applied label (Renovate + # adds several at PR creation) can't cancel the in-flight opened review. + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}${{ github.event.action == 'labeled' && format('-label-{0}', github.run_id) || '' }} cancel-in-progress: true permissions: