1name: Close stale PRs
2
3on:
4  schedule:
5    - cron: "0 0 * * *"
6
7jobs:
8  stale:
9    if: github.repository_owner == 'php'
10    runs-on: ubuntu-latest
11    steps:
12      - uses: actions/stale@v4
13        with:
14          days-before-close: 7
15          days-before-stale: 60
16          exempt-pr-labels: RFC,Waiting on Review
17          # Hack to skip issues, unfortunately there's no option to disable issues
18          only-issue-labels: inexistent-label
19          only-pr-labels: Waiting on Author
20          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.
21