Skip to content

Commit 6fa985e

Browse files
Merge pull request #4270 from nodejs/update-stalebot-interval
Decrease stalebot interval per collab summit discussion
2 parents 0608cc2 + da2f8c2 commit 6fa985e

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/close-stale-issues.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,27 @@ on:
88
# yamllint disable rule:empty-lines
99
env:
1010
CLOSE_MESSAGE: >
11-
There has been no activity on this issue
12-
and it is being closed. If you feel closing this issue is not the
13-
right thing to do, please leave a comment.
11+
Closing after no activity on this issue for 12 months.
1412
WARN_MESSAGE: >
15-
There has been no activity on this issue for
16-
3 years and it may no longer be relevant.
17-
It will be closed 1 month after the last non-automated comment.
13+
There has been no activity on this issue for 11 months.
14+
The help repository works best when sustained engagement moves conversation forward.
15+
The issue will be closed in 1 month.
16+
If you are still experiencing this issue on the latest supported versions of Node.js, please leave a comment.
1817
# yamllint enable
1918

2019
jobs:
2120
stale:
2221
if: github.repository == 'nodejs/help'
2322
runs-on: ubuntu-latest
2423
steps:
25-
- uses: actions/stale@v4
24+
- uses: actions/stale@a20b814fb01b71def3bd6f56e7494d667ddf28da #4.1.1
2625
with:
2726
repo-token: ${{ secrets.GITHUB_TOKEN }}
28-
# 3 years. this number is chosen to target around 25 initial issues, with then a natural flow as time progresses
29-
days-before-stale: 1095
27+
days-before-stale: 330 # 11 months
3028
days-before-close: 30
3129
stale-issue-label: stale
3230
close-issue-message: ${{ env.CLOSE_MESSAGE }}
3331
stale-issue-message: ${{ env.WARN_MESSAGE }}
3432
# max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits
3533
operations-per-run: 30
36-
remove-stale-when-updated: true
34+
remove-stale-when-updated: true

0 commit comments

Comments
 (0)