From c85901e2f2622533b45991b8b088673af7ae94e7 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 8 May 2026 15:30:13 +0200 Subject: [PATCH] github: Fix ref in cache cleanup workflow --- .github/workflows/cache-cleanup.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cache-cleanup.yml b/.github/workflows/cache-cleanup.yml index 4e856bf40..76d74b949 100644 --- a/.github/workflows/cache-cleanup.yml +++ b/.github/workflows/cache-cleanup.yml @@ -12,5 +12,5 @@ jobs: - env: GH_TOKEN: ${{ github.token }} # github.ref for deletes is the default branch, so we get the ref from - # the event - run: gh cache delete --repo ${{ github.repository }} -r ${{ github.event.ref }} --all --succeed-on-no-caches + # the event, which is not the full ref + run: gh cache delete --repo ${{ github.repository }} -r refs/heads/${{ github.event.ref }} --all --succeed-on-no-caches