Skip to content

Commit b0e63f8

Browse files
authored
chore(Action): update github action clean stale issue (#5744)
1 parent 891895a commit b0e63f8

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/close-stale-issues.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,20 @@ jobs:
1212
- uses: actions/stale@v9
1313
with:
1414
days-before-issue-stale: 2
15-
days-before-issue-close: 2
16-
any-of-labels: "invalid,need-repro-project"
15+
any-of-labels: "invalid"
16+
stale-issue-label: "stale"
17+
stale-issue-message: "Since the issue was labeled with `invalid`, but no response in 2 days. This issue will be closed after 2 days. If you have any questions, you can comment and reply. \r\r 由于该 issue 被标记为不合规工程,却 2 天未收到回应,该 Issue 将与 2 天后自动关闭。"
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
19+
- uses: actions/stale@v9
20+
with:
21+
days-before-issue-stale: 2
22+
any-of-labels: "need-repro-project"
1723
stale-issue-label: "stale"
18-
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,若有任何问题,可评论回复"
19-
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,若有任何问题,可评论回复"
24+
stale-issue-message: "Since the issue was labeled with `need-repro-project`, but no response in 2 days. This issue will be closed after 2 days. If you have any questions, you can comment and reply. \r\r 由于该 issue 被标记为需要复现工程,却 2 天未收到回应,该 Issue 将与 2 天后自动关闭。"
25+
repo-token: ${{ secrets.GITHUB_TOKEN }}
26+
- uses: actions/stale@v9
27+
with:
28+
days-before-issue-close: 2
29+
any-of-labels: "stale"
30+
close-issue-message: "Since the issue was labeled with `stale`, but no response in 2 days. This issue will be closed. If you have any questions, you can comment and reply. \r\r 由于该 issue 被标记为过期工程,却 2 天未收到回应。现关闭 issue,若有任何问题,可评论回复。"
2031
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)