From 166a3807f814bfbdf2e06dd5454cfa132cee7f52 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Thu, 17 Sep 2026 13:16:47 -0600 Subject: [PATCH] fix: Route git clones through the sbx proxy so the proxy can inject credentials --- assets/sbx-kit/spec.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/sbx-kit/spec.yaml b/assets/sbx-kit/spec.yaml index f949c5a..77d4594 100644 --- a/assets/sbx-kit/spec.yaml +++ b/assets/sbx-kit/spec.yaml @@ -318,6 +318,11 @@ setup: fi user: '0' description: Configure SSH commit signing with a dynamic key command + - command: | + git config --system url."https://github.com/".insteadOf "git@github.com:" + git config --system --add url."https://github.com/".insteadOf "ssh://git@github.com/" + user: '0' + description: Route SSH GitHub remotes through HTTPS so the proxy can inject credentials startup: - command: