Files
nomos-node/.github/workflows/clear-cache-pr.yml
2026-01-26 11:25:36 +01:00

29 lines
692 B
YAML

name: Clear GitHub Runner caches on PR close
on:
pull_request:
types:
- closed
jobs:
clear-caches:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: Prune Cargo Hack Cache
uses: ./.github/actions/prune-cache
continue-on-error: true
with:
github-token: ${{ inputs.github-token }}
key-prefix: "cargo-hack-check/"
ref: ${{ github.ref }}
- name: Prune Code Check Cache
uses: ./.github/actions/prune-cache
continue-on-error: true
with:
github-token: ${{ inputs.github-token }}
key-prefix: "code-check/"
ref: ${{ github.ref }}