Stale Issue & PR Cleanup #1
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: Stale Issue & PR Cleanup | |
| on: | |
| schedule: | |
| - cron: '0 6 * * 1' | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| stale-issue-message: | | |
| This issue has been inactive for 30 days. It will be closed in 7 days unless there's new activity. | |
| stale-pr-message: | | |
| This PR has been inactive for 14 days. It will be closed in 7 days unless updated. | |
| Need help finishing? Ask in the PR comments! | |
| close-issue-message: 'Closed due to inactivity. Feel free to reopen if still needed.' | |
| close-pr-message: 'Closed due to inactivity. Feel free to reopen with updates.' | |
| days-before-stale: 30 | |
| days-before-close: 7 | |
| days-before-pr-stale: 14 | |
| days-before-pr-close: 7 | |
| stale-issue-label: 'stale' | |
| stale-pr-label: 'stale' | |
| exempt-issue-labels: 'bounty,security,pinned' | |
| exempt-pr-labels: 'security,WIP' | |
| operations-per-run: 30 |