mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2026-05-06 15:20:32 +08:00
fix(ci): change unchecked regex (#1993)
fix(ci/issue): change unchecked regex Signed-off-by: KirCute <951206789@qq.com>
This commit is contained in:
2
.github/workflows/issue_pr_comment.yml
vendored
2
.github/workflows/issue_pr_comment.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
with:
|
||||
script: |
|
||||
const issueBody = context.payload.issue.body || "";
|
||||
const unchecked = /- \[ \] /.test(issueBody);
|
||||
const unchecked = /- \[ \] (?!我没有阅读这个清单|I have not read these checkboxes)/.test(issueBody);
|
||||
let comment = "感谢您联系OpenList。我们会尽快回复您。\n";
|
||||
comment += "Thanks for contacting OpenList. We will reply to you as soon as possible.\n\n";
|
||||
if (unchecked) {
|
||||
|
||||
Reference in New Issue
Block a user