We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a3c6f22 + dd8d43e commit b7c4e3cCopy full SHA for b7c4e3c
.github/remove_stale_branches.yml
@@ -0,0 +1,23 @@
1
+name: Remove stale branches
2
+on:
3
+ workflow_dispatch:
4
+ inputs:
5
+ dry-run:
6
+ description: 'Run in dry-run mode (no actual branch deletion)'
7
+ required: true
8
+ default: 'false'
9
+ type: boolean
10
+ schedule:
11
+ - cron: "0 0 * * *" # Everday at midnight
12
+permissions: write-all
13
+
14
+jobs:
15
+ remove-stale-branches:
16
+ name: Remove Stale Branches
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: fpicalausa/remove-stale-branches@v1.6.0
20
+ with:
21
+ ignore-unknown-authors: true
22
+ default-recipient: "kobergj"
23
+ dry-run: ${{ inputs.dry-run || 'true' }} # fallback to dry-run
0 commit comments