chore: Cleanup duplicate action runs (#370)

This commit is contained in:
Tonye Jack 2022-02-14 19:00:31 -05:00 committed by GitHub
parent 8e79a7232f
commit a83b3d3943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,14 @@ on:
- main
jobs:
cleanup-runs:
runs-on: ubuntu-latest
if: "!startsWith(github.ref, 'refs/tags/') && !endsWith(github.ref, 'main')"
steps:
- uses: rokroskar/workflow-run-cleanup-action@v0.3.3
env:
GITHUB_TOKEN: ${{ github.token }}
shellcheck:
name: Run shellcheck
runs-on: ubuntu-latest