fix: remove gh pr comment from allowed tools to force inline comments only

This commit is contained in:
dayuan.jiang
2025-11-29 12:38:35 +09:00

View File

@@ -109,9 +109,8 @@ jobs:
- Type annotations that don't affect functionality
IMPORTANT:
- For EACH issue, you MUST use `mcp__github_inline_comment__create_inline_comment` to comment on the specific line
- Do NOT use `gh pr comment` for reporting issues - that's only for the final summary
- For EACH issue, use `mcp__github_inline_comment__create_inline_comment` to comment on the specific line
- Do NOT dismiss issues as "minor" or "harmless" - if you notice something, report it
- Only say "LGTM" if there are truly ZERO issues
claude_args: |
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh api:*),WebFetch(domain:ai-sdk.dev)"
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh api:*),WebFetch(domain:ai-sdk.dev)"