diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88ab234..4a49a57 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,10 @@ on: jobs: cleanup-runs: name: Clean-Up Running Instances - if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'" + if: > + github.event.pull_request.draft == false && + !startsWith(github.ref, 'refs/tags/') && + github.ref != 'refs/heads/master' runs-on: ubuntu-latest steps: - uses: rokroskar/workflow-run-cleanup-action@master diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml index d53adcb..4d8a80e 100644 --- a/.github/workflows/spell-check.yml +++ b/.github/workflows/spell-check.yml @@ -11,6 +11,7 @@ on: jobs: spellcheck: name: Spellcheck with Typo CI + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.5