We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ae03e4 commit 465edaeCopy full SHA for 465edae
backend/controllers/github.go
@@ -2416,7 +2416,8 @@ func (d DiggerController) GithubAppCallbackPage(c *gin.Context) {
2416
// we get repos accessible to this installation
2417
slog.Debug("Listing repositories for installation", "installationId", installationId64)
2418
2419
- listRepos, _, err := client.Apps.ListRepos(context.Background(), nil)
+ opt := &github.ListOptions{Page: 1, PerPage: 100}
2420
+ listRepos, _, err := client.Apps.ListRepos(context.Background(), opt)
2421
if err != nil {
2422
slog.Error("Failed to list existing repositories",
2423
"installationId", installationId64,
0 commit comments