Skip to content
Permalink
Browse files
ci(ci): do not run clean-up on draft prs
  • Loading branch information
Fdawgs committed Nov 9, 2021
1 parent f4705c2 commit f0105cfc185cc2c83f03e987e209bc56e9957c50
Showing with 4 additions and 1 deletion.
  1. +4 −1 .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

0 comments on commit f0105cf

Please sign in to comment.