Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
19985: backport_pr.py: increase entries per page for branches GET r=MrKevinWeiss a=miri64



Co-authored-by: Martine Lenders <[email protected]>
  • Loading branch information
bors[bot] and miri64 authored Oct 18, 2023
2 parents cb73e0c + 25917c4 commit 14b608c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/tools/backport_pr/backport_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def main():
release_fullname = args.release_branch
release_shortname = _branch_name_strip(args.release_branch)
else:
status, branches = github_api.repos[ORG][REPO].branches.get()
status, branches = github_api.repos[ORG][REPO].branches.get(per_page=100)
if status != 200:
print(
f"Could not retrieve branches for {ORG}/{REPO}: "
Expand Down

0 comments on commit 14b608c

Please sign in to comment.