Skip to content

Close Stale Issues #991

Close Stale Issues

Close Stale Issues #991

Workflow file for this run

name: Close Stale Issues
on:
schedule:
- cron: '0 0 * * *' # Run every day at midnight
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Close stale issues
uses: actions/[email protected]
with:
days-before-issue-stale: 365
days-before-issue-close: 0
stale-issue-label: "stale"
stale-issue-message: "This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}