chore: skip CI on draft PR (#12666)

This commit is contained in:
Amit Miran
2021-01-22 02:10:17 +02:00
committed by GitHub
parent 6280b34483
commit d80c2ed72a
7 changed files with 21 additions and 2 deletions

View File

@@ -6,9 +6,11 @@ on:
branches-ignore:
- "dependabot/npm_and_yarn/**"
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
jobs:
test-mysql:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
@@ -55,6 +57,7 @@ jobs:
bash <(curl -s https://codecov.io/bash) -cF python
test-postgres:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
@@ -102,6 +105,7 @@ jobs:
bash <(curl -s https://codecov.io/bash) -cF python
test-sqlite:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix: