From 1deadca15349737383dcfd0506de4cc11468161a Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Thu, 30 Oct 2025 20:10:21 +0800 Subject: [PATCH 1/2] ci: fix close stale PR didn't work as expected Signed-off-by: Xuanwo --- .github/workflows/stale.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 2ff8299fac6..2af0730fb00 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -2,6 +2,7 @@ name: "Close stale issues and PRs" on: schedule: - cron: "30 1 * * *" + workflow_dispatch: permissions: actions: write @@ -14,5 +15,6 @@ jobs: steps: - uses: actions/stale@v10 with: - close-pr-message: "Thank you for your contribution. This PR has been inactive for a while, so we’re closing it to free up bandwidth. Feel free to reopen it if you still find it useful." + close-pr-message: "Thank you for your contribution. This PR has been inactive for a while, so we're closing it to free up bandwidth. Feel free to reopen it if you still find it useful." + days-before-pr-stale: -1 days-before-pr-close: 90 From b165754e40fa2a081d630992f22b433ff12f6eb1 Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Thu, 30 Oct 2025 20:18:54 +0800 Subject: [PATCH 2/2] Fix Signed-off-by: Xuanwo --- .github/workflows/stale.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 2af0730fb00..8b08e9e6d98 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -16,5 +16,5 @@ jobs: - uses: actions/stale@v10 with: close-pr-message: "Thank you for your contribution. This PR has been inactive for a while, so we're closing it to free up bandwidth. Feel free to reopen it if you still find it useful." - days-before-pr-stale: -1 - days-before-pr-close: 90 + days-before-pr-stale: 90 + days-before-pr-close: 30