Close incomplete issues #91
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
name: Close incomplete issues | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '30 1 * * *' # run every day | |
permissions: | |
issues: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0 | |
with: | |
days-before-stale: -1 # Issues and PR will never be flagged stale automatically. | |
stale-issue-label: 'needs reproduction' # Label that flags an issue as stale. | |
only-labels: 'needs reproduction' # Only process these issues | |
days-before-issue-close: 7 | |
ignore-updates: true | |
remove-stale-when-updated: false | |
close-issue-message: This issue was closed because it was open for 7 days without a reproduction. | |
close-issue-label: closed-by-bot |