From db280a508b9bc2240d81ebc68a174fd39a3450ce Mon Sep 17 00:00:00 2001 From: titusfortner Date: Fri, 8 Mar 2024 16:21:35 -0600 Subject: [PATCH] [ci] automatically close issues marked awaiting answer if no reply in 14 days --- .github/workflows/stale.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 8f54cc9b9fdc4..987c0e6d171b8 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -16,11 +16,18 @@ jobs: pull-requests: write # for actions/stale to close stale PRs runs-on: ubuntu-latest steps: - - uses: actions/stale@v8 + - uses: actions/stale@v9 with: stale-issue-message: 'This issue is stale because it has been open 280 days with no activity. Remove stale label or comment or this will be closed in 14 days.' close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.' stale-issue-label: 'I-stale' days-before-stale: 280 days-before-close: 14 - operations-per-run: 200 + - uses: actions/stale@v9 + with: + close-issue-message: 'This issue was closed because we did not receive any additional information after 14 days.' + stale-issue-label: 'R-awaiting answer' + days-before-stale: -1 + days-before-close: 14 + labels-to-add-when-unstale: 'needs-triaging' +