Skip to content

Close stale issues and pull requests #176

Close stale issues and pull requests

Close stale issues and pull requests #176

Workflow file for this run

# .github/workflows/stale.yml
name: Close stale issues and pull requests
on:
schedule:
- cron: '0 0 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 23
days-before-close: 7
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
close-issue-message: 'This issue has been automatically closed due to inactivity. If this issue is still relevant, please reopen it.'
close-pr-message: 'This PR has been automatically closed due to inactivity. If this PR is still relevant, please reopen it.'
stale-issue-label: 'stale'
exempt-issue-labels: 'pinned,security,update'
stale-pr-label: 'stale'
exempt-pr-labels: 'pinned,security,update'