mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-14 13:47:24 +08:00
📦 docs: 修改发布按钮样式
This commit is contained in:
parent
cdea0f8563
commit
6789c16773
@ -129,6 +129,7 @@ def add_resource(github: Github, issue: Issue, repo: Repository) -> err:
|
||||
# if not any([True for u in repo.get_collaborators() if u.login == closed_by.login]):
|
||||
# push_publish_result(issue, "❌ 你不是仓库管理员,无法发布资源包。")
|
||||
# return ValueError("你不是仓库管理员,无法发布资源包。")
|
||||
print(issue.labels, )
|
||||
if "pre-checked" not in issue.labels:
|
||||
issue.edit(state="open")
|
||||
push_publish_result(issue, "❌ 请先通过预检查。")
|
||||
|
Loading…
Reference in New Issue
Block a user