Skip to content

Commit 04bfd0b

Browse files
committed
ci: skip Claude code review for Dependabot PRs
Dependabot PRs fail the claude-review check because the action rejects non-human actors that aren't in the allowed_bots list. Since Dependabot PRs are automated dependency bumps, they don't need a Claude code review. Skip the job entirely when the actor is dependabot[bot].
1 parent 1b5287c commit 04bfd0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
claude-review:
1010
# Fork PRs don't have access to secrets or OIDC tokens, so the action
1111
# cannot authenticate. See https://github.com/anthropics/claude-code-action/issues/339
12-
if: github.event.pull_request.head.repo.fork == false
12+
if: github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]'
1313
runs-on: ubuntu-latest
1414
permissions:
1515
contents: read

0 commit comments

Comments
 (0)