Skip to content

Close stale issues and PRs #26

Close stale issues and PRs

Close stale issues and PRs #26

name: 'Close stale issues and PRs'
on:
workflow_dispatch:
schedule:
- cron: '30 2 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
stale-pr-message: 'This PR is stale because it has been open 7 days with no activity. If there is no activity in the next 7 days it will be closed automatically'
stale-pr-label: 'stale'
days-before-stale: 7
days-before-close: 7
exempt-pr-labels: 'do-not-close'