Skip to content

Commit e60ee4b

Browse files
author
Termux User
committed
ci: skip Claude Code Review for bot PRs
Dependabot (and other bots) caused the claude-code-action to fail with 'non-human actor' error. Skip the job entirely for Bot-type PR authors. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent aec3176 commit e60ee4b

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ on:
1212

1313
jobs:
1414
claude-review:
15-
# Optional: Filter by PR author
16-
# if: |
17-
# github.event.pull_request.user.login == 'external-contributor' ||
18-
# github.event.pull_request.user.login == 'new-developer' ||
19-
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
15+
# Skip bot-authored PRs (e.g. Dependabot)
16+
if: github.event.pull_request.user.type != 'Bot'
2017

2118
runs-on: ubuntu-latest
2219
permissions:

0 commit comments

Comments
 (0)