From 38309fe9064c931d661656655756d9e8d1599633 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 26 Mar 2025 12:48:32 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20=E5=A2=9E=E5=8A=A0=20any-of-lab?= =?UTF-8?q?els=20=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/close-stale-issues.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index 079a612665b..0835d53c36a 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -1,7 +1,7 @@ name: Close inactive issues on: schedule: - - cron: "30 2 * * *" + - cron: "0 1 * * *" jobs: close-issues: @@ -13,7 +13,8 @@ jobs: with: days-before-issue-stale: 2 days-before-issue-close: 2 + any-of-labels: "invalid, need-repro-project" stale-issue-label: "stale" - stale-issue-message: "Since the issue was labeled with `invalid`, but no response in 2 days. This issue will be closed. If you have any questions, you can comment and reply. 由于该 issue 被标记为不合规工程,却 2 天未收到回应。现关闭 issue,若有任何问题,可评论回复" - close-issue-message: "Since the issue was labeled with `need-repro-project`, but no response in 2 days. This issue will be closed. If you have any questions, you can comment and reply. 由于该 issue 被标记为需要复现工程,却 2 天未收到回应。现关闭 issue,若有任何问题,可评论回复" + stale-issue-message: "Since the issue was labeled with `invalid`, but no response in 2 days. This issue will be closed. If you have any questions, you can comment and reply. \r 由于该 issue 被标记为不合规工程,却 2 天未收到回应。现关闭 issue,若有任何问题,可评论回复" + close-issue-message: "Since the issue was labeled with `need-repro-project`, but no response in 2 days. This issue will be closed. If you have any questions, you can comment and reply. \r 由于该 issue 被标记为需要复现工程,却 2 天未收到回应。现关闭 issue,若有任何问题,可评论回复" repo-token: ${{ secrets.GITHUB_TOKEN }} From 66a1c2f65a41f06cd1aec0a735c328971c31ab0c Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 26 Mar 2025 12:55:47 +0800 Subject: [PATCH 2/2] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0=E6=A0=87?= =?UTF-8?q?=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/close-stale-issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index 0835d53c36a..1bd1c0d2c56 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -13,7 +13,7 @@ jobs: with: days-before-issue-stale: 2 days-before-issue-close: 2 - any-of-labels: "invalid, need-repro-project" + any-of-labels: "invalid,need-repro-project" stale-issue-label: "stale" stale-issue-message: "Since the issue was labeled with `invalid`, but no response in 2 days. This issue will be closed. If you have any questions, you can comment and reply. \r 由于该 issue 被标记为不合规工程,却 2 天未收到回应。现关闭 issue,若有任何问题,可评论回复" close-issue-message: "Since the issue was labeled with `need-repro-project`, but no response in 2 days. This issue will be closed. If you have any questions, you can comment and reply. \r 由于该 issue 被标记为需要复现工程,却 2 天未收到回应。现关闭 issue,若有任何问题,可评论回复"