chore: remove Result from task and step

This commit is contained in:
Jason Song
2022-11-18 12:26:34 +08:00
parent dd417a3270
commit 0f5aab0c1a
6 changed files with 33 additions and 27 deletions

View File

@ -148,7 +148,7 @@ func InsertRun(run *Run, jobs []*jobparser.SingleWorkflow) error {
}
run.Index = index
if run.Status == StatusUnknown {
if run.Status.IsUnknown() {
run.Status = StatusWaiting
}