Add checks/statuses read permissions to Claude workflow#210
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
WalkthroughGitHub Actions workflow configuration updated to extend Claude's CI access by adding read permissions for checks and statuses, and introducing a github_token input to the claude-code-action step. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
✨ 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 workflowThis is a clean, well-scoped workflow-only change. Here is the assessment: Correctness
Security
Minor observation (non-blocking) Overall: LGTM. The change is minimal, accurate, and appropriately low-risk. |
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 expands GitHub token permissions to read
checks/statuses, which could expose additional CI metadata if misused but does not affect application runtime.Overview
Updates the
Claude CodeGitHub Actions workflow to let the Claude action read CI results by addingchecks: readandstatuses: readto the job permissions and to the action’sadditional_permissions.Also passes
github_token: ${{ github.token }}intoanthropics/claude-code-action@v1so it can authenticate with these permissions when running.Written by Cursor Bugbot for commit 73e31d7. Configure here.
Summary by CodeRabbit