From 83ce6131e81f28d35594a456a3a6233dbc10042d Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 20 Oct 2026 21:16:19 -0700 Subject: [PATCH 1/2] ci: close "needs more info" issues after 7 days without a reply Issues the triage flow labels "needs more info" are closed as not planned when the reporter does not answer within 7 days. Any comment removes the label and resets the clock. Pull requests are untouched. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/stale-needs-more-info.yml | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/stale-needs-more-info.yml diff --git a/.github/workflows/stale-needs-more-info.yml b/.github/workflows/stale-needs-more-info.yml new file mode 100644 index 000000000000..64ba90c403ff --- /dev/null +++ b/.github/workflows/stale-needs-more-info.yml @@ -0,0 +1,28 @@ +name: Close stale "needs more info" issues + +on: + schedule: + - cron: "17 6 * * *" + workflow_dispatch: + +permissions: + issues: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + only-issue-labels: "needs more info" + days-before-issue-stale: 7 + days-before-issue-close: 0 + days-before-pr-stale: -1 + days-before-pr-close: -1 + remove-issue-stale-when-updated: true + stale-issue-label: "needs more info" + close-issue-reason: not_planned + close-issue-message: >- + Closing: no reply in 7 days after we asked for more information. + Comment with the missing details and we will reopen. + operations-per-run: 200 From 2e2d292d9594d9e3a29c77c797371c5358a3832c Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 20 Oct 2026 22:19:15 -0700 Subject: [PATCH 2/2] ci: close 7 days after the label, never auto-mark; grant cache access With "needs more info" as both the filter and the stale label, stale v9 treated every labelled issue as already stale and days-before-issue-close 0 closed it on the next run. Never auto-mark (-1) and close 7 days after the label event. actions: write lets the action persist its state cache. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/stale-needs-more-info.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale-needs-more-info.yml b/.github/workflows/stale-needs-more-info.yml index 64ba90c403ff..b7b475a6117d 100644 --- a/.github/workflows/stale-needs-more-info.yml +++ b/.github/workflows/stale-needs-more-info.yml @@ -6,6 +6,7 @@ on: workflow_dispatch: permissions: + actions: write issues: write jobs: @@ -15,8 +16,9 @@ jobs: - uses: actions/stale@v9 with: only-issue-labels: "needs more info" - days-before-issue-stale: 7 - days-before-issue-close: 0 + # The label is applied by the triage flow, so never auto-mark; close 7 days after it was added. + days-before-issue-stale: -1 + days-before-issue-close: 7 days-before-pr-stale: -1 days-before-pr-close: -1 remove-issue-stale-when-updated: true