From 960f9d6cd3e03012b49c6a6a876b9adb3875df25 Mon Sep 17 00:00:00 2001 From: water <672684719@qq.com> Date: Tue, 28 Jul 2026 03:16:00 +0800 Subject: [PATCH] fix: stop stale bot from auto-closing issues [FaaFyfxR9WAQrL7FcAgEHJvztd8cVMxvjHRS55rw1nwH] --- .github/workflows/stale.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 901245b37..6779dcd55 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -17,19 +17,18 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: | - This issue has been inactive for 30 days. It will be closed in 7 days unless there's new activity. + This issue has been inactive for 45 days. It will be marked as stale. If this is still relevant, please comment to keep it open. stale-pr-message: | - This PR has been inactive for 14 days. It will be closed in 7 days unless updated. + This PR has been inactive for 21 days. It will be closed in 14 days unless updated. Need help finishing? Ask in the PR comments — we're happy to assist! - close-issue-message: 'Closed due to inactivity. Feel free to reopen if still needed.' close-pr-message: 'Closed due to inactivity. Feel free to reopen with updates.' - days-before-stale: 30 - days-before-close: 7 - days-before-pr-stale: 14 - days-before-pr-close: 7 + days-before-stale: 45 + days-before-close: -1 + days-before-pr-stale: 21 + days-before-pr-close: 14 stale-issue-label: 'stale' stale-pr-label: 'stale' - exempt-issue-labels: 'bounty,security,pinned,critical' + exempt-issue-labels: 'bounty,security,pinned,critical,consensus,tracking,operations' exempt-pr-labels: 'security,critical,WIP' - operations-per-run: 50 + operations-per-run: 300