From 25917c4b360d1d85d815e8b0d60f24de002e3225 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 18 Oct 2023 14:12:45 +0200 Subject: [PATCH] backport_pr.py: increase entries per page for branches GET --- dist/tools/backport_pr/backport_pr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/tools/backport_pr/backport_pr.py b/dist/tools/backport_pr/backport_pr.py index 8680bd36bd..e90af36dbc 100755 --- a/dist/tools/backport_pr/backport_pr.py +++ b/dist/tools/backport_pr/backport_pr.py @@ -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}: "