From ee887fb2aba814f5a8c3c1e4f977dba344abfe01 Mon Sep 17 00:00:00 2001 From: Snowson <15168246+Snowson@users.noreply.github.com> Date: Wed, 7 Oct 2026 00:05:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=9AFakeGitHub=20?= =?UTF-8?q?=E8=A1=A5=20disable=5Fauto=5Fmerge=EF=BC=88delivery-harness=20T?= =?UTF-8?q?715=20=E5=A5=91=E7=BA=A6=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- tests/test_harness_dispatch.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_harness_dispatch.py b/tests/test_harness_dispatch.py index b61bdef..13a9f40 100644 --- a/tests/test_harness_dispatch.py +++ b/tests/test_harness_dispatch.py @@ -123,6 +123,7 @@ def __init__(self, claimed=(), ci=(True,)): [], [], ) + self.auto_merge_disabled = [] def remote_branch_exists(self, branch): return branch in self.claimed @@ -146,6 +147,10 @@ def comment(self, pr, body, label=None): def add_label(self, pr, label): self.labels.append((pr, label)) + def disable_auto_merge(self, pr): + self.auto_merge_disabled.append(pr) + return True + def create_issue(self, title, body, labels): self.issues.append((title, body, labels))