From 9d331e9c5b5a4dda73ab75e00d449d2ccba42a0c Mon Sep 17 00:00:00 2001 From: Dan Urson Date: Fri, 3 Jan 2025 09:43:06 -0500 Subject: [PATCH] Enhance delete-packages workflow: add options to keep minimum versions and delete only pre-release versions Signed-off-by: Dan Urson --- .github/workflows/delete-packages.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/delete-packages.yml b/.github/workflows/delete-packages.yml index c3d9ff7567..950be5b20a 100644 --- a/.github/workflows/delete-packages.yml +++ b/.github/workflows/delete-packages.yml @@ -8,4 +8,6 @@ jobs: - uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0 with: package-name: 'atlantis' - package-type: 'container' \ No newline at end of file + package-type: 'container' + min-versions-to-keep: 10 + delete-only-pre-release-versions: "true"