mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-26 14:05:03 +08:00
📦 docs: 修改发布按钮样式
This commit is contained in:
parent
5bb4584e6a
commit
7415efcc90
@ -185,6 +185,7 @@ def add_resource(github: Github, issue: Issue, repo: Repository) -> err:
|
|||||||
ref.edit(commit.sha)
|
ref.edit(commit.sha)
|
||||||
if "pre-checked" in [l.name for l in issue.labels]:
|
if "pre-checked" in [l.name for l in issue.labels]:
|
||||||
issue.remove_from_labels("pre-checked")
|
issue.remove_from_labels("pre-checked")
|
||||||
|
issue.add_to_labels("published")
|
||||||
push_publish_result(issue, f"✅ 资源包 {name} 已发布!商店页面稍后就会更新。")
|
push_publish_result(issue, f"✅ 资源包 {name} 已发布!商店页面稍后就会更新。")
|
||||||
return nil
|
return nil
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user