From 04bfd0bc4d3155df7259fca70845f20e6fd12aa5 Mon Sep 17 00:00:00 2001 From: Max Isbey <224885523+maxisbey@users.noreply.github.com> Date: Tue, 27 Jan 2026 12:41:55 +0000 Subject: [PATCH] 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]. --- .github/workflows/claude-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 6238c5471..0097e5b68 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -9,7 +9,7 @@ jobs: claude-review: # Fork PRs don't have access to secrets or OIDC tokens, so the action # cannot authenticate. See https://github.com/anthropics/claude-code-action/issues/339 - if: github.event.pull_request.head.repo.fork == false + if: github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]' runs-on: ubuntu-latest permissions: contents: read