Skip to content

Commit cf2605d

Browse files
committed
update GH action to skip draft prs
1 parent 3ef5ca7 commit cf2605d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/review.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
jobs:
99
review:
10+
# Skip draft PRs unless manually triggered
11+
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
1012
runs-on: ubuntu-latest
1113

1214
# Ensure only one review runs per PR

0 commit comments

Comments
 (0)