From bcd73d3d24fc31b27e785261b5076e78c65ed02a Mon Sep 17 00:00:00 2001 From: Brian Muenzenmeyer Date: Sat, 14 Oct 2023 20:51:04 -0500 Subject: [PATCH 1/3] Update close-stale-issues.yml --- .github/workflows/close-stale-issues.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index b8e1f90..a1112ef 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -12,9 +12,10 @@ env: and it is being closed. If you feel closing this issue is not the right thing to do, please leave a comment. WARN_MESSAGE: > - There has been no activity on this issue for - 3 years and it may no longer be relevant. - It will be closed 1 month after the last non-automated comment. + There has been no activity on this issue for 90 days. + The help repository works best when sustained engagement moves conversation forward. + The issue will be closed 1 month after the last non-automated comment. + If you are still experiencing this issue on the latest supported versions of Node.js, please leave a comment. # yamllint enable jobs: @@ -22,15 +23,14 @@ jobs: if: github.repository == 'nodejs/help' runs-on: ubuntu-latest steps: - - uses: actions/stale@v4 + - uses: actions/stale@a20b814fb01b71def3bd6f56e7494d667ddf28da #4.1.1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - # 3 years. this number is chosen to target around 25 initial issues, with then a natural flow as time progresses - days-before-stale: 1095 + days-before-stale: 90 days-before-close: 30 stale-issue-label: stale close-issue-message: ${{ env.CLOSE_MESSAGE }} stale-issue-message: ${{ env.WARN_MESSAGE }} # max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits operations-per-run: 30 - remove-stale-when-updated: true \ No newline at end of file + remove-stale-when-updated: true From 57a3316b32f726ef37a3ec6b4e3f59c53b959dc9 Mon Sep 17 00:00:00 2001 From: Brian Muenzenmeyer Date: Fri, 20 Oct 2023 17:59:36 +0000 Subject: [PATCH 2/3] update staleness interval to compromise values --- .github/workflows/close-stale-issues.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index a1112ef..1ecc92a 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -8,13 +8,11 @@ on: # yamllint disable rule:empty-lines env: CLOSE_MESSAGE: > - There has been no activity on this issue - and it is being closed. If you feel closing this issue is not the - right thing to do, please leave a comment. + Closing after no activity on this issue for 9 months. WARN_MESSAGE: > - There has been no activity on this issue for 90 days. + There has been no activity on this issue for 8 months. The help repository works best when sustained engagement moves conversation forward. - The issue will be closed 1 month after the last non-automated comment. + The issue will be closed in 1 month. If you are still experiencing this issue on the latest supported versions of Node.js, please leave a comment. # yamllint enable @@ -26,7 +24,7 @@ jobs: - uses: actions/stale@a20b814fb01b71def3bd6f56e7494d667ddf28da #4.1.1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - days-before-stale: 90 + days-before-stale: 240 # 8 months days-before-close: 30 stale-issue-label: stale close-issue-message: ${{ env.CLOSE_MESSAGE }} From da2f8c2510fbf210c55dc855519baa4527f5d2db Mon Sep 17 00:00:00 2001 From: Brian Muenzenmeyer Date: Fri, 20 Oct 2023 18:00:56 +0000 Subject: [PATCH 3/3] update staleness interval to compromise values --- .github/workflows/close-stale-issues.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index 1ecc92a..759d90e 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -8,9 +8,9 @@ on: # yamllint disable rule:empty-lines env: CLOSE_MESSAGE: > - Closing after no activity on this issue for 9 months. + Closing after no activity on this issue for 12 months. WARN_MESSAGE: > - There has been no activity on this issue for 8 months. + There has been no activity on this issue for 11 months. The help repository works best when sustained engagement moves conversation forward. The issue will be closed in 1 month. If you are still experiencing this issue on the latest supported versions of Node.js, please leave a comment. @@ -24,7 +24,7 @@ jobs: - uses: actions/stale@a20b814fb01b71def3bd6f56e7494d667ddf28da #4.1.1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - days-before-stale: 240 # 8 months + days-before-stale: 330 # 11 months days-before-close: 30 stale-issue-label: stale close-issue-message: ${{ env.CLOSE_MESSAGE }}