From e4cc677a10fd7deaa8a95591fc023903fbf62aef Mon Sep 17 00:00:00 2001 From: Dawa Ometto Date: Mon, 13 Nov 2023 10:46:17 +0100 Subject: [PATCH] Update prune.yml --- .github/workflows/prune.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prune.yml b/.github/workflows/prune.yml index cb58601..75f024b 100644 --- a/.github/workflows/prune.yml +++ b/.github/workflows/prune.yml @@ -11,7 +11,8 @@ jobs: # https://github.com/actions/delete-package-versions#delete-all-untagged-container-versions-except-y-latest-untagged-versions - name: Prune untagged images from ghcr uses: actions/delete-package-versions@v4 - with: + with: + token: ${{ secrets.GITHUB_TOKEN }} package-name: 'src-test-workspace' package-type: 'container' min-versions-to-keep: 3 # ...but keep the latest n untagged images