Skip to content

Commit

Permalink
ci(ci): replace workflow-run-cleanup-action with github concurrency (#36
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Fdawgs authored Sep 4, 2021
1 parent 81aa63e commit ae97274
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,11 @@ on:
- "docs/**"
- "*.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 }}
concurrency:
group: github.ref
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

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

0 comments on commit ae97274

Please sign in to comment.