Skip to content

Commit d767ea9

Browse files
committed
fix: consider merge conflict done
1 parent 1db3b4e commit d767ea9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/stainlessutils/stainlessutils.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,10 @@ func (bt *BuildTarget) IsCompleted() bool {
225225
if !gjson.Get(bt.RawJSON(), step).Exists() {
226226
continue
227227
}
228-
status, _, _ := bt.StepInfo(step)
228+
status, _, conclusion := bt.StepInfo(step)
229+
if conclusion == "merge_conflict" {
230+
return true
231+
}
229232
if status != "completed" {
230233
return false
231234
}

0 commit comments

Comments
 (0)