mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-23 11:27:38 +08:00
📦 docs: 资源商店新增发布资源功能
This commit is contained in:
parent
811d1594cd
commit
5df10c66b6
@ -100,7 +100,7 @@ def pre_check(github: Github, issue: Issue, repo: Repository) -> err:
|
|||||||
if k not in ("name", "description", "version"):
|
if k not in ("name", "description", "version"):
|
||||||
new_issue_body += f"**{k}**: {v}\n"
|
new_issue_body += f"**{k}**: {v}\n"
|
||||||
|
|
||||||
issue.edit(title=f"Resource: {name}", body=new_issue_body)
|
issue.edit(title=f"Resource: {name}")
|
||||||
issue.add_to_labels("pre-checked")
|
issue.add_to_labels("pre-checked")
|
||||||
push_check_result(issue, f"✅ 预检查通过,等待管理员人工审核\n{publish_info}\n## 元数据\n{metadata_markdown}")
|
push_check_result(issue, f"✅ 预检查通过,等待管理员人工审核\n{publish_info}\n## 元数据\n{metadata_markdown}")
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user