Skip to content

Commit b6d2fbc

Browse files
committed
Add some info about fetching results from next pages when found
1 parent 02fcd6b commit b6d2fbc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def get_workflow_runs(owner, repo, token):
2828
future = executor.submit(requests.get, f"{endpoint}?per_page=100&page={page}", headers=headers, timeout=10)
2929
futures.append(future)
3030
if 'next' in future.result().links and page <= 3:
31+
logger.info("Found next page %s, fetching more results...", page)
3132
page += 1
3233
else:
3334
break

0 commit comments

Comments
 (0)