From d8e0a1daad7942ff7a185220e2ef7634e40dfe3a Mon Sep 17 00:00:00 2001 From: "dayuan.jiang" Date: Sat, 29 Nov 2025 12:28:53 +0900 Subject: [PATCH] fix: enforce inline comments for all issues found - Explicitly require mcp inline comment tool for each issue - Clarify gh pr comment is only for final summary - Forbid dismissing issues as minor/harmless --- .github/workflows/claude-code.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude-code.yml b/.github/workflows/claude-code.yml index 086477a..bf8e4e4 100644 --- a/.github/workflows/claude-code.yml +++ b/.github/workflows/claude-code.yml @@ -108,7 +108,10 @@ jobs: - Code style preferences (unless clearly wrong) - Type annotations that don't affect functionality - Use `mcp__github_inline_comment__create_inline_comment` for inline comments. - Report ALL issues found - create multiple inline comments if needed. Only say "LGTM" if there are truly no issues. + 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 + - 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)"