Skip to content

Commit 4b372c1

Browse files
authored
chore(ci): do not run GHA on draft PR
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 04bbc56 commit 4b372c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
pull_request:
1414
branches:
1515
- main
16+
types: [opened, synchronize, reopened, ready_for_review]
1617
merge_group:
1718

1819
defaults:
@@ -31,6 +32,7 @@ env:
3132
jobs:
3233
build:
3334
name: Build on ${{ matrix.os }}
35+
if: github.event.pull_request.draft == fals
3436
runs-on: ${{ matrix.os }}
3537

3638
strategy:

0 commit comments

Comments
 (0)