Skip to content

Commit c232c2d

Browse files
committed
github: Sort pull request status checks
1 parent 0cef9d8 commit c232c2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/cogite/backends/github.py

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def _get_pull_request_status(response: dict) -> models.PullRequestStatus:
7171
for suite_nodes in commit_info["checkSuites"]["nodes"]
7272
)
7373
])
74+
status.checks.sort(key=lambda check: check.name)
7475

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

0 commit comments

Comments
 (0)