Skip to content

Commit

Permalink
DX: specify for which branch to clean caches (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer authored Jan 28, 2023
1 parent b3840c5 commit 0b01635
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/clean-caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
types:
- closed
workflow_dispatch:
inputs:
ref:
description: Clean caches for this branch name or ref
required: false
type: string

jobs:
cleanup:
Expand All @@ -14,3 +19,4 @@ jobs:
- uses: ComPWA/actions/clean-caches@v1
with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ inputs.ref }}

0 comments on commit 0b01635

Please sign in to comment.