Skip to content

Commit d684b7a

Browse files
phernandezclaude
andcommitted
fix: remove claude_args from code review workflow
The claude_args parameter triggers an AJV schema validation crash in the Agent SDK during initialization, causing the review action to exit with code 1 before making any API calls. See: anthropics/claude-code-action#892 The action's default tool access is sufficient for read-only code review. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>
1 parent 7c8842e commit d684b7a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

.github/workflows/claude-code-review.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,3 @@ jobs:
7878
- [ ] Avoid using emojis and unicode characters in console and log output
7979
8080
Read the CLAUDE.md file for detailed project context. For each checklist item, verify if it's satisfied and comment on any that need attention. Use inline comments for specific code issues and post a summary with checklist results.
81-
82-
# Allow broader tool access for thorough code review
83-
claude_args: '--allowed-tools "Bash(gh pr:*),Bash(gh issue:*),Bash(gh api:*),Bash(git log:*),Bash(git show:*),Read,Grep,Glob"'

0 commit comments

Comments
 (0)