From 64e07162ead19beb4178fed086f9680bbadf9a69 Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Fri, 26 Apr 2024 11:40:39 -0400 Subject: [PATCH] temp: disable auto-merge only for edx-platform (#505) Details: https://github.com/openedx/axim-engineering/issues/1096 --- edx_repo_tools/repo_checks/repo_checks.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/edx_repo_tools/repo_checks/repo_checks.py b/edx_repo_tools/repo_checks/repo_checks.py index bc9c6ae2..a9d73303 100644 --- a/edx_repo_tools/repo_checks/repo_checks.py +++ b/edx_repo_tools/repo_checks/repo_checks.py @@ -174,7 +174,10 @@ def __init__(self, api: GhApi, org: str, repo: str): self.expected_settings = { "has_issues": True, "has_wiki": False, - "allow_auto_merge": True, + # The goal is to have allow_auto_merge==True for all repos, but for now we need + # to turn it off for edx-platform due to some unresolved issues with its complex + # system of checks: https://github.com/openedx/axim-engineering/issues/1096 + "allow_auto_merge": self.repo_name != "edx-platform", "delete_branch_on_merge": True, }