Close stale issues with 'bug' label #40
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 stale issues with 'bug' label | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Close stale issues with the 'bug' label | |
uses: actions/stale@v8 | |
with: | |
days-before-stale: 5 # Number of days of inactivity before marking an issue as stale | |
days-before-close: 0 # Number of days to close an issue after it's marked stale | |
stale-issue-message: 'This issue has been automatically closed due to inactivity.' | |
only-labels: 'bug' # Only applies to issues with the 'bug' label | |
stale-issue-label: 'stale' # Adds a 'stale' label (or choose a different label) | |
close-issue-message: 'Automatically closed after 5 days of inactivity.' |