Skip to content

Close Stale Issues

Close Stale Issues #3

Workflow file for this run

name: Close Stale Issues
on:
schedule:
- cron: '0 9 * * *' # Run daily at 9 AM UTC
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Issues
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed in 7 days if no further activity occurs.
If this issue is still relevant, please leave a comment or remove the stale label.
close-issue-message: >
This issue was closed because it has been inactive for 30+ days.
Feel free to reopen if this is still relevant.
days-before-issue-stale: 30
days-before-issue-close: 7
stale-issue-label: 'stale'
exempt-issue-labels: 'pinned,security,good first issue,help wanted'
# Pull Requests
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed in 14 days if no further activity occurs.
days-before-pr-stale: 45
days-before-pr-close: 14
stale-pr-label: 'stale'
exempt-pr-labels: 'pinned,work-in-progress'