Skip to content

Commit d38b327

Browse files
authored
Update ci to ignore draft PR (#400)
1 parent 2bff9b0 commit d38b327

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ on:
99
pull_request:
1010
branches:
1111
- master
12+
types: [opened, synchronize, reopened, ready_for_review]
1213
schedule:
1314
- cron: '0 0 * * *'
1415

1516
jobs:
1617
build:
18+
if: github.event.pull_request.draft == false
1719

1820
runs-on: ubuntu-latest
1921
strategy:
@@ -49,6 +51,7 @@ jobs:
4951
make build_pypi
5052
5153
docs:
54+
if: github.event.pull_request.draft == false
5255

5356
runs-on: ubuntu-18.04
5457

@@ -76,6 +79,7 @@ jobs:
7679
make build_latex
7780
7881
licenses:
82+
if: github.event.pull_request.draft == false
7983

8084
runs-on: ubuntu-latest
8185

0 commit comments

Comments
 (0)