Skip to content

Commit 9cadeaa

Browse files
authored
Merge pull request #1171 from sangyuxiaowu/patch-4
Create stale_issues.yml
2 parents d3dd2d0 + 00e6a96 commit 9cadeaa

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/stale_issues.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Close stale issues
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v9
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
stale-issue-message: 'This issue has been automatically marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days.'
15+
stale-pr-message: 'This pull request has been automatically marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days.'
16+
days-before-stale: 60
17+
days-before-close: 7
18+
stale-issue-label: 'stale'
19+
exempt-issue-labels: 'do not close'
20+
operations-per-run: 30

0 commit comments

Comments
 (0)