Skip to content

Commit 2a1a3f5

Browse files
authored
add stale issue worker flow (#1292)
* add stale issue worker flow * lint
1 parent 1936f1d commit 2a1a3f5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/stale.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 * * *' # run every day
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v4
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity.'
15+
close-issue-message: 'This issue is being automatically closed due to inactivity.'
16+
days-before-stale: 90
17+
days-before-close: 7
18+
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity.'
19+
close-pr-message: 'This pull request is being automatically closed due to inactivity.'
20+
stale-label: 'stale'

0 commit comments

Comments
 (0)