Setup Claude PR review (#2023)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> Introduces automated AI code reviews via Claude for selected
contributors.
>
> - Adds `.github/workflows/claude-pr-review.yml` triggered on
`pull_request` events (`opened`, `synchronize`, `ready_for_review`,
`reopened`)
> - Uses `anthropics/claude-code-action@v1` with `track_progress: true`,
a detailed custom `prompt`, and `claude_args` specifying model and
allowed tools
> - Filters execution to specific PR authors (`wwwillchen`,
`azizmejri1`, `princeaden1`) to control cost
> - Configures required permissions and a shallow `actions/checkout@v5`
step
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
9ec53fd108626e1be4b7c385acead8a2de526c13. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Adds a GitHub Actions workflow to run automated PR reviews with progress
tracking and inline comments. Triggered on PR events and limited to
specific contributors to manage cost.
- **Migration**
- Add repository secret: ANTHROPIC_API_KEY.
- Adjust allowed author list or review prompt if needed.
<sup>Written for commit 9ec53fd108626e1be4b7c385acead8a2de526c13.
Summary will update automatically on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
正在显示
请
注册
或者
登录
后发表评论