Skip to content

Clear all caches

Clear all caches #61

Workflow file for this run

name: Clear all caches
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # Every week
permissions:
actions: write
jobs:
clear:
name: Clear all cache
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
with:
fetch-depth: 1
- name: Clear cache
run: gh cache delete --all
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}