Mark or close stale issues #1447
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: "Mark or close stale issues" | |
| permissions: | |
| issues: write | |
| on: | |
| schedule: | |
| - cron: "19 4 * * 0,2,4,6" | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| days-before-stale: 16 | |
| days-before-close: 6 | |
| stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs." | |
| stale-issue-label: "stale" | |
| exempt-issue-labels: "bug,enhancement,good first issue,needs_fix_upstream,PR welcome,question" | |
| close-issue-reason: "completed" # fixed values; either "completed" or "not_planned" |