You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
comment += "⚠️ Please modify the title to better describe your issue or request, and remove the example prompt. This issue will be automatically closed. If you wish to proceed, please create a new issue.\n";
comment += "⚠️ Your issue does not comply with the submission rules. Please read the guidelines before submitting again. This issue will be automatically closed. If you wish to proceed, please confirm that you have reviewed the rules before reopening or creating a new issue.\n";
48
+
await github.rest.issues.createComment({
49
+
...context.repo,
50
+
issue_number: context.issue.number,
51
+
body: comment
52
+
});
53
+
await github.rest.issues.update({
54
+
...context.repo,
55
+
issue_number: context.issue.number,
56
+
state: 'closed',
57
+
state_reason: 'not_planned',
58
+
labels: ['invalid']
59
+
});
60
+
return;
61
+
}
62
+
if (confirmHasRead) {
63
+
comment = "感谢您联系OpenList。我们会尽快回复您。\n";
64
+
comment += "Thanks for contacting OpenList. We will reply to you as soon as possible.\n\n";
0 commit comments