From 85311e2ecde2503cd32e7284a11559b71f10be15 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Wed, 14 Aug 2024 20:15:02 +0200 Subject: [PATCH] build: update clean Signed-off-by: AuxXxilium --- .github/workflows/clean.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/clean.yml b/.github/workflows/clean.yml index 8f839f0..c63cb44 100644 --- a/.github/workflows/clean.yml +++ b/.github/workflows/clean.yml @@ -17,10 +17,12 @@ jobs: git config --global user.name "AuxXxilium" sudo timedatectl set-timezone "Europe/Berlin" - - name: Clean Old - uses: Nats-ji/delete-old-releases@v1 + - name: Delete releases and workflows runs + uses: ophub/delete-releases-workflows@main with: - token: ${{ secrets.GITHUB_TOKEN }} - keep-count: 1 - remove-tags: true - keep-old-minor-releases: false \ No newline at end of file + delete_releases: true + releases_keep_latest: 1 + delete_workflows: true + delete_tags: true + workflows_keep_day: 1 + gh_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file