Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 506 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 506 Bytes

Clean Cache Action

Warning
This is not an official product of YUMEMI Inc.

Cleans up caches for GitHub Actions by their keys or branches.

Examples

Delete all caches for a pull request after closed

on:
  pull_request:
    types:
      - closed

jobs:
  clean:
    runs-on: ubuntu-latest
    permissions:
      actions: write
    steps:
      - uses: yumemi-inc/clean-cache-action@v1
        with:
          ref: 'refs/pull/${{ github.event.pull_request.number }}/merge'