Close stale issues #44
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 * * *" # Runs daily at midnight UTC | |
jobs: | |
close-stale-issues: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v5 | |
with: | |
days-before-issue-stale: 60 # Mark issues as stale after 60 days of inactivity | |
days-before-issue-close: 30 # Close issues 30 days after being marked as stale | |
stale-issue-label: "stale" | |
stale-issue-message: "This issue has been automatically marked as stale due to inactivity." | |
close-issue-message: "This issue has been automatically closed due to inactivity." | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |