Merge pull request #382 from gabriel-samfira/set-base-url

set base URL in ghinstallation transport
This commit is contained in:
Gabriel 2025-05-04 01:28:16 +03:00 committed by GitHub
commit cc1470fe08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -663,6 +663,7 @@ func (g GithubCredentials) GetHTTPClient(ctx context.Context) (*http.Client, err
if err != nil {
return nil, fmt.Errorf("failed to create github app installation transport: %w", err)
}
itr.BaseURL = g.APIBaseURL
tc = &http.Client{Transport: itr}
default: