Update issue_lint.yml

This commit is contained in:
夏楚 2024-07-23 11:24:09 +08:00 committed by ziyuexiachu
parent 3be77616e7
commit fea7f3647e

View File

@ -43,6 +43,13 @@ jobs:
body: '此issue由于不符合模板规范已经自动关闭请重新按照模板规范确保包含模板中所有章节标题再提交\n', body: '此issue由于不符合模板规范已经自动关闭请重新按照模板规范确保包含模板中所有章节标题再提交\n',
}); });
await github.rest.issues.addLabels({
owner: context.issue.owner,
repo: context.issue.repo,
issue_number: context.issue.number,
labels: ['自动关闭']
});
await github.rest.issues.update({ await github.rest.issues.update({
owner: context.issue.owner, owner: context.issue.owner,
repo: context.issue.repo, repo: context.issue.repo,