Close stale issues and PRs #85
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: '0 0 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| stale-issue-message: 'This issue is stale because it has been open for 3 days with no activity.' | |
| stale-pr-message: 'This PR is stale because it has been open for 3 days with no activity.' | |
| close-issue-message: 'Closing this issue due to inactivity for more than 1 days.' | |
| close-pr-message: 'Closing this PR due to inactivity for more than 1 days.' | |
| stale-issue-label: 'stale' | |
| stale-pr-label: 'stale' | |
| days-before-stale: 3 | |
| days-before-close: 1 |