Commit c04d7f9
fix: enable Claude code review bot to approve clean PRs (#370)
* fix: enable Claude code review bot to approve clean PRs
Add Step 6 to the review workflow prompt instructing Claude to approve
PRs when no issues are found. Also add `gh pr review` to the allowed
tools list so the bot can actually run the approval command.
Tested on ninja-shreyash/cherrypick-test#22 — bot successfully approved
a clean PR with state APPROVED.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: post approval message
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent bfa8eca commit c04d7f9
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
140 | 147 | | |
141 | 148 | | |
142 | 149 | | |
| |||
0 commit comments