This repository has been archived by the owner on Sep 14, 2024. It is now read-only.
nightly artifacts cleanup #1265
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'nightly artifacts cleanup' | |
on: | |
schedule: | |
- cron: '0 0 * * *' # Run at midnight | |
jobs: | |
delete-artifacts: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: kolpav/purge-artifacts-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
expire-in: 0 # Set this to 0 to delete all artifacts |