Repository navigation
ci: add Claude Code automated PR review workflow - #1344
Conversation
Adds a GitHub Actions workflow that runs an automated Claude code review on pull requests. Known contributors are reviewed automatically, while first-time contributor PRs require a maintainer to opt in by commenting /claude-review, preventing token-budget abuse from throwaway accounts.
|
Tick the box to add this pull request to the merge queue (same as
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds a GitHub Actions workflow that runs Claude reviews for eligible pull request events or authorized ChangesClaude Code Review Automation
Estimated code review effort: 3 (Moderate) | ~20 minutes Suggested reviewers: 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 |
|
🚀 Deployed on https://6a5b9fb699b7869bb454c55a--opengeos.netlify.app |
Summary
/claude-review, preventing token-budget abuse from throwaway accounts.pull_request_targetwith a read-only checkout (persist-credentials: false, no dependency install, no code execution) and a restricted tool allowlist so untrusted fork code is never run with elevated credentials.Test plan
check yamlpre-commit hook (verified locally)/claude-reviewas a maintainer on a first-time contributor PR and confirm the review triggers/claude-reviewcomment does not trigger a runSummary by CodeRabbit
/claude-reviewcommand.