Skip to content

Stale PR Handler

Stale PR Handler #513

Workflow file for this run

name: 'Stale PR Handler'
on:
schedule:
- cron: '0 6 * * *'
permissions:
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
id: stale
# Read about options here: https://github.com/actions/stale#all-options
with:
# do not mark issues as stale (they're used for planning)
days-before-issue-stale: -1
days-before-stale: 30
stale-pr-message: >
"This PR was marked stale because it has been open for 30 days without activity. If nothing happens, it will be closed 3 days from now."
days-before-close: 3
close-pr-message: 'This PR was closed because nothing happened for 3 days after becoming stale.'
delete-branch: true
exempt-pr-labels: 'dependencies'