From 36688008f26be01f58776acf2d003b8be70a3114 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Sun, 5 Dec 2021 15:49:11 +0100 Subject: [PATCH] feat(ci): add workflow to nuke old releases --- .github/workflows/prune.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/prune.yaml diff --git a/.github/workflows/prune.yaml b/.github/workflows/prune.yaml new file mode 100644 index 00000000000..cc3e1b2fb96 --- /dev/null +++ b/.github/workflows/prune.yaml @@ -0,0 +1,17 @@ +name: "Prune Old Releases" + +on: + workflow_dispatch: + +jobs: + housekeeping: + runs-on: ubuntu-latest + name: "prune old releases" + steps: + - name: prune + uses: dev-drprasad/delete-older-releases@v0.2.0 + with: + keep_latest: 200 + delete_tags: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}