diff --git a/.github/workflows/issue-management-stale-action.yml b/.github/workflows/issue-management-stale-action.yml index 7282d3fcd..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 @@ -18,19 +19,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