Skip to content

cleanup caches by a branch #1390

cleanup caches by a branch

cleanup caches by a branch #1390

name: cleanup caches by a branch
on:
pull_request_target:
types:
- closed
delete:
workflow_dispatch:
inputs:
branchNames:
description: 'List of branch(ref) names with caches to be deleted'
required: false
type: string
jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: Cleanup
uses: 4m-mazi/souji-action@main
with:
branch-names: ${{ inputs.branchNames }}