Skip to content

Commit b86aeba

Browse files
Gkrumbach07claude
andauthored
fix: allow bot actors in amber auto-review workflow (#812)
## Summary - Adds `allowed_bots: '*'` to the `anthropics/claude-code-action@v1` step so the amber code review runs on PRs opened by bots (dependabot, renovate, etc.) - Previously the workflow would fail with: `Action failed with error: Workflow initiated by non-human actor: dependabot (type: Bot)` ## Test plan - [ ] Open or sync a dependabot PR and verify the amber-review job completes successfully instead of failing 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent 605dd61 commit b86aeba

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/amber-auto-review.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
9494
github_token: ${{ secrets.GITHUB_TOKEN }}
9595
allowed_non_write_users: '*'
96+
allowed_bots: 'dependabot[bot],github-actions[bot]'
9697
claude_args: |
9798
--allowedTools "Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh issue list:*)"
9899
prompt: |

0 commit comments

Comments
 (0)