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:
lint:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
@@ -32,6 +34,7 @@ jobs:
run: pylint -j 0 superset
pre-commit:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
@@ -54,6 +57,7 @@ jobs:
run: pre-commit run --all-files
babel-extract:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix: