Close Stale Issues & PRs #376
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 & PRs' | |
on: | |
schedule: | |
- cron: '30 1 * * *' | |
permissions: | |
contents: read | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
stale-issue-message: ' This issue has been automatically marked as stale because it has been open for 60 days with no activity.' | |
stale-pr-message: 'This PR has been automatically marked as stale because it has been open for 60 days with no activity.' | |
close-issue-message: 'This issue was closed because it has been stalled for -1 days with no activity.' | |
close-pr-message: 'This PR was closed because it has been stalled for -1 days with no activity.' | |
days-before-issue-stale: 60 | |
days-before-pr-stale: 60 | |
days-before-issue-close: -1 | |
days-before-pr-close: -1 | |
stale-issue-label: 'stale' | |
stale-pr-label: 'stale' |