Add checks/statuses read permissions to Claude workflow#934
Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR adds read-only GitHub permissions to the Claude Code workflow to enable reading CI check runs and commit statuses. The changes are minimal and safe:
All added permissions are read-only, following the principle of least privilege. The configuration is syntactically correct and consistent across both permission blocks. Confidence Score: 5/5
Important Files Changed
Last reviewed commit: fe68ac8 |
PR ReviewStatus: LGTM — This is a minimal, low-risk workflow configuration change. What the change does
Notes
|
Applies the workflow update from shakacode/react_on_rails#2487:
checks: readandstatuses: readto job permissionsgithub_token: ${{ github.token }}toanthropics/claude-code-actionchecks: readandstatuses: readtoadditional_permissionsAdmin merge requested to keep rollout fast across repos.
Note
Low Risk
Low risk workflow configuration change that only broadens the Claude job’s read-only GitHub permissions and passes the default
github.tokento the action. Main risk is unintended exposure of additional CI metadata to the action, not code/runtime behavior changes.Overview
Updates the
Claude CodeGitHub Actions workflow to letanthropics/claude-code-actionread CI check runs and commit statuses.The job now includes
checks: readandstatuses: readin both workflowpermissionsand the action’sadditional_permissions, and passesgithub_token: ${{ github.token }}to the action for authenticated GitHub API access.Written by Cursor Bugbot for commit fe68ac8. Configure here.