Close inactive issues #333
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 1 * * *" | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/stale@v5 | |
with: | |
days-before-issue-stale: 15 | |
days-before-issue-close: 15 | |
stale-issue-label: "stale" | |
stale-issue-message: "This issue is stale because it has been open for 15 days with no activity. If there are no further updates or modifications within the next 15 days, it will be automatically closed." | |
close-issue-message: "This issue has been closed as it has been inactive for 15 days since being marked as stale." | |
exempt-issue-labels: 'non-closable' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |