Close stale issues and PRs #365
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 | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| only-labels: "more info needed" | |
| stale-issue-label: stale | |
| stale-issue-message: > | |
| We're waiting on additional info. This issue will be closed in 7 days | |
| if no further activity occurs. | |
| close-issue-message: "Closing due to inactivity." | |
| days-before-issue-stale: 30 | |
| days-before-issue-close: 7 | |
| remove-stale-when-updated: true | |
| days-before-pr-stale: -1 | |
| days-before-pr-close: -1 |