From c16220863848ef0a590747a20414ce393b7c75fa Mon Sep 17 00:00:00 2001 From: snowykami Date: Tue, 17 Sep 2024 16:16:29 +0800 Subject: [PATCH] =?UTF-8?q?:package:=20docs:=20=E8=B5=84=E6=BA=90=E5=95=86?= =?UTF-8?q?=E5=BA=97=E6=96=B0=E5=A2=9E=E5=8F=91=E5=B8=83=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liteyuki_flow/resource_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteyuki_flow/resource_handler.py b/liteyuki_flow/resource_handler.py index dd7969f8..d02b7a29 100644 --- a/liteyuki_flow/resource_handler.py +++ b/liteyuki_flow/resource_handler.py @@ -100,7 +100,7 @@ def pre_check(github: Github, issue: Issue, repo: Repository) -> err: if k not in ("name", "description", "version"): new_issue_body += f"**{k}**: {v}\n" - issue.edit(body=new_issue_body) + issue.edit(title=f"Resource: {name}", body=new_issue_body) issue.add_to_labels("pre-checked") push_check_result(issue, "✅ 预检查通过,等待管理员人工审核\n## 元数据\n" + metadata_markdown) return nil