Skip to content

Commit d31212d

Browse files
committed
No github action on Draft PR.
1 parent fbc9f75 commit d31212d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ name: Maven
66
on:
77
pull_request:
88
branches: [ "master" ]
9+
types: [synchronize, opened, reopened, ready_for_review]
910

1011
jobs:
1112
build:
@@ -14,6 +15,7 @@ jobs:
1415
pull-requests: write
1516

1617
name : Code Check
18+
if: github.event.pull_request.draft == false
1719
runs-on: ubuntu-latest
1820

1921
steps:

0 commit comments

Comments
 (0)