diff --git a/.github/workflows/artifacts-cleanup.yml b/.github/workflows/artifacts-cleanup.yml new file mode 100644 index 0000000000..84f7a429d2 --- /dev/null +++ b/.github/workflows/artifacts-cleanup.yml @@ -0,0 +1,14 @@ +name: 'nightly artifacts cleanup' +on: + push + # - 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: 0 # Set this to 0 to delete all artifacts