Close stale issues and PRs #475
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 * * *' | |
| workflow_dispatch: | |
| pull_request: | |
| paths: .github/workflows/stalebot.yaml | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| stale-issue-message: " | |
| Dear Author, | |
| \n\n | |
| This issue has been automatically marked as stale due to lack of | |
| activity. With only the issue description that is currently | |
| provided, we do not have enough information to take action. If you | |
| have or find the answers we would need, please reach out. Otherwise, | |
| this issue will be closed in 30 days. | |
| \n\n | |
| Thank you! | |
| " | |
| close-issue-message: " | |
| Dear Author, | |
| \n\n | |
| We are closing this issue due to lack of activity. Feel free to add | |
| a comment to this issue if you can provide more information and we | |
| will re-open it. | |
| \n\n | |
| Thank you! | |
| " | |
| stale-pr-message: " | |
| This pull request has been automatically marked as stale due to lack of | |
| activity. This pull request will be closed in 30 days. | |
| " | |
| close-pr-message: " | |
| We are closing this pull request due to lack of activity. | |
| " | |
| days-before-stale: 30 | |
| days-before-close: 30 | |
| stale-issue-label: 'no-activity' | |
| stale-pr-label: 'no-activity' | |
| close-issue-label: 'closed-by-bot' | |
| close-pr-label: 'closed-by-bot' | |
| # Process only issues that contain the label 'waiting-for-author' | |
| only-issue-labels: 'waiting-for-author' | |
| # Exclude issues with the 'in-progress' label | |
| exempt-issue-labels: 'in-progress' | |
| exempt-pr-labels: 'in-progress' | |
| operations-per-run: 100 | |