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

This commit is contained in:
远野千束 2024-09-17 15:53:17 +08:00
parent 7ef36c6933
commit d867996072

View File

@ -137,6 +137,8 @@ def add_resource(github: Github, issue: Issue, repo: Repository):
parents=[repo.get_git_commit(ref.object.sha)] parents=[repo.get_git_commit(ref.object.sha)]
) )
ref.edit(commit.sha) ref.edit(commit.sha)
issue.remove_from_labels("pre-checked")
issue.add_to_labels("passed")
def handle_resource(github: Github, issue: Issue, repo: Repository, act_type: str): def handle_resource(github: Github, issue: Issue, repo: Repository, act_type: str):