We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac60437 commit 20191b8Copy full SHA for 20191b8
1 file changed
.github/workflows/claude-code-review.yml
@@ -12,11 +12,12 @@ on:
12
13
jobs:
14
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'
+ # Only run for trusted contributors (skip external/fork PRs for security)
+ if: |
+ github.event.pull_request.author_association == 'OWNER' ||
+ github.event.pull_request.author_association == 'MEMBER' ||
+ github.event.pull_request.author_association == 'COLLABORATOR' ||
20
+ github.event.pull_request.author_association == 'CONTRIBUTOR'
21
22
runs-on: ubuntu-latest
23
permissions:
0 commit comments