From 5ac00a42084cf257286d23dd874f7798be6207e8 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Fri, 26 Sep 2025 08:55:44 -0700 Subject: [PATCH 1/2] Improve issue and PR backlog management --- .../issue-management-stale-action.yml | 33 ++++++++++++++----- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/.github/workflows/issue-management-stale-action.yml b/.github/workflows/issue-management-stale-action.yml index 7282d3fcd..1e542dd6d 100644 --- a/.github/workflows/issue-management-stale-action.yml +++ b/.github/workflows/issue-management-stale-action.yml @@ -18,19 +18,34 @@ jobs: steps: - uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-stale: 7 days-before-close: 7 only-labels: "needs author feedback" stale-issue-label: stale stale-issue-message: > - This has been automatically marked as stale because it has been marked - as needing author feedback and has not had any activity for 7 days. - It will be closed automatically if there is no response from the author - within 7 additional days from this comment. + This issue has been labeled as stale due to lack of activity and needing author feedback. + It will be automatically closed if there is no further activity over the next 7 days. stale-pr-label: stale stale-pr-message: > - This has been automatically marked as stale because it has been marked - as needing author feedback and has not had any activity for 7 days. - It will be closed automatically if there is no response from the author - within 7 additional days from this comment. + This PR has been labeled as stale due to lack of activity and needing author feedback. + It will be automatically closed if there is no further activity over the next 7 days. + + - uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0 + with: + days-before-stale: -1 + days-before-close: 365 + close-issue-label: stale + close-issue-message: > + Since there has been no activity on this enhancement for the past year we are closing it to help maintain our backlog. + Anyone who would like to work on it is still welcome to do so, and we can re-open it at that time. + only-labels: "enhancement" + + - uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0 + with: + days-before-pr-stale: 90 + days-before-pr-close: 14 + stale-pr-label: stale + stale-pr-message: > + This PR has been labeled as stale due to lack of activity. + It will be automatically closed if there is no further activity over the next 14 days. + exempt-draft-pr: false From 85415483015235e91cc69b925b67a0720371827f Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Fri, 26 Sep 2025 12:59:42 -0700 Subject: [PATCH 2/2] Add workflow dispatch so we can trigger and test right away --- .github/workflows/issue-management-stale-action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/issue-management-stale-action.yml b/.github/workflows/issue-management-stale-action.yml index 1e542dd6d..ec58a1db8 100644 --- a/.github/workflows/issue-management-stale-action.yml +++ b/.github/workflows/issue-management-stale-action.yml @@ -4,6 +4,7 @@ on: schedule: # hourly at minute 23 - cron: "23 * * * *" + workflow_dispatch: permissions: contents: read