mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-11 05:17:24 +08:00
📦 docs: 资源商店新增发布资源功能
This commit is contained in:
parent
679d6597d8
commit
c162208638
@ -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(body=new_issue_body)
|
issue.edit(title=f"Resource: {name}", body=new_issue_body)
|
||||||
issue.add_to_labels("pre-checked")
|
issue.add_to_labels("pre-checked")
|
||||||
push_check_result(issue, "✅ 预检查通过,等待管理员人工审核\n## 元数据\n" + metadata_markdown)
|
push_check_result(issue, "✅ 预检查通过,等待管理员人工审核\n## 元数据\n" + metadata_markdown)
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user