Close stale issues #1452
This file contains 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
# Configuration for Stale - https://github.com/actions/stale | |
name: 'Close stale issues' | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '15 10,20 * * *' | |
permissions: | |
contents: read | |
jobs: | |
stale: | |
permissions: | |
issues: write # for actions/stale to close stale issues | |
pull-requests: write # for actions/stale to close stale PRs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
stale-issue-message: 'This issue is stale because it has been open 280 days with no activity. Remove stale label or comment or this will be closed in 14 days.' | |
close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.' | |
stale-issue-label: 'I-stale' | |
days-before-stale: 280 | |
days-before-close: 14 | |
operations-per-run: 200 |