Raise ListFiles responses PerPage to 300.
This helps reduce the number of API requests necessary to list all files
out.
@@ -89,6 +89,7 @@ func listChangedFiles() {
listOptions := &github.ListOptions{
Page: 1,
+ PerPage: 300,
}
for {
commitFiles, rsp, err := client.PullRequests.ListFiles(ctx, repoOwner, repoName, pullNumber, listOptions)
