From 9078c85a290f5edf2575336c76536962854aba22 Mon Sep 17 00:00:00 2001 From: frankbria Date: Sat, 18 Jul 2026 21:41:34 -0700 Subject: [PATCH] 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. --- .github/workflows/claude-code-review.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index cb20f04f..76cc8934 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -46,6 +46,9 @@ jobs: uses: anthropics/claude-code-action@558b1d6cab4085c7753fe402c10bef0fbb92ac7a # v1 with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + # Allow Dependabot PRs to be reviewed (default policy rejects bot actors + # and fails the check on every dependency PR). + allowed_bots: "dependabot[bot]" prompt: | REPO: ${{ github.repository }} PR NUMBER: ${{ github.event.pull_request.number }}