Don't hardcode the page value

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-09-12 10:40:09 +01:00 committed by Gareth J. Greenaway
parent 2475f4fd14
commit 618d26013e

View file

@ -238,7 +238,7 @@ def download_artifact(
page += 1
params = {
"per_page": 100,
"page": 1,
"page": page,
}
ret = web.get(
f"https://api.github.com/repos/{repository}/actions/runs/{run_id}/artifacts",