Skip to content

Commit

Permalink
ci: add cleanup-run job
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Apr 6, 2021
1 parent e55e36a commit 37eda95
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ on:
- "*.md"

jobs:
cleanup-runs:
name: Clean-Up Running Instances
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"
runs-on: ubuntu-latest
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

lint:
name: Lint Code
if: github.event.pull_request.draft == false
Expand Down

0 comments on commit 37eda95

Please sign in to comment.