From 61e4c3218eb5ee337f912c7ab61ce478cd9e3f5b Mon Sep 17 00:00:00 2001 From: wass3r <1301201+wass3r@users.noreply.github.com> Date: Thu, 18 Jan 2024 10:43:15 -0600 Subject: [PATCH] cuddlemania --- scm/github/repo.go | 1 + 1 file changed, 1 insertion(+) diff --git a/scm/github/repo.go b/scm/github/repo.go index a6813bf81..11d5ee002 100644 --- a/scm/github/repo.go +++ b/scm/github/repo.go @@ -577,6 +577,7 @@ func (c *client) GetBranch(ctx context.Context, u *library.User, r *library.Repo client := c.newClientToken(u.GetToken()) maxRedirects := 3 + data, _, err := client.Repositories.GetBranch(ctx, r.GetOrg(), r.GetName(), branch, maxRedirects) if err != nil { return "", "", err