Skip to content

Commit

Permalink
📦 docs: 修改发布按钮样式
Browse files Browse the repository at this point in the history
  • Loading branch information
snowykami committed Sep 17, 2024
1 parent cdea0f8 commit 6789c16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions liteyuki_flow/resource_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, "❌ 请先通过预检查。")
Expand Down

0 comments on commit 6789c16

Please sign in to comment.