mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-26 14:05:03 +08:00
📦 docs: 资源商店新增发布资源功能
This commit is contained in:
parent
7ef36c6933
commit
d867996072
@ -137,6 +137,8 @@ def add_resource(github: Github, issue: Issue, repo: Repository):
|
||||
parents=[repo.get_git_commit(ref.object.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):
|
||||
|
Loading…
Reference in New Issue
Block a user