Skip to content

Commit 94572e9

Browse files
committed
Skip CI for draft PRs [SKIP-CI]
1 parent 8396f7a commit 94572e9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/continuous-integration.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010

1111
jobs:
1212
continuous-integration:
13+
if: >
14+
(github.event_name != 'pull_request' || github.event.pull_request.draft == false) &&
15+
!contains(github.event.head_commit.message || '', '[SKIP-CI]') &&
16+
!contains(github.event.pull_request.title || '', '[SKIP-CI]')
1317
strategy:
1418
matrix:
1519
os:

0 commit comments

Comments
 (0)