Skip to content

Commit 36559e9

Browse files
Pass inline comment tool via claude_args --allowedTools
The MCP inline comment server is only registered when the action detects the tool in claude_args --allowedTools. Pass it there instead of only in settings.permissions.allow. Co-authored-by: Isaac
1 parent 832a975 commit 36559e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/claude-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
For specific code issues, use the mcp__github_inline_comment__create_inline_comment tool to post inline comments on the relevant lines of the diff. Always set confirmed: true. For each inline comment, be specific about the issue and suggest a fix if possible.
109109
110110
After posting inline comments, write a brief summary to a temporary file and post it with: pr-comment --body-file <path>. If you have no issues to raise, just post a short comment saying the PR looks good.
111-
claude_args: "--max-turns 100"
111+
claude_args: '--max-turns 100 --allowedTools "mcp__github_inline_comment__create_inline_comment"'
112112
trigger_phrase: "@claude"
113113
settings: ${{ steps.config.outputs.settings }}
114114
show_full_output: true

0 commit comments

Comments
 (0)