Skip to content

Commit

Permalink
github: Sort pull request status checks
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaty committed Jul 3, 2024
1 parent 0cef9d8 commit c232c2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cogite/backends/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def _get_pull_request_status(response: dict) -> models.PullRequestStatus:
for suite_nodes in commit_info["checkSuites"]["nodes"]
)
])
status.checks.sort(key=lambda check: check.name)

# The 'reviews' nodes in the response only contain reviews
# that have been performed. Pending reviews are only available
Expand Down

0 comments on commit c232c2d

Please sign in to comment.