mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 14:22:28 +08:00
Check previous comments and mark resolved if fixed
This commit is contained in:
9
.github/workflows/claude-code.yml
vendored
9
.github/workflows/claude-code.yml
vendored
@@ -76,6 +76,13 @@ jobs:
|
||||
- Vercel AI SDK (streamText, useChat, tool calling)
|
||||
- Multiple AI providers: Bedrock, Anthropic, OpenAI, Google, Azure, OpenRouter, Ollama
|
||||
|
||||
First, check previous review comments from github-actions bot using `gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/comments`.
|
||||
For each previous comment:
|
||||
- If the issue is fixed in the current code, reply "Resolved ✓" to that comment
|
||||
- If the issue still exists, leave it alone
|
||||
|
||||
Then review the current diff for NEW issues only:
|
||||
|
||||
Review this PR for ONLY these issues:
|
||||
1. Bugs that would cause runtime errors or broken functionality
|
||||
2. Security issues (exposed secrets, API key leaks)
|
||||
@@ -100,4 +107,4 @@ jobs:
|
||||
Use `mcp__github_inline_comment__create_inline_comment` for inline comments.
|
||||
Be very selective - if there are no real bugs, just say "LGTM" in a PR comment.
|
||||
claude_args: |
|
||||
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),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