From ccfb6a0241695126fca0ee9540edb4d467c20c09 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Sat, 12 Jun 2021 09:37:02 -0400 Subject: [PATCH] Create purge-artifacts.yml [skip ci] --- .github/workflows/purge-artifacts.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/purge-artifacts.yml diff --git a/.github/workflows/purge-artifacts.yml b/.github/workflows/purge-artifacts.yml new file mode 100644 index 00000000..1094cb73 --- /dev/null +++ b/.github/workflows/purge-artifacts.yml @@ -0,0 +1,15 @@ +name: Purge old artifacts + +on: + schedule: + - cron: '0 9 * * 3' # every Wednesday at 9 AM UTC == 5 AM EDT + workflow_dispatch: + +jobs: + purge-artifacts: + runs-on: ubuntu-latest + steps: + - uses: kolpav/purge-artifacts-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + expire-in: 0