Skip to content

Commit

Permalink
Fix this
Browse files Browse the repository at this point in the history
  • Loading branch information
malfet committed Dec 27, 2023
1 parent c9b492a commit 1d947a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/label_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def get_last_page_num_from_header(header: Any) -> int:
# Link info looks like: <https://api.github.com/repositories/65600975/labels?per_page=100&page=2>;
# rel="next", <https://api.github.com/repositories/65600975/labels?per_page=100&page=3>; rel="last"
link_info = header["link"]
if link_info is None:
return 1
prefix = "&page="
suffix = ">;"
return int(
Expand Down

0 comments on commit 1d947a8

Please sign in to comment.