Skip to content

Close stale issues with 'bug' label #49

Close stale issues with 'bug' label

Close stale issues with 'bug' label #49

Workflow file for this run

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.'