Skip to content

Commit 5a7bc23

Browse files
fanyunqianTracin
fanyunqian
authored andcommitted
[Workflow] Auto close stale issues and prs.
1 parent 19d0bbe commit 5a7bc23

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: 'Close stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '30 1 * * *'
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v5
11+
with:
12+
days-before-stale: 120
13+
days-before-close: 7
14+
stale-issue-message: 'This issue has not received any updates in 120 days. Please reply to this issue if this still unresolved!'
15+
stale-pr-message: 'This PR has not received any updates in 120 days. Please reply to this issue if this still unresolved!'
16+
days-before-pr-close: -1

0 commit comments

Comments
 (0)