Prevents actions from running on draft PRs

This commit is contained in:
psychedelicious 2023-01-30 22:28:05 +11:00
parent d9ed0f6005
commit c222cf7e64
5 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,7 @@ env:
jobs:
docker:
if: github.event.pull_request.draft == false
strategy:
fail-fast: false
matrix:

View File

@ -6,6 +6,7 @@ on:
jobs:
docker:
if: github.event.pull_request.draft == false
strategy:
fail-fast: false
matrix:

View File

@ -14,6 +14,7 @@ defaults:
jobs:
lint-frontend:
if: github.event.pull_request.draft == false
runs-on: ubuntu-22.04
steps:
- name: Setup Node 18

View File

@ -7,6 +7,7 @@ on:
jobs:
mkdocs-material:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: checkout sources

View File

@ -9,6 +9,7 @@ on:
jobs:
pyflakes:
name: runner / pyflakes
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2