Skip to content

Close stale issues and PRs #23

Close stale issues and PRs

Close stale issues and PRs #23

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 7 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
stale-pr-message: 'This PR is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
close-issue-message: 'This issue was closed because it has been stalled for 10 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.'
exempt-issue-labels: 'awaiting-approval,work-in-progress,wip'
exempt-pr-labels: 'awaiting-approval,work-in-progress,wip'
days-before-stale: 3
days-before-close: 7
days-before-issue-stale: 60
days-before-issue-close: 10
remove-stale-when-updated: true
labels-to-add-when-unstale: 'no-longer-stale'
labels-to-remove-when-stale: 'no-longer-stale'
exempt-draft-pr: true