Skip to content

Close Stale PRs

Close Stale PRs #29

Workflow file for this run

name: Close Stale PRs
on:
schedule:
- cron: "0 */12 * * *"
workflow_dispatch:
concurrency:
group: stale-prs
cancel-in-progress: false
jobs:
stale:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
with:
operations-per-run: 300
days-before-pr-stale: 7
days-before-pr-close: 7
days-before-issue-stale: -1
days-before-issue-close: -1
stale-pr-label: stale
stale-pr-message: "This PR has had no activity for 7 days and has been marked stale. We are moving to the monorepo and tightening PR staleness in preparation, so it will be closed in 7 days if no further activity occurs."
close-pr-message: "Closing this PR due to inactivity. Feel free to reopen if you'd like to continue the work."
exempt-pr-labels: "no stale,security"
exempt-draft-pr: false