Skip to content

Commit 04aa2f9

Browse files
committed
fix(automation): cancel only superseded queue scans
1 parent c289ff3 commit 04aa2f9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/pr-review-fix-scheduler.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ on:
6060

6161
concurrency:
6262
group: central-pr-review-fix-scheduler-${{ github.event.client_payload.target_repository || inputs.target_repository || vars.PR_REVIEW_FIX_TARGET_REPOSITORY || github.repository }}
63-
cancel-in-progress: false
63+
# Queue scans are short and read-only. Cancel only a superseded scan; the
64+
# separately dispatched per-PR OpenCode worker keeps non-cancelling
65+
# concurrency so a legitimate long-running RCA is not discarded.
66+
cancel-in-progress: true
6467

6568
# Keep the workflow-generated token read-only. Cross-repository mutation is
6669
# authorized only by the two explicitly forwarded established credentials or

0 commit comments

Comments
 (0)