Skip to content

Commit

Permalink
ci(ci): revert to workflow-run-clean-action from github concurrency
Browse files Browse the repository at this point in the history
This reverts commit ae97274.
  • Loading branch information
Fdawgs committed Sep 6, 2021
1 parent 0dd406e commit 2aa77ca
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ on:
- "docs/**"
- "*.md"

concurrency:
group: github.ref
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

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 2aa77ca

Please sign in to comment.