From d8679960725681539fb3bb8c931f739f98a069cc Mon Sep 17 00:00:00 2001 From: snowykami Date: Tue, 17 Sep 2024 15:53:17 +0800 Subject: [PATCH] =?UTF-8?q?:package:=20docs:=20=E8=B5=84=E6=BA=90=E5=95=86?= =?UTF-8?q?=E5=BA=97=E6=96=B0=E5=A2=9E=E5=8F=91=E5=B8=83=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liteyuki_flow/resource_handler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/liteyuki_flow/resource_handler.py b/liteyuki_flow/resource_handler.py index 46ded8d6..739375d0 100644 --- a/liteyuki_flow/resource_handler.py +++ b/liteyuki_flow/resource_handler.py @@ -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):