Skip to content

Close Stale Issues and PRs #65

Close Stale Issues and PRs

Close Stale Issues and PRs #65

name: Close Stale Issues and PRs
on:
schedule:
- cron: '30 2 * * *'
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-message: 'This pull request is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 5 days with no activity.'
days-before-stale: 15
days-before-close: 5
any-of-issue-labels: 'needs-author-feedback'