Skip to content

Commit

Permalink
get max of 100 branch names
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Dec 13, 2024
1 parent b1ebca0 commit 8c5855f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ def get_repo_releases_branches(pipeline, wfs):
raise AssertionError(f"Not able to find pipeline '{pipeline}'")

# Get branch information from github api - should be no need to check if the repo exists again
branch_response = gh_api.safe_get(f"https://api.github.com/repos/{pipeline}/branches")
branch_response = gh_api.safe_get(f"https://api.github.com/repos/{pipeline}/branches?per_page=100")
for branch in branch_response.json():
if (
branch["name"] != "TEMPLATE"
Expand Down

0 comments on commit 8c5855f

Please sign in to comment.