From 8fa48095ee7f0dfc25dd46e4cf39e022fb85a4b2 Mon Sep 17 00:00:00 2001 From: German Date: Tue, 19 Mar 2024 21:57:22 +0100 Subject: [PATCH] Fixing infinite loop --- .github/workflows/cache_cleaner.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cache_cleaner.yml b/.github/workflows/cache_cleaner.yml index 638e944e2d..89decf0584 100644 --- a/.github/workflows/cache_cleaner.yml +++ b/.github/workflows/cache_cleaner.yml @@ -34,7 +34,7 @@ jobs: gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm && echo "Deleting cache with key: $cacheKey" done - cacheKeysForPR=$(gh actions-cache list -R $REPO | cut -f 1 ) + cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 ) done echo "Done" env: