Close inactive issues #4747
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 inactive issues | |
on: | |
schedule: | |
- cron: "0 */6 * * *" | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/stale@v5 | |
with: | |
days-before-issue-stale: 10 | |
days-before-issue-close: 4 | |
any-of-labels: 'stat: need more info,stat: waiting response' | |
stale-issue-label: "stat: no response" | |
stale-issue-message: "This issue has been marked as stale because there has been no further activity in the last 10 days. If the issue remains stale for the next 4 days (a total of 14 days with no activity), then it will be assumed that the question has been resolved and the issue will be automatically closed." | |
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |