From 599a07d41f837d5a58c1b92c17541ec655b13ba6 Mon Sep 17 00:00:00 2001 From: Mack Wang Date: Sat, 7 Dec 2024 14:50:35 +0800 Subject: [PATCH] fix(gitea): remote drone in master branch protection (#46) --- joint_teapot/workers/gitea.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/joint_teapot/workers/gitea.py b/joint_teapot/workers/gitea.py index 6986355..33b763e 100644 --- a/joint_teapot/workers/gitea.py +++ b/joint_teapot/workers/gitea.py @@ -260,7 +260,7 @@ class Gitea: "require_signed_commits": False, "required_approvals": max(student_count - 1, 0), "enable_status_check": True, - "status_check_contexts": ["continuous-integration/drone/pr"], + "status_check_contexts": ["Run JOJ3 on Push / run (push)"], }, ) except ApiException as e: