Create artifacts-cleanup.yml

This commit is contained in:
Filip Koňařík
2023-09-25 15:10:51 +02:00
committed by GitHub
parent dca982327c
commit c02f950c33

14
.github/workflows/artifacts-cleanup.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
name: Artifacts cleanup
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * *' # every night at 1 am UTC
jobs:
delete-artifacts:
runs-on: ubuntu-latest
steps:
- uses: kolpav/purge-artifacts-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
expire-in: 0days