Skip to content

Close inactive issues #333

Close inactive issues

Close inactive issues #333

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 }}