Skip to content

Commit

Permalink
fix: add missing settings to the cache-cleanup workflow (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusrbrown authored Jul 6, 2023
1 parent 7adf5c0 commit ef31606
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cache-cleanup.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Renovate Cache Cleanup
name: Cache Cleanup
'on':
pull_request:
types: [closed]
Expand All @@ -9,11 +9,14 @@ name: Renovate Cache Cleanup

jobs:
renovate-cache-cleanup:
name: Renovate Cache Cleanup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

- name: Install `gh-actions-cache` CLI extension
- env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Install `gh-actions-cache` CLI extension
run: gh extension install actions/gh-actions-cache

- id: cache-info
Expand All @@ -38,6 +41,7 @@ jobs:
- env:
CACHE_KEYS: ${{ steps.cache-info.outputs.cache-keys }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ steps.cache-info.outputs.branch != '' }}
name: Delete stale cache entries from ${{ steps.cache-info.outputs.branch }}
run: |
Expand Down

0 comments on commit ef31606

Please sign in to comment.