Skip to content

Scheduled: Clear Cache • main • 2ea022fffe679c0c353ac9b7c3b477909032d7e1 #3

Scheduled: Clear Cache • main • 2ea022fffe679c0c353ac9b7c3b477909032d7e1

Scheduled: Clear Cache • main • 2ea022fffe679c0c353ac9b7c3b477909032d7e1 #3

name: "Scheduled: Clear Cache"
run-name: "${{ github.workflow }} • ${{ github.ref_name }} • ${{ github.event.pull_request.title || github.event.head_commit.message || github.sha }}"
on:
workflow_dispatch:
schedule:
- cron: "17 6 * * *"
concurrency:
group: scheduled-clear-cache-${{ github.ref }}
cancel-in-progress: false
jobs:
clear-cache:
name: "Clear Cache"
timeout-minutes: 15
permissions:
actions: write
contents: read
runs-on: ubuntu-latest
steps:
- name: "Clear Cache"
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPOSITORY: ${{ github.repository }}
run: gh cache delete --all --succeed-on-no-caches --repo "${GH_REPOSITORY}"