Skip to content

Commit dc1ed5d

Browse files
marklyszerandombet
authored andcommitted
Disable Claude code review on Draft PRs (#2147)
1 parent 1333f94 commit dc1ed5d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ on:
1212

1313
jobs:
1414
claude-review:
15+
# Skip draft PRs
16+
if: github.event.pull_request.draft == false
17+
1518
# Optional: Filter by PR author
1619
# if: |
17-
# github.event.pull_request.user.login == 'external-contributor' ||
20+
# github.event.pull_request.draft == false &&
21+
# (github.event.pull_request.user.login == 'external-contributor' ||
1822
# github.event.pull_request.user.login == 'new-developer' ||
19-
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
23+
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR')
2024

2125
runs-on: ubuntu-latest
2226
permissions:

0 commit comments

Comments
 (0)