Fetch 100 results per page (#33124)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2025-06-20 16:44:39 -04:00 committed by GitHub
parent 9597c73f2b
commit 9f2c541ab0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,8 +47,8 @@ def main(
# GitHub Workflow will pass in the token as an environment variable,
# but we can place it in our env when running the script locally, for convenience
github_token = github_token or os.getenv("GITHUB_ACCESS_TOKEN")
github = Github(github_token)
with Github(github_token, per_page=100) as github:
remaining_requests_before: int = github.rate_limiting[0]
print(f"Remaining requests before: {remaining_requests_before}")