Skip to content

Commit 0c0ea5d

Browse files
committed
Fixing the issue when status check per rule matches multiple actions. (#29628)
1 parent 90a3f2d commit 0c0ea5d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

services/pull/commit_status.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ func MergeRequiredContextsCommitStatus(commitStatuses []*git_model.CommitStatus,
5151
}
5252
}
5353

54-
if matchedCount != len(requiredContexts) {
55-
return structs.CommitStatusPending
56-
}
57-
5854
if matchedCount == 0 {
5955
status := git_model.CalcCommitStatus(commitStatuses)
6056
if status != nil {

0 commit comments

Comments
 (0)