.github/workflows/remove-old-artifacts.yml
name: Remove old artifacts
on:
schedule:
# Every day at 1am
- cron: 0 1 * * *
workflow_dispatch:
jobs:
delete-artifacts:
runs-on: ubuntu-latest
steps:
- uses: kolpav/purge-artifacts-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
expire-in: 3days