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