From 1babad4f744bc7f6d2212614ec9c69fd64e5380d Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Mon, 24 Mar 2025 16:22:21 +0100 Subject: [PATCH] chore(github): update `stale` to close `needs reproduction` --- .github/workflows/stale.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 637ec4ee..69563a54 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -10,14 +10,16 @@ jobs: permissions: issues: write - pull-requests: write steps: - uses: actions/stale@v9 with: - exempt-issue-labels: triage,v3 - stale-issue-message: 'This issue is stale because it has been open for 30 days with no activity.' - stale-issue-label: stale - stale-pr-label: stale - days-before-stale: 30 - days-before-close: -1 + days-before-stale: -1 # Issues and PR will never be flagged stale automatically. + stale-issue-label: 'needs reproduction' # Label that flags an issue as stale. + only-labels: 'needs reproduction' # Only process these issues + days-before-issue-close: 7 + ignore-updates: true + remove-stale-when-updated: false + close-issue-message: This issue was closed because it was open for 7 days without a reproduction. + close-issue-label: closed-by-bot + operations-per-run: 300 #default 30