mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
set default to failed
This commit is contained in:
@@ -35,6 +35,7 @@ func getStatus(status model.StatusValue) gitlab.BuildStateValue {
|
||||
case model.StatusKilled:
|
||||
return gitlab.Canceled
|
||||
default:
|
||||
return gitlab.Failed
|
||||
// no typo: https://github.com/runatlantis/atlantis/pull/1971#issue-1093158742
|
||||
return gitlab.Pending
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user