Close Stale Issues #1015
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 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/stale@v9.0.0 | |
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 }} |