From 2865142cc0484c20cddec37fb23b81b2b131de94 Mon Sep 17 00:00:00 2001 From: Michael Pailloncy Date: Fri, 24 Jan 2025 18:35:31 +0100 Subject: [PATCH] feat: initializes proxy for Transport if needed --- github/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/github/client.go b/github/client.go index 36f1b40..8a748c4 100644 --- a/github/client.go +++ b/github/client.go @@ -75,6 +75,7 @@ func NewClient(config *Config) (*Client, error) { Timeout: reqTimeout / 2, }).DialContext, TLSHandshakeTimeout: reqTimeout / 2, + Proxy: http.ProxyFromEnvironment, } // Create an GitHub App installation authenticated clone of transport.