Close stale issues and PRs #42
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: Close stale issues and PRs | |
| on: | |
| schedule: | |
| - cron: "30 1 * * *" | |
| jobs: | |
| close-issues: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # only for delete-branch option | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| days-before-stale: 60 | |
| days-before-close: 30 | |
| stale-issue-message: | | |
| This issue is stale because it has been open for too long with no activity. | |
| If you would like the issue to remain open, please remove the stale label or leave a comment. | |
| close-issue-message: | | |
| This issue was closed because it has been inactive for too long while being marked as stale. | |
| If you would like the issue to reopen, please leave a comment. | |
| stale-pr-message: | | |
| This pull request is stale because it has been open for too long with no activity. | |
| If you would like the pull request to remain open, please remove the stale label or leave a comment. | |
| close-pr-message: | | |
| This pull request was closed because it has been inactive for too long while being marked as stale. | |
| If you would like the pull request to reopen, please leave a comment. |