Skip to content

Commit

Permalink
Hotfix: increase per-page for check statuses to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansingman committed Jun 6, 2024
1 parent e5be0c7 commit 7198ba9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions merge_bot/check_dependent_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ def check_statuses_of_checks(checks: List[str], repository: str, head_sha: str,
"""
gh_api_response: requests.Response = requests.get(
f"https://api.github.com/repos/{repository}/commits/{head_sha}/check-runs",
params={
"per_page": 100,
},
headers={
"Authorization": f"Bearer {GITHUB_TOKEN}",
"Accept": "application/vnd.github+json",
Expand Down

0 comments on commit 7198ba9

Please sign in to comment.