📦 docs: 资源商店新增发布资源功能

This commit is contained in:
远野千束 2024-09-17 16:21:18 +08:00
parent 811d1594cd
commit 5df10c66b6

View File

@ -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