Skip to content

Close Stale Issues #938

Close Stale Issues

Close Stale Issues #938

Workflow file for this run

name: Close Stale Issues
on:
schedule:
- cron: '0 * * * *' # Run every hour
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 }}