Skip to content

Commit

Permalink
Increase commit fetch (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
seachicken authored Sep 18, 2023
1 parent aedc78a commit 1a50771
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions conn/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ func (conn *Connection) GetAssociatedRefNames(ctx context.Context, oid string) (
return conn.run(ctx, "git", args, None)
}

// https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests#search-within-a-users-or-organizations-repositories
// limitations:
// - https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests#search-within-a-users-or-organizations-repositories
// - https://docs.github.com/en/graphql/overview/resource-limitations
func (conn *Connection) GetPullRequests(
ctx context.Context,
hostname string, orgs string, repos string, queryHashes string) (string, error) {
Expand All @@ -124,7 +126,7 @@ func (conn *Connection) GetPullRequests(
state
isDraft
headRefName
commits(last: 10) {
commits(last: 100) {
nodes {
commit {
oid
Expand Down

0 comments on commit 1a50771

Please sign in to comment.