Close inactive issues #366
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: "10 23 * * *" | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v5 | |
with: | |
stale-issue-message: "" | |
close-issue-message: "This issue has been closed due to inactivity for 6 months. If you believe it is still relevant, please leave a comment below. You can tag a developer in your comment." | |
days-before-issue-stale: 180 | |
days-before-issue-close: 0 | |
stale-issue-label: "stale" | |
days-before-pr-stale: -1 | |
days-before-pr-close: -1 | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |