Skip to content

Commit 4fc5ddf

Browse files
authored
Add GitHub workflow to delete stale branches (#8318)
* Add GitHub workflow to delete stale branches * chore: update version
1 parent 2281993 commit 4fc5ddf

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Delete Stale Branches
2+
3+
on:
4+
schedule:
5+
- cron: "0 6 * * 1-5"
6+
workflow_dispatch:
7+
8+
permissions:
9+
issues: write
10+
contents: write
11+
12+
jobs:
13+
stale_branches:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Stale Branches
17+
uses: crs-k/[email protected]
18+
with:
19+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
20+
pr-check: true
21+
dry-run: true
22+
ignore-issue-interaction: true

0 commit comments

Comments
 (0)