Update Claude Code GitHub workflows - #1
Merged
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The new claude_args flag spelling (--allowedTools) is inconsistent with the repo’s existing --allowed-tools usage and may be ignored or break the workflow run.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Updates the repository’s Claude Code GitHub Actions workflows to better support automated PR reviews by enabling inline PR commenting and correcting example configuration syntax.
Changes:
- Adjust the Claude Code Review workflow prompt to run
/code-reviewwith--comment. - Add
claude_argsto allow the inline-comment MCP tool in the review workflow. - Fix the commented
--allowed-toolsexample syntax in the general Claude workflow.
File summaries
| File | Description |
|---|---|
| .github/workflows/claude.yml | Updates the commented claude_args example for --allowed-tools usage. |
| .github/workflows/claude-code-review.yml | Enables --comment for inline findings and adds claude_args to allow an inline-comment MCP tool. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| plugins: 'code-review@claude-code-plugins' | ||
| prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}' | ||
| prompt: '/code-review:code-review --comment ${{ github.repository }}/pull/${{ github.event.pull_request.number }}' | ||
| claude_args: '--allowedTools "mcp__github_inline_comment__create_inline_comment"' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates from the Claude Code GitHub app setup:
claude-code-review.yml: run the review with--commentso findings post as inline PR comments, and allow the inline-comment MCP tool viaclaude_args.claude.yml: fix the commented-out--allowed-toolsexample syntax.🤖 Generated with Claude Code
https://claude.ai/code/session_013mYnXRRs3eAQai6LUtnAMo