Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/caches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Delete all GitHub Actions caches
on:
schedule:
- cron: '0 0 1,15 * *'
workflow_dispatch:

permissions:
actions: write

jobs:
clean:
name: Delete all GitHub Actions caches
runs-on: ubuntu-latest
steps:
- run: gh cache delete --all --succeed-on-no-caches
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}