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