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: jobs:
docker: docker:
if: github.event.pull_request.draft == false
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:

View File

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

View File

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

View File

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

View File

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