You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restores the Claude Assistant workflow for automatic PR review and @claude interactions.\n\nValidation:\n- Ran actionlint against .github/workflows/claude.yaml\n- Confirmed anthropics/claude-code-action@v1 exposes the workflow inputs used here\n- Uses ubuntu-latest so the job is not blocked on unavailable self-hosted runners
[P2].github/workflows/claude.yaml:61 vs 82:两个步骤传递审查标准的方式不一致——Interactive 步骤经 --system-prompt(系统提示槽)传入,PR Review 步骤经 prompt: 字段(用户消息槽)内联插值。两种方式对 Claude 行为的优先级不同,可能导致 Interactive 和 PR Review 的输出格式出现细微差异。建议统一为同一种传递方式。
[P2].github/workflows/claude.yaml:88:prompt: 字段整体为中文,但第 88 行 - Only post GitHub comments - don't submit review text as messages. 为英文,风格不一致。建议改为中文:- 只通过 GitHub 评论输出结果,不要以普通消息形式回复。
anthropics/claude-code-action@v1 does not expose a native system_prompt input in action.yml, so there is no supported direct replacement for the Interactive step.
The action parses claude_args with shell-quote in base-action/src/parse-sdk-options.ts, not with naive whitespace splitting.
Its base-action/test/parse-shell-args.test.ts includes a real-world case for --system-prompt 'You are helpful' and expects the full multi-word prompt as one argument.
PR Review no longer combines prompt: with --system-prompt; only the Interactive step uses --system-prompt, because interactive @claude requests must leave prompt unset so the user comment remains the task.
So the quoted --system-prompt "${{ env.CLAUDE_REVIEW_STANDARDS }}" path is supported by the action parser, and the latest GitHub run also completed successfully.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restores the Claude Assistant workflow for automatic PR review and @claude interactions.\n\nValidation:\n- Ran actionlint against .github/workflows/claude.yaml\n- Confirmed anthropics/claude-code-action@v1 exposes the workflow inputs used here\n- Uses ubuntu-latest so the job is not blocked on unavailable self-hosted runners