From 4625fc0f15b4688de532411e298b69e7bcd68eac Mon Sep 17 00:00:00 2001 From: Chris Busillo Date: Tue, 12 May 2026 08:45:35 -0400 Subject: [PATCH] Clear inherited gh config in code exec harness --- tools/code-exec-harness/harness.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/code-exec-harness/harness.py b/tools/code-exec-harness/harness.py index f30277fb54f1..90373d758155 100644 --- a/tools/code-exec-harness/harness.py +++ b/tools/code-exec-harness/harness.py @@ -539,6 +539,7 @@ def run_scenario(path: Path, args: argparse.Namespace) -> int: "XDG_CONFIG_HOME": str(paths.shell_home / ".config"), "ZDOTDIR": str(paths.shell_home), }) + env.pop("GH_CONFIG_DIR", None) env.update(inherited_env) for key, value in scenario.get("env", {}).items(): env[str(key)] = str(value)