Skip to content

Commit 1749050

Browse files
authored
Automatically close stale issues (#276)
1 parent abf9b62 commit 1749050

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/stale.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Close stale PRs'
1+
name: 'Close stale Issues/PRs'
22
on:
33
schedule:
44
- cron: '30 12 * * *'
@@ -7,9 +7,13 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v3
10+
- uses: actions/stale@v8
1111
with:
1212
repo-token: ${{ secrets.GITHUB_TOKEN }}
13-
stale-pr-message: 'This pr is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
14-
days-before-pr-stale: 14
15-
days-before-pr-close: 24
13+
days-before-stale: 14
14+
days-before-close: 10
15+
# Issue settings
16+
stale-issue-message: 'This issue is stale because of a lack of response from the original author. Please provide the requested feedback or this will be closed in 10 days.'
17+
any-of-issue-labels: 'cannot-reproduce,needs-more-info'
18+
# PR Settings
19+
stale-pr-message: 'This pr is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 10 days.'

0 commit comments

Comments
 (0)