mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-03 23:02:31 +08:00
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
This commit is contained in:
7
.github/workflows/claude-code.yml
vendored
7
.github/workflows/claude-code.yml
vendored
@@ -108,7 +108,10 @@ jobs:
|
|||||||
- Code style preferences (unless clearly wrong)
|
- Code style preferences (unless clearly wrong)
|
||||||
- Type annotations that don't affect functionality
|
- Type annotations that don't affect functionality
|
||||||
|
|
||||||
Use `mcp__github_inline_comment__create_inline_comment` for inline comments.
|
IMPORTANT:
|
||||||
Report ALL issues found - create multiple inline comments if needed. Only say "LGTM" if there are truly no issues.
|
- 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: |
|
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 comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh api:*),WebFetch(domain:ai-sdk.dev)"
|
||||||
|
|||||||
Reference in New Issue
Block a user