Skip to content

Commit 58d5646

Browse files
committed
cleanup-cache: Run gh extension install with GitHub token
The gh CLI always complains in a GitHub Actions workflow without a token.
1 parent d3863d9 commit 58d5646

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cleanup-cache.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
cleanup:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- run: gh extension install actions/gh-actions-cache
14-
1513
- name: Cleanup
1614
run: |
15+
gh extension install actions/gh-actions-cache
16+
1717
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH -L 100 | cut -f 1)
1818
1919
# Turn off errexit to not fail the workflow while deleting cache keys.

0 commit comments

Comments
 (0)