We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3cd812 commit c032ae9Copy full SHA for c032ae9
.github/workflows/stale-branches.yml
@@ -2,7 +2,14 @@
2
# that aren't protected and haven't been committed to in over 6 months.
3
4
name: Delete Stale Branches
5
-on: workflow_dispatch
+on:
6
+ workflow_dispatch:
7
+ inputs:
8
+ dry_run:
9
+ description: 'Run in dry-run mode (no branches will be deleted)'
10
+ required: false
11
+ type: boolean
12
+ default: false
13
14
permissions:
15
contents: read
@@ -21,6 +28,6 @@ jobs:
21
28
with:
22
29
repo_token: ${{ github.token }}
23
30
date: '6 months ago'
24
- dry_run: false
31
+ dry_run: ${{ inputs.dry_run }}
25
32
exclude_open_pr_branches: true
26
33
extra_protected_branch_regex: ^release/.*
0 commit comments