Skip to content

Commit 27fdd03

Browse files
authored
fix(ci): change unchecked regex (OpenListTeam#1993)
fix(ci/issue): change unchecked regex Signed-off-by: KirCute <951206789@qq.com>
1 parent ea4b5e3 commit 27fdd03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/issue_pr_comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
script: |
2222
const issueBody = context.payload.issue.body || "";
23-
const unchecked = /- \[ \] /.test(issueBody);
23+
const unchecked = /- \[ \] (?!我没有阅读这个清单|I have not read these checkboxes)/.test(issueBody);
2424
let comment = "感谢您联系OpenList。我们会尽快回复您。\n";
2525
comment += "Thanks for contacting OpenList. We will reply to you as soon as possible.\n\n";
2626
if (unchecked) {

0 commit comments

Comments
 (0)