diff --git a/services/pull/commit_status.go b/services/pull/commit_status.go index fdae8424a..514bcee8f 100644 --- a/services/pull/commit_status.go +++ b/services/pull/commit_status.go @@ -60,7 +60,7 @@ func MergeRequiredContextsCommitStatus(commitStatuses []*git_model.CommitStatus, } } - if matchedCount == 0 { + if matchedCount == 0 && returnedStatus == structs.CommitStatusSuccess { status := git_model.CalcCommitStatus(commitStatuses) if status != nil { return status.State