Skip to content

Close stale PRs after 30 days #4

Close stale PRs after 30 days

Close stale PRs after 30 days #4

name: 'Close stale PRs after 30 days'
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-pr-message: 'This PR has been marked with label stale Since it has been inactive for 20 days. It will automatically be closed in 10 days if no further activity occurs.'
close-pr-message: 'This PR has been automatically closed because it has been inactive for 30 days. Please reopen if you are still working on it.'
days-before-pr-stale: 20
days-before-pr-close: 10