Enhance workflow with local bin setup and tool updates#1263
Enhance workflow with local bin setup and tool updates#1263sbryngelson merged 1 commit intomasterfrom
Conversation
Added a step to ensure ~/.local/bin exists and is on PATH. Updated allowed tools for Claude Code Review.
|
CodeAnt AI is reviewing your PR. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
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 |
|
CodeAnt AI finished reviewing your PR. |
There was a problem hiding this comment.
Pull request overview
Updates the Claude Code Review GitHub Action workflow to better support tools installed in ~/.local/bin and to adjust Claude’s allowed tool list and output verbosity.
Changes:
- Add a workflow step to create
~/.local/binand append it toGITHUB_PATH. - Broaden Claude’s
--allowedToolsentries (notablyghandcat). - Enable
show_full_outputfor the code review action.
| plugin_marketplaces: "https://github.com/anthropics/claude-code.git" | ||
| plugins: "code-review@claude-code-plugins" | ||
|
|
||
| show_full_output: true |
There was a problem hiding this comment.
show_full_output: true can increase the risk of leaking sensitive information into GitHub Actions logs (e.g., tool output that includes tokens, headers, or other secrets). Consider keeping this off by default, gating it behind an input/conditional (e.g., only for trusted branches), or ensuring the action reliably redacts secrets in full output.
| show_full_output: true | |
| show_full_output: false |
| claude_args: > | ||
| --dangerously-skip-permissions | ||
| --max-turns 60 | ||
| --allowedTools | ||
| "Bash(gh pr view:*)" | ||
| "Bash(gh pr diff:*)" | ||
| "Bash(gh pr comment:*)" | ||
| "Bash(gh api:*)" | ||
| "Bash(cat CLAUDE.md:*)" | ||
| "Bash(cat .claude/rules/*:*)" | ||
| "Bash(gh:*)" | ||
| "Bash(cat:*)" |
There was a problem hiding this comment.
The change from narrowly-scoped tool patterns (e.g., gh pr view:*, cat CLAUDE.md:*) to broad patterns (Bash(gh:*), Bash(cat:*)) significantly expands what the workflow allows Claude to execute/read. This increases blast radius (arbitrary gh operations and reading arbitrary files). Prefer restoring least-privilege by enumerating only the required gh subcommands and restricting cat to specific paths/files needed for review.
User description
Added a step to ensure ~/.local/bin exists and is on PATH. Updated allowed tools for Claude Code Review.
Description
Summarize your changes and the motivation behind them.
Fixes #(issue)
Type of change
Testing
How did you test your changes?
Checklist
See the developer guide for full coding standards.
GPU changes (expand if you modified
src/simulation/)CodeAnt-AI Description
Add local bin setup and broaden/clarify Claude Code Review capabilities
What Changed
Impact
✅ Fewer CI failures due to missing ~/.local/bin✅ Clearer code-review logs for faster debugging✅ Broader repository inspection during automated reviews💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.