From 9081932a73f59f1abef1603f543551986370ae24 Mon Sep 17 00:00:00 2001 From: Hugo Bernier Date: Sun, 13 Mar 2022 13:26:32 -0400 Subject: [PATCH] Added stale issues --- .github/workflows/close-stale-issues.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index 3ab78772a..253ca558a 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -14,7 +14,20 @@ jobs: with: days-before-issue-stale: 3 days-before-issue-close: 1 - stale-issue-message: 'Please note that this issue will be closed within 24 hours because it has been flagged as having invald authors. [Read the guidance](https://github.com/pnp/sp-dev-fx-webparts/wiki/How-to-create-good-issues#mention-authors) and @mention the authors so they can respond to you.' + days-before-pr-stale: -1 + stale-issue-message: 'Please note that this issue will be closed within 24 hours because it has been flagged as having invalid authors. [Read the guidance](https://github.com/pnp/sp-dev-fx-webparts/wiki/How-to-create-good-issues#mention-authors) and @mention the authors so they can respond to you.' only-issue-labels: 'status:wrong-author' close-issue-message: 'Closing this issue due to lack of response. Feel free to open a new issue, but make sure to follow the guidance on [how to create good issues](https://github.com/pnp/sp-dev-fx-webparts/wiki/How-to-create-good-issues#mention-authors) and @mention the authors so they can respond to you.' + debug-only: true + - uses: actions/stale@v4 + name: 'Close stale issues' + with: + days-before-issue-stale: 90 + days-before-issue-close: 7 + days-before-pr-stale: -1 + stale-issue-label: 'status:no-recent-activity' + exempt-all-issue-assignees: true + remove-issue-stale-when-updated: true + stale-issue-message: 'This issue has been marked as stale due to no progress in over 90 days. If you are still experiencing this issue, please provide additional information so we can help you resolve it.' + close-issue-message: 'Closing this issue due to lack of activity. If you are still encountering this issue, please do not hesitate to open a new issue. Make sure to follow the guidance on [how to create good issues](https://github.com/pnp/sp-dev-fx-webparts/wiki/How-to-create-good-issues) to increase your chances of getting the help you deserve.' debug-only: true \ No newline at end of file