Issue Housekeeping #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Close Stale Issues | |
permissions: | |
issues: write | |
on: | |
schedule: | |
- cron: "*/15 * * * *" | |
jobs: | |
stale-resolved-issues: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v8 | |
name: Close issues labeled as resolved after 1 day of inactivity | |
with: | |
any-of-labels: "Resolution-Answered,Resolution-Duplicate,Resolution-External, Resolution-Fixed,Resolution-Inactive" | |
days-before-stale: 1 | |
days-before-close: 0 | |
close-issue-reason: completed | |
close-issue-message: "This issue has been labeled as resolved and has not had any activity for one or more days. It has been closed for housekeeping purposes." | |
stale-feedback-issues: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v8 | |
name: Close issues labeled as needs feedback after 1 week of inactivity | |
with: | |
any-of-labels: "Needs: Author Feedback,Needs: Fix Verification,Needs: Repro Info" | |
days-before-stale: 2 | |
days-before-close: 5 | |
labels-to-remove-when-stale: "Needs: Maintainer Attention" | |
labels-to-add-when-unstale: "Needs: Maintainer Attention" | |
labels-to-remove-when-unstale: "Needs: Author Feedback,Needs: Fix Verification,Needs: Repro Info" | |
close-issue-reason: completed | |
close-issue-message: "This issue has been labeled as needing feedback and has not had any activity for one or more weeks. It has been closed for housekeeping purposes." |