Skip to content

Commit 20191b8

Browse files
committed
Allow Claude Code Review running for more people.
1 parent ac60437 commit 20191b8

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ 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+
# Only run for trusted contributors (skip external/fork PRs for security)
16+
if: |
17+
github.event.pull_request.author_association == 'OWNER' ||
18+
github.event.pull_request.author_association == 'MEMBER' ||
19+
github.event.pull_request.author_association == 'COLLABORATOR' ||
20+
github.event.pull_request.author_association == 'CONTRIBUTOR'
2021
2122
runs-on: ubuntu-latest
2223
permissions:

0 commit comments

Comments
 (0)