Skip to content

cleanup caches by a branch #886

cleanup caches by a branch

cleanup caches by a branch #886

name: cleanup caches by a branch
on:
pull_request_target:
types:
- closed
delete:
workflow_dispatch:
inputs:
branchNames:
description: "削除対象とするキャッシュのあるbranch(ref)のリスト"
required: false
type: string
jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: Cleanup
uses: 4m-mazi/souji-action@746502ee2c9f0f0968eb5190ce658e618724b272 # v1.4.3
with:
branch-names: ${{ inputs.branchNames }}