From c0c001c68c5488f029f92b50cb377f438b5b99db Mon Sep 17 00:00:00 2001 From: Timothy Carambat Date: Tue, 10 Feb 2026 09:21:19 -0800 Subject: [PATCH] update cleanup to assume repo name --- .github/workflows/cleanup-qa-tag.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cleanup-qa-tag.yaml b/.github/workflows/cleanup-qa-tag.yaml index 363a5a6a..89ea2926 100644 --- a/.github/workflows/cleanup-qa-tag.yaml +++ b/.github/workflows/cleanup-qa-tag.yaml @@ -1,5 +1,5 @@ # Cleans up the GHCR image tag when the PR is closed or the "PR: Ready for QA" label is removed. -name: Cleanup QA Docker Image +name: Cleanup QA GHCR Image on: pull_request: @@ -7,7 +7,7 @@ on: jobs: cleanup: - name: Delete QA image tag from GHCR + name: Delete QA GHCR image tag runs-on: ubuntu-latest if: >- ${{ (github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'PR: Ready for QA')) || @@ -17,8 +17,10 @@ jobs: steps: - name: Delete PR tag from GHCR uses: actions/delete-package-versions@v5 + continue-on-error: true # Package may not exist if build never ran with: - package-name: anythingllm + owner: ${{ github.repository_owner }} + package-name: ${{ github.repository }} package-type: container min-versions-to-keep: 0 ignore-versions: '^(?!pr-${{ github.event.pull_request.number }}$).*$'