From 46bf6e3714f8a09a147811fe123d13774efb27b5 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Thu, 28 Jul 2022 19:04:16 +0200 Subject: [PATCH] Close stale feature requests --- .../close-stale-feature-requests.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/close-stale-feature-requests.yml diff --git a/.github/workflows/close-stale-feature-requests.yml b/.github/workflows/close-stale-feature-requests.yml new file mode 100644 index 0000000000000..ad0644bf8e972 --- /dev/null +++ b/.github/workflows/close-stale-feature-requests.yml @@ -0,0 +1,23 @@ +name: Close stale feature requests + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + if: github.repository_owner == 'php' + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v4 + with: + days-before-close: 7 + days-before-stale: 90 + exempt-issue-labels: "Status: Needs Triage" + only-issue-labels: Feature + # Hack to skip PRs, unfortunately there's no option to disable PRs + only-pr-labels: inexistent-label + stale-pr-message: >- + There has not been any recent activity in this feature request. It will automatically be closed in 7 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.