From c02f950c3377af700a1c69607cfe73916c448122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Ko=C5=88a=C5=99=C3=ADk?= Date: Mon, 25 Sep 2023 15:10:51 +0200 Subject: [PATCH] Create artifacts-cleanup.yml --- .github/workflows/artifacts-cleanup.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/artifacts-cleanup.yml diff --git a/.github/workflows/artifacts-cleanup.yml b/.github/workflows/artifacts-cleanup.yml new file mode 100644 index 0000000..b897381 --- /dev/null +++ b/.github/workflows/artifacts-cleanup.yml @@ -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