Skip to content

Close Stale Issues #281

Close Stale Issues

Close Stale Issues #281

Workflow file for this run

name: Close Stale Issues
on:
schedule:
- cron: '0 0 * * *' # Daily at midnight
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Issue settings
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.
Thank you for your contributions!
close-issue-message: >
This issue was automatically closed due to inactivity. If you believe this
is still relevant, please reopen or create a new issue.
days-before-issue-stale: 60
days-before-issue-close: 7
stale-issue-label: 'stale'
exempt-issue-labels: 'pinned,security,bug'
# PR settings
stale-pr-message: >
This PR 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.
close-pr-message: >
This PR was automatically closed due to inactivity. Feel free to reopen
if you'd like to continue working on it.
days-before-pr-stale: 30
days-before-pr-close: 7
stale-pr-label: 'stale'
exempt-pr-labels: 'pinned,security'