Skip to content

Commit 33a21ae

Browse files
authored
ci(claude-review): allow dependabot PRs in Claude Code Review (#870)
## Summary - Add `allowed_bots: "dependabot[bot]"` to the anthropics/claude-code-action step so Dependabot dependency PRs get reviewed instead of failing the `claude-review` check on the default non-human-actor rejection. - Scoped to `dependabot[bot]` only (not `*`); job permissions stay read-only (contents/pull-requests/issues: read). ## Validation - Cross-family review: opencode (zai/glm-5.2) — APPROVE, no Critical/Major findings - Correctness: `allowed_bots` verified as a real input in the pinned action's action.yml (SHA 558b1d6); YAML valid; value is the correct Dependabot actor login - CI: all checks green (GitGuardian, Backend/Frontend units, E2E smoke, Lint/Type) - Feedback triage: 3 findings, all Suggestion/Nitpick — tracked as a follow-up issue Refs failed run on #868.
1 parent b521d71 commit 33a21ae

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)