Skip to content

Update Claude Code GitHub workflows - #1

Merged
zuoang25 merged 2 commits into
mainfrom
add-claude-github-actions-1788555657395
Sep 4, 2026
Merged

Update Claude Code GitHub workflows#1
zuoang25 merged 2 commits into
mainfrom
add-claude-github-actions-1788555657395

Conversation

@zuoang25

@zuoang25 zuoang25 commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Updates from the Claude Code GitHub app setup:

  • claude-code-review.yml: run the review with --comment so findings post as inline PR comments, and allow the inline-comment MCP tool via claude_args.
  • claude.yml: fix the commented-out --allowed-tools example syntax.

🤖 Generated with Claude Code

https://claude.ai/code/session_013mYnXRRs3eAQai6LUtnAMo

Copilot AI lite review requested due to automatic review settings September 4, 2026 21:03
@zuoang25
zuoang25 merged commit 1110df9 into main Sep 4, 2026
2 checks passed
@zuoang25
zuoang25 deleted the add-claude-github-actions-1788555657395 branch September 4, 2026 21:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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-review with --comment.
  • Add claude_args to allow the inline-comment MCP tool in the review workflow.
  • Fix the commented --allowed-tools example 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"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants