Skip to content

Commit f0db0ae

Browse files
[setup](build): Actions(delete stale branches) (#146)
Signed-off-by: Ralph Hightower <[email protected]>
1 parent 78e7e6c commit f0db0ae

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# .github/workflows/stale-branches.yml
2+
3+
name: stale-branches.yml – Delete Stale Branches
4+
5+
on:
6+
workflow_dispatch: # Manual trigger from GitHub UI
7+
schedule:
8+
- cron: '0 6 * * 0'
9+
10+
permissions:
11+
issues: write
12+
contents: write
13+
14+
jobs:
15+
stale_branches:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Stale Branches
19+
uses: crs-k/[email protected]
20+
with:
21+
# days-before-delete: 180
22+
# comment-updates: false
23+
# max-issues: 20
24+
tag-committer: true
25+
# stale-branch-label: 'stale branch 🗑️'
26+
# compare-branches: 'info'
27+
# branches-filter-regex: '^((?!dependabot))'
28+
# rate-limit: false
29+
# pr-check: false
30+
# dry-run: false
31+
# ignore-issue-interaction: false
32+
# include-protected-branches: false
33+
# include-ruleset-branches: false
34+
# ignore-commit-messages: ''
35+
# ignore-committers: ''

0 commit comments

Comments
 (0)