Skip to content

Commit 8351cb2

Browse files
committed
claude won't review itself
1 parent af48cd0 commit 8351cb2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ on:
1313
jobs:
1414
claude-review:
1515
if: |
16-
!contains(github.event.pull_request.head.commit.author.name, 'Claude') &&
17-
!contains(github.event.pull_request.head.commit.author.email, 'noreply@anthropic.com') &&
16+
github.actor != 'github-actions[bot]' &&
17+
github.actor != 'claude-code[bot]' &&
18+
github.actor != 'claude[bot]' &&
19+
github.actor != 'claude' &&
1820
github.event.pull_request.head.commit.parents[1] == null
1921
2022
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)