Skip to content

Commit 676d80f

Browse files
Vitexusclaude
andcommitted
fix(claude-code-review): skip bot-authored PRs
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent aae4998 commit 676d80f

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ 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 version bumps) — nothing for
16+
# Claude to meaningfully review there, and the action refuses to run
17+
# for non-human actors unless explicitly allow-listed.
18+
if: github.event.pull_request.user.login != 'dependabot[bot]'
2019

2120
runs-on: ubuntu-latest
2221
permissions:

0 commit comments

Comments
 (0)