Update stale workflow - Remove not needed "Maintainer Response" labeling - Update to latest version - Add link to source
| @@ -1,4 +1,8 @@ | ||
| 1 | 1 | # ClosesAuto-label and close any issues that no longer have user interaction |
| 2 | + | |
| 3 | +# Close Stale Issues and PRs | |
| 4 | +# https://github.com/marketplace/actions/close-stale-issues | |
| 5 | + | |
| 2 | 6 | name: π― Close Stale Issues |
| 3 | 7 | |
| 4 | 8 | on: |
| @@ -11,9 +15,9 @@ jobs: | ||
| 11 | 15 | runs-on: ubuntu-latest |
| 12 | 16 | |
| 13 | 17 | steps: |
| 14 | 18 | # Comment on, then close issues that haven't been updated for ages |
| 15 | 19 | - name: Close Stale Issues |
| 16 | 20 | uses: actions/stale@v4v9 |
| 17 | 21 | with: |
| 18 | 22 | repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} |
| 19 | 23 | days-before-stale: 183 |
| @@ -21,7 +25,7 @@ jobs: | ||
| 21 | 25 | operations-per-run: 30 |
| 22 | 26 | remove-stale-when-updated: true |
| 23 | 27 | enable-statistics: true |
| 24 | 28 | stale-issue-message: > |
| 25 | 29 | This issue has gone 6 months without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. |
| 26 | 30 | Otherwise it will be closed in 7 days. |
| 27 | 31 | stale-pr-message: > |
| @@ -38,8 +42,8 @@ jobs: | ||
| 38 | 42 | exempt-issue-labels: 'π Keep Open' |
| 39 | 43 | exempt-pr-labels: 'π Keep Open' |
| 40 | 44 | labels-to-add-when-unstale: 'π Keep Open' |
| 41 | - | |
| 45 | + | |
| 42 | 46 | # Comment on, then close issues that required a response from the user, but didn't get one |
| 43 | 47 | - name: Close Issues without Response |
| 44 | 48 | uses: actions/stale@v4 |
| 45 | 49 | with: |
| @@ -53,30 +57,8 @@ jobs: | ||
| 53 | 57 | Don't forget to provide this within the next few days to keep your ticket open. |
| 54 | 58 | close-issue-message: 'Issue closed due to no response from user.' |
| 55 | 59 | only-labels: 'π Awaiting User Response' |
| 56 | 60 | labels-to-remove-when-unstale: 'π Awaiting User Response, π No Response' |
| 57 | 61 | stale-issue-label: 'π No Response' |
| 58 | 62 | close-issue-label: 'πΈοΈ Inactive' |
| 59 | 63 | exempt-issue-labels: 'π Keep Open' |
| 60 | 64 | exempt-pr-labels: 'π Keep Open' |
| 61 | - | |
| 62 | - # Comment on issues that we should have replied to | |
| 63 | - - name: Notify Repo Owner to Respond | |
| 64 | - uses: actions/stale@v4 | |
| 65 | - with: | |
| 66 | - repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} | |
| 67 | - days-before-stale: 7 | |
| 68 | - days-before-close: 183 | |
| 69 | - operations-per-run: 30 | |
| 70 | - remove-stale-when-updated: true | |
| 71 | - stale-issue-message: Hey SillyTavern, - Don't forget to respond! | |
| 72 | - stale-pr-message: Hey SillyTavern, - Don't forget to respond! | |
| 73 | - only-labels: 'π€ Awaiting Maintainer Response' | |
| 74 | - labels-to-remove-when-unstale: 'π€ Awaiting Maintainer Response' | |
| 75 | - close-issue-message: 'Closed due to no response from repo author for over a year' | |
| 76 | - close-pr-message: 'Closed due to no response from repo author for over a year' | |
| 77 | - stale-issue-label: 'π€ Awaiting Maintainer Response' | |
| 78 | - stale-pr-label: 'π€ Awaiting Maintainer Response' | |
| 79 | - close-issue-label: 'πΈοΈ Inactive' | |
| 80 | - close-pr-label: 'πΈοΈ Inactive' | |
| 81 | - exempt-issue-labels: 'π Keep Open' | |
| 82 | - exempt-pr-labels: 'π Keep Open' | |