From 584cf51f4e71d76d670f3221d8cc37cbba393528 Mon Sep 17 00:00:00 2001 From: Andy Date: Wed, 17 Jan 2024 16:38:54 +0100 Subject: [PATCH] Update delete_releases.yml --- .github/workflows/delete_releases.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/delete_releases.yml b/.github/workflows/delete_releases.yml index 1244d22..0e2f436 100644 --- a/.github/workflows/delete_releases.yml +++ b/.github/workflows/delete_releases.yml @@ -1,9 +1,7 @@ name: Delete Older Releases on: - push: - branches: - - main + workflow_dispatch: jobs: delete_releases: @@ -14,5 +12,8 @@ jobs: with: repo: secondnetwork/kompass # Replace and with your repository details keep_latest: 5 # Set to 0 to delete all releases + keep_min_download_counts: 1 # Optional parameters + delete_expired_data: 10 # Optional parameters + delete_tag_pattern: beta # defaults to "" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}