Skip to content

Commit 7198ba9

Browse files
committed
Hotfix: increase per-page for check statuses to 100
1 parent e5be0c7 commit 7198ba9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

merge_bot/check_dependent_checks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ def check_statuses_of_checks(checks: List[str], repository: str, head_sha: str,
1919
"""
2020
gh_api_response: requests.Response = requests.get(
2121
f"https://api.github.com/repos/{repository}/commits/{head_sha}/check-runs",
22+
params={
23+
"per_page": 100,
24+
},
2225
headers={
2326
"Authorization": f"Bearer {GITHUB_TOKEN}",
2427
"Accept": "application/vnd.github+json",

0 commit comments

Comments
 (0)