From c50623c9e6960d603b3d1d593633de48a052cb44 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 14 Mar 2026 18:59:25 +0000 Subject: [PATCH 1/2] Initial plan From dd44cbd08b188d7955d9a92f8f4fb316387716f3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 14 Mar 2026 19:06:56 +0000 Subject: [PATCH 2/2] Fix lint: replace fmt.Sprintf with string concatenation in git.go Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --- pkg/cli/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cli/git.go b/pkg/cli/git.go index 459b9e63976..8b4f9fbf195 100644 --- a/pkg/cli/git.go +++ b/pkg/cli/git.go @@ -176,7 +176,7 @@ func getGHESAllowedDomains() []string { // For GHES, allow both the main host and api subdomain domains := []string{ host, - fmt.Sprintf("api.%s", host), + "api." + host, } gitLog.Printf("GHES allowed domains: %v", domains)