Skip to content

Close Stale Issues

Close Stale Issues #95

name: Close Stale Issues
on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Close stale issues and pull requests
uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been marked as stale due to inactivity. It will be closed if no further activity occurs.'
stale-pr-message: 'This pull request has been marked as stale due to inactivity. It will be closed if no further activity occurs.'
days-before-stale: 30
days-before-close: 7