Skip to content

Commit

Permalink
Fixing the issue when status check per rule matches multiple actions. (
Browse files Browse the repository at this point in the history
  • Loading branch information
charles7668 committed Mar 6, 2024
1 parent 90a3f2d commit 0c0ea5d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions services/pull/commit_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ func MergeRequiredContextsCommitStatus(commitStatuses []*git_model.CommitStatus,
}
}

if matchedCount != len(requiredContexts) {
return structs.CommitStatusPending
}

if matchedCount == 0 {
status := git_model.CalcCommitStatus(commitStatuses)
if status != nil {
Expand Down

0 comments on commit 0c0ea5d

Please sign in to comment.