diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a843c68..f59b28ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### ⚡️ Added + +* Increased the pagination limit for GitHub to 100, by [@Seanstoppable](https://github.com/Seanstoppable) + ## 0.8.0 ### ⚡️ Added diff --git a/modules/github/github_repo.go b/modules/github/github_repo.go index b5e61020..79c8d728 100644 --- a/modules/github/github_repo.go +++ b/modules/github/github_repo.go @@ -160,6 +160,7 @@ func (repo *GithubRepo) loadPullRequests() ([]*ghb.PullRequest, error) { } opts := &ghb.PullRequestListOptions{} + opts.ListOptions.PerPage = 100 prs, _, err := github.PullRequests.List(context.Background(), repo.Owner, repo.Name, opts)