Close Stale Issues #115
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: '30 1 * * *' # This will run the workflow daily at 1:30 UTC | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v4 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-stale: 60 | |
days-before-close: 7 | |
stale-issue-message: 'This issue has been inactive for 60 days and is being marked as stale.' | |
close-issue-message: 'This issue has been closed due to inactivity.' |