Skip to content

Commit 2f0e72f

Browse files
Skip Claude review for bot PRs
1 parent 7ac1bd1 commit 2f0e72f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ on:
1111
jobs:
1212
claude-review:
1313
# Avoid duplicate runs: use pull_request for same-repo, pull_request_target for forks
14+
# Skip bot PRs (dependabot, renovate, etc.) - they don't need code review
1415
if: |
16+
github.event.pull_request.user.type != 'Bot' &&
1517
!(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) &&
1618
!(github.event_name == 'pull_request_target' && !github.event.pull_request.head.repo.fork)
1719
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)