refactor(ci): Improve claude-code-action workflows#996
Conversation
- Migrate PR review prompt to slash command format (.agents/commands/git/pr-review.md) - Fix CLI argument from --allowed-tools to --allowedTools (correct camelCase format) - Change pull-requests permission from read to write for PR comments - Update documentation URL to code.claude.com
WalkthroughThis PR updates GitHub Actions workflows and code review guidance. It expands the PR review prompt into a structured guide with metadata and workflow steps, updates workflow permissions, simplifies Claude model arguments, and standardizes tool parameter naming conventions across workflows. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Possibly related PRs
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
🧰 Additional context used🪛 LanguageTool.agents/commands/git/pr-review.md[uncategorized] ~26-~26: The official name of this software platform is spelled with a capital “H”. (GITHUB) ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
🔇 Additional comments (7)
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 |
Summary of ChangesHello @yamadashy, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request refactors the Highlights
Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #996 +/- ##
=======================================
Coverage 90.38% 90.38%
=======================================
Files 110 110
Lines 7890 7890
Branches 1528 1528
=======================================
Hits 7131 7131
Misses 759 759 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Code Review
This pull request significantly improves the claude-code-action workflow configuration. Migrating the PR review prompt to a structured slash command format with detailed instructions and frontmatter is an excellent change that enhances maintainability and should improve the quality of AI-generated reviews. The other changes mentioned in the description, such as fixing the CLI argument casing and updating permissions, are also valuable improvements. I have one suggestion on the new prompt file to further improve the readability of the configuration.
| @@ -1,5 +1,29 @@ | |||
| Please review the provided PR. | |||
| --- | |||
| allowed-tools: mcp__github_inline_comment__create_inline_comment,Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*) | |||
There was a problem hiding this comment.
For better readability and maintainability of the allowed-tools list in the frontmatter, consider using the YAML list format instead of a single comma-separated string. This makes it easier to add, remove, or view individual tools.
| allowed-tools: mcp__github_inline_comment__create_inline_comment,Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*) | |
| allowed-tools: | |
| - mcp__github_inline_comment__create_inline_comment | |
| - Bash(gh issue view:*) | |
| - Bash(gh search:*) | |
| - Bash(gh issue list:*) | |
| - Bash(gh pr comment:*) | |
| - Bash(gh pr diff:*) | |
| - Bash(gh pr view:*) | |
| - Bash(gh pr list:*) |
Improve claude-code-action workflow configurations based on latest documentation.
Changes
.agents/commands/git/pr-review.md)/git:pr-reviewcommandallowed-toolsin frontmatter for better maintainability--allowed-toolsto--allowedTools(correct camelCase format)pull-requestspermission fromreadtowritefor posting commentscode.claude.comChecklist
npm run test(N/A - CI config changes only)npm run lint(N/A - CI config changes only)