Skip to content

Commit dd8d43e

Browse files
committed
ci: remove stale branches github action
1 parent da9581f commit dd8d43e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/remove_stale_branches.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)