Skip to content

Commit 23ddff6

Browse files
authored
chore:added workflow to delete stale branches (#834)
1 parent 88f759e commit 23ddff6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Stale Branches
2+
on:
3+
schedule:
4+
- cron: "0 6 * * 1-5"
5+
6+
permissions:
7+
issues: write
8+
contents: write
9+
jobs:
10+
stale_branches:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Stale Branches
14+
uses: crs-k/stale-branches@c6e09a3de1046d68b21eccdca23321d0ec277964 # v7.0.0
15+
with:
16+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
17+
days-before-stale: 120
18+
days-before-delete: 180
19+
comment-updates: false
20+
tag-committer: false
21+
stale-branch-label: "stale branch 🗑️"
22+
compare-branches: "info"
23+
ignore-issue-interaction: true
24+
pr-check: true

0 commit comments

Comments
 (0)