From 3916cbeebba6d447cfa834b9fe0005c04f128954 Mon Sep 17 00:00:00 2001 From: davidvader Date: Thu, 31 Oct 2024 10:36:08 -0500 Subject: [PATCH] fix: return repo --- scm/github/repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm/github/repo.go b/scm/github/repo.go index abef37151..d5ca50ad5 100644 --- a/scm/github/repo.go +++ b/scm/github/repo.go @@ -793,7 +793,7 @@ func (c *client) SyncRepoWithInstallation(ctx context.Context, r *api.Repo) (*ap } if installation == nil { - return nil, nil + return r, nil } installationCanReadRepo, err := c.installationCanReadRepo(ctx, r, installation)