Commit 31ea88a
fix(claude-fix-review-comments): add allowedTools, fix pagination, guard empty commit
- Add claude_args with --allowedTools covering gh pr checkout, gh pr
view, gh pr comment, gh pr checks, gh run view/list/watch, gh api,
git operations, Edit, and Write — required for every command the
prompt issues; without this Claude refuses all Bash tool calls and
the automation silently fails.
- Bump reviewThreads(first:100) → first:250 (GraphQL max) so threads
beyond 100 are not silently dropped on large PRs.
- Guard the commit with git diff --cached --quiet to avoid a non-zero
exit when there are no staged changes (all threads needed human
input); configure git identity beforehand so commits don't fail on
unconfigured runners.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent ef225ac commit 31ea88a
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| |||
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
102 | | - | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
| 117 | + | |
| 118 | + | |
113 | 119 | | |
114 | | - | |
| 120 | + | |
115 | 121 | | |
116 | 122 | | |
| 123 | + | |
117 | 124 | | |
118 | 125 | | |
119 | 126 | | |
| |||
0 commit comments