Skip to content

cleanup caches by a branch #1491

cleanup caches by a branch

cleanup caches by a branch #1491

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@df02f74003831b23deb60cacf168747b0b9ab6f0 # v1.4.11
with:
branch-names: ${{ inputs.branchNames }}