Skip to content

Close Stale PRs

Close Stale PRs #181

Workflow file for this run

name: Close Stale PRs
on:
schedule:
- cron: "0 15 * * 1-5"
workflow_dispatch: ~
jobs:
stale:
name: Close Stale PRs
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
days-before-pr-stale: 30
days-before-pr-close: 10