Skip to content

cleanup caches by a branch #1319

cleanup caches by a branch

cleanup caches by a branch #1319

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@switch-to-esm
with:
branch-names: ${{ inputs.branchNames }}