Skip to content

Close Stale Bug Issues #47

Close Stale Bug Issues

Close Stale Bug Issues #47

name: Close Stale Bug Issues
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
issues: write
jobs:
close-stale-bugs:
runs-on: ubuntu-latest
steps:
- name: Close stale bug issues
uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
only-labels: 'bug'
days-before-stale: 30
days-before-close: 0
stale-issue-message: >
This bug report has been open for 30 days without a fix being implemented.
Older issues will be closed if there are no fixes for them to keep the issue
tracker manageable. If this issue is still relevant, please feel free to
reopen it or create a new issue with updated information.
close-issue-message: >
This issue has been automatically closed due to inactivity. If you believe
this is still a valid bug, please reopen or create a new issue.
stale-issue-label: 'stale'
exempt-issue-labels: 'pinned,security'