Add checks/statuses read permissions to Claude workflow#27
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 |
|
Review: Add checks/statuses read permissions to Claude workflow. This is a minimal, well-scoped change. The new permissions (checks: read, statuses: read) are read-only, following least privilege. Adding github_token makes the token flow explicit. The permissions appear at both job level and in additional_permissions, mirroring the existing actions: read pattern. One pre-existing observation: the job only grants read access to pull-requests and issues - if Claude needs to post comments it may need write access, though the action may route writes through the Claude OAuth token. Overall: low-risk, correct change with no security concerns. |
Greptile SummaryAdds read-only permissions (
These are read-only permissions with no security concerns. The change follows the pattern from react_on_rails#2487 and enables Claude to provide better context-aware assistance by accessing CI results. Confidence Score: 5/5
Important Files Changed
Last reviewed commit: 98e8143 |
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-only change that broadens the GitHub token’s read permissions (checks/statuses) so the Claude action can query CI results.
Overview
Updates the
Claude CodeGitHub Actions workflow to allow Claude to read CI check/status information.Adds
checks: readandstatuses: readto the job permissions andadditional_permissions, and passesgithub_token: ${{ github.token }}intoanthropics/claude-code-action@v1so it can access those GitHub APIs.Written by Cursor Bugbot for commit 98e8143. Configure here.