Close stale issues and PRs #1178
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: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 */12 * * *" | |
| permissions: | |
| actions: write | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| stale-issue-message: 'This issue has been marked as stale. Please reply to the issue or the issue will be automatically closed in 3 days.' | |
| close-issue-message: | | |
| This issue has been closed as there has been no recent activity after being marked as stale. | |
| We don't monitor closed issues, if you think this is still unresolved and **have more information**, please open a new issue. | |
| days-before-stale: 7 | |
| days-before-close: 3 | |
| days-before-pr-close: -1 | |
| stale-issue-label: 'state: Stale' | |
| only-issue-labels: 'state: Awaiting Reply' | |
| exempt-issue-labels: 'prio: Low, prio: Medium, prio: High' | |
| operations-per-run: 100 | |
| exempt-all-issue-assignees: true |