Unverified 提交 5fe05aea authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Cancel previous claude-pr-review runs on new push (#2307)

## Summary - Adds concurrency block to the claude-pr-review workflow - When a new push is made to a PR, any in-progress review workflow for that PR is automatically cancelled - Avoids wasting resources reviewing outdated code ## Test plan - [ ] Push multiple commits in quick succession to a PR and verify only the latest run completes #skip-bugbot <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Add GitHub Actions concurrency to the claude-pr-review workflow so only the latest run per PR executes. New pushes automatically cancel any in-progress review, avoiding outdated reviews and saving CI resources. <sup>Written for commit 8a0a3d25f25657ed9fc34580b7cb51feb43a2c9c. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> Co-authored-by: 's avatarClaude Opus 4.5 <noreply@anthropic.com>
上级 3ed561a2
...@@ -6,6 +6,10 @@ on: ...@@ -6,6 +6,10 @@ on:
pull_request_target: pull_request_target:
types: [opened, synchronize, ready_for_review, reopened] types: [opened, synchronize, ready_for_review, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs: jobs:
claude-review: claude-review:
# Has Anthropic API key, etc. # Has Anthropic API key, etc.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论