提交 bc946642 编写于 作者: C chenshuai2144

add auto close issue

上级 5d5a8688
......@@ -70,7 +70,7 @@ const replyCommit = async (issueId, markdown) => {
const reply = async () => {
const issueId = process.env.ISSUE_NUMBER;
const issue = await findIssue(issueId);
if (!issue.title || issue.title.length < 6) {
if (!issue.title || issue.title.length < 12) {
replyCommit(issueId, '**请写标题!**');
closeIssue(issueId);
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册