From b0ff0b268d0ce30a03dd597bcf356feff022db90 Mon Sep 17 00:00:00 2001 From: Fred Tombs Date: Fri, 19 Jun 2026 15:47:54 -0400 Subject: [PATCH] Delete cache maintenance PR since caches are now ~19MB --- .github/workflows/cache_maintenance.yml | 32 ------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .github/workflows/cache_maintenance.yml diff --git a/.github/workflows/cache_maintenance.yml b/.github/workflows/cache_maintenance.yml deleted file mode 100644 index 31b5c89..0000000 --- a/.github/workflows/cache_maintenance.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Cleanup caches from PR -on: - pull_request: - types: - - closed - -jobs: - cleanup: - runs-on: ubuntu-latest - steps: - - name: Check out code - uses: actions/checkout@v5 - - - name: Cleanup - run: | - gh extension install actions/gh-actions-cache - - echo "Fetching list of cache key" - cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 ) - - ## Setting this to not fail the workflow while deleting cache keys. - set +e - echo "Deleting caches..." - for cacheKey in $cacheKeysForPR - do - gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm - done - echo "Done" - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - REPO: ${{ github.repository }} - BRANCH: refs/pull/${{ github.event.pull_request.number }}/merge