Skip to content

Close stale issues and PRs #25

Close stale issues and PRs

Close stale issues and PRs #25

Workflow file for this run

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '31 23 * * *'
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
# Don't stale issues
days-before-issue-stale: -1
days-before-pr-stale: 23
days-before-close: 7
stale-pr-message: >
This PR is stale because it has been opened for more than 3 weeks with no activity. Comment or this will be closed in 7 days.
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.'