1name: Close stale feature requests
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: 14
15          days-before-stale: 90
16          exempt-all-assignees: true
17          only-issue-labels: "Status: Requires RFC,Feature"
18          # Hack to skip PRs, unfortunately there's no option to disable PRs
19          only-pr-labels: inexistent-label
20          stale-issue-message: >-
21            There has not been any recent activity in this feature request. It will automatically be closed in 14 days
22            if no further action is taken. Please see https://github.com/probot/stale#is-closing-stale-issues-really-a-good-idea
23            to understand why we auto-close stale feature requests.
24