Add checks/statuses read permissions to Claude workflow#32
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 |
PR Review: Add checks/statuses read permissions to Claude workflowThe change is clean, minimal, and correctly scoped. A few observations: What's Good
Minor Observations
Security AssessmentLow risk. All new permissions are read-only and scoped to CI metadata. No write permissions were added. The change appropriately mirrors an established pattern from shakacode/react_on_rails#2487. |
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 permissions for the Claude job to read CI check/status metadata.
Overview
Updates the
Claude CodeGitHub Actions workflow to let theanthropics/claude-code-actionread PR CI results by addingchecks: readandstatuses: readpermissions.Also passes
github_token: ${{ github.token }}into the action and mirrors the same permissions underadditional_permissionsso the action can query check runs/statuses.Written by Cursor Bugbot for commit a12f31e. Configure here.