Skip to content

Commit e8537c7

Browse files
committed
ci(claude-review): allow dependabot PRs in Claude Code Review
The claude-code-action rejects bot actors by default, failing the claude-review check on every Dependabot PR with: Workflow initiated by non-human actor: dependabot (type: Bot). Add bot to allowed_bots list or use '*' to allow all bots. Add allowed_bots: "dependabot[bot]" so dependency PRs get reviewed instead of showing a spurious red check.
1 parent f61476b commit e8537c7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ jobs:
4646
uses: anthropics/claude-code-action@558b1d6cab4085c7753fe402c10bef0fbb92ac7a # v1
4747
with:
4848
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
49+
# Allow Dependabot PRs to be reviewed (default policy rejects bot actors
50+
# and fails the check on every dependency PR).
51+
allowed_bots: "dependabot[bot]"
4952
prompt: |
5053
REPO: ${{ github.repository }}
5154
PR NUMBER: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)