Skip to content

Commit

Permalink
The neutral status cannot be determined as success or failure, so the…
Browse files Browse the repository at this point in the history
… process is skipped

For example, CircleCI may often send it
  • Loading branch information
yamachu committed Nov 15, 2021
1 parent 7108011 commit c1901c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions epic/check_autobranch.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@ func mergeSucceedItem(
return true
}

if info.Status == "neutral" {
log.Println("info: natural event received. could not determine test succeeded or not")
return true
}

if info.Status != "success" {
log.Println("info: could not merge pull request")

Expand Down

0 comments on commit c1901c2

Please sign in to comment.