Bläddra i källkod

Fix commit_status problem when testing (#29672) (#29675)

Backport #29672 by @charles7668

Close #29661

fix #29656

Co-authored-by: charles <30816317+charles7668@users.noreply.github.com>
tags/v1.21.8
Giteabot 2 månader sedan
förälder
incheckning
1f89763744
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      services/pull/commit_status.go

+ 1
- 1
services/pull/commit_status.go Visa fil

@@ -58,7 +58,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

Laddar…
Avbryt
Spara