commit | 1beef4da201623ab58a8f432fc868f5922eaa0e1 | [log] [tgz] |
---|---|---|
author | Matt Venn <matt@mattvenn.net> | Tue Nov 29 11:21:30 2022 +0100 |
committer | Matt Venn <matt@mattvenn.net> | Tue Nov 29 11:21:30 2022 +0100 |
tree | 068a74121a61bea22950814d6118a45c29916d47 | |
parent | 2afda9de8676fdd34e3a70ddf9f884a01393afa9 [diff] |
fetch up to 100 artifacts per page
diff --git a/git_utils.py b/git_utils.py index 886bea6..a88778f 100644 --- a/git_utils.py +++ b/git_utils.py
@@ -89,7 +89,7 @@ # now get the artifacts api_url = f'https://api.github.com/repos/{user_name}/{repo}/actions/artifacts' - r = requests.get(api_url, headers=headers) + r = requests.get(api_url, headers=headers, params={'per_page': 100}) data = r.json() # check there are some artifacts