Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 8e40df8

Browse files
Adding an additional status state check
1 parent 363f32a commit 8e40df8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/GitHub.App/Services/PullRequestService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ public async Task<Page<PullRequestListItemModel>> ReadPullRequests(
190190
{
191191
statusHasFailure = item.LastCommit
192192
.Statuses
193-
.Any(status => status.State == StatusState.Failure);
193+
.Any(status => status.State == StatusState.Failure
194+
|| status.State == StatusState.Error);
194195

195196
if (!statusHasFailure)
196197
{

0 commit comments

Comments
 (0)