ci(workflow): add concurrency blocks to prevent duplicate runs (#135)
Add concurrency control to all review workflows: - opencode-review.yml: Cancel in-progress for same PR - claude-code-review.yml: Cancel in-progress for same PR - claude.yml: Cancel in-progress for same issue/PR This prevents duplicate reviews when PRs are updated rapidly or multiple comments are posted in quick succession. Co-authored-by: Test User <test@example.com>
This commit is contained in:
parent
7df4750f22
commit
0bd260df68
3 changed files with 15 additions and 0 deletions
5
.github/workflows/claude.yml
vendored
5
.github/workflows/claude.yml
vendored
|
|
@ -10,6 +10,11 @@ on:
|
|||
pull_request_review:
|
||||
types: [submitted]
|
||||
|
||||
# Cancel in-progress runs for the same issue/PR to avoid duplicate responses
|
||||
concurrency:
|
||||
group: claude-${{ github.event.issue.number || github.event.pull_request.number }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
claude:
|
||||
if: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue