Skip to content

Create cleanup.yml

Create cleanup.yml #1

Workflow file for this run

name: 'Cleanup old artifacts'
on:
push:
branches:
- del-artifacts
jobs:
delete-artifacts:
runs-on: ubuntu-latest
steps:
- uses: kolpav/purge-artifacts-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
expire-in: 7days # Setting this to 0 will delete all artifacts