Close stale PRs #596
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Close stale PRs | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
permissions: | |
contents: read | |
jobs: | |
stale: | |
if: github.repository_owner == 'php' | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v6 | |
with: | |
days-before-close: 7 | |
days-before-stale: 60 | |
exempt-pr-labels: RFC,Waiting on Review | |
# Hack to skip issues, unfortunately there's no option to disable issues | |
only-issue-labels: inexistent-label | |
only-pr-labels: Waiting on Author | |
stale-pr-message: There has not been any recent activity in this PR. It will automatically be closed in 7 days if no further action is taken. |