Skip to content

Close inactive issues #152

Close inactive issues

Close inactive issues #152

name: Close inactive issues
on:
schedule:
# Check for stale issues every sunday at noon
- cron: "0 0 * * SUN"
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v3
with:
days-before-issue-stale: 14
days-before-issue-close: 14
stale-issue-label: "Stale"
stale-issue-message: "This issue is stale because it has been open for 2 weeks with no activity. If the issue is still not resolved, please leave a comment describing what is still not working"
close-issue-message: "This issue was closed because it has been inactive for 2 weeks since being marked as stale. If the issue is still not resolved, please reopen the issue, and leave a comment describing what is still not working"
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
exempt-issue-labels: New,Active