Stale-Bot #186
This file contains hidden or 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: Stale-Bot | |
| permissions: {} | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # Run every day at midnight | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: write | |
| contents: write # only for delete-branch option | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - name: Close stale pull requests | |
| uses: actions/stale@fad0de84e50d1aba7b0236cdaf0ea98a43286849 | |
| with: | |
| stale-issue-message: 'This pull request has been automatically closed because it has been inactive for more than 60 days. Please reopen if you still intend to submit this pull request.' | |
| days-before-stale: 60 | |
| days-before-close: 30 | |
| days-before-pr-stale: 30 | |
| stale-pr-message: 'This pull request has been marked as stale because it has been inactive for more than 30 days. Please update this pull request or it will be automatically closed in 7 days.' | |
| stale-pr-label: stale |