Stale-Bot #81
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@1e223db275d687790206a7acac4d1a11bd6fe629 # v10.4.0 | |
| with: | |
| stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 90 days.' | |
| stale-pr-message: 'This pull request has been marked as stale because it has been inactive for more than 90 days. Please update this pull request or it will be automatically closed in 90 days.' | |
| days-before-issue-stale: 90 | |
| days-before-pr-stale: 90 | |
| days-before-issue-close: 90 | |
| days-before-pr-close: 90 | |
| stale-pr-label: stale |