Fix for issue 2232: Many lines of "Could not find any stages to run" on run (#2272)
* Initial commit * Put the tests back * Remove unnecessary checks * Remove unneeded check and fix test code --------- Co-authored-by: Jason Song <i@wolfogre.com>
This commit is contained in:
@@ -382,10 +382,6 @@ func createStages(w *Workflow, jobIDs ...string) ([]*Stage, error) {
|
||||
stages = append(stages, stage)
|
||||
}
|
||||
|
||||
if len(stages) == 0 {
|
||||
return nil, fmt.Errorf("Could not find any stages to run. View the valid jobs with `act --list`. Use `act --help` to find how to filter by Job ID/Workflow/Event Name")
|
||||
}
|
||||
|
||||
return stages, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user