Add cleanup-run

This commit is contained in:
hu55a1n1 2024-01-11 04:19:46 -08:00
parent 825508fa2b
commit 5a2f76845d

View file

@ -28,6 +28,14 @@ env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
jobs: jobs:
cleanup-runs:
runs-on: ubuntu-latest
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"
nightly-fmt: nightly-fmt:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: