Skip to content

Commit

Permalink
Add check for empty execution_type
Browse files Browse the repository at this point in the history
  • Loading branch information
gostouche committed May 31, 2023
1 parent 4c41616 commit 6e7d1ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/actions/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ func buildFunc(cmd *cobra.Command, args []string) {
func mustParseAndValidateActions(projectActions *actionsModel.ProjectActions) {
for name, spec := range projectActions.Specs {
if spec.ExecutionType != actionsModel.ParallelExecutionType &&
spec.ExecutionType != actionsModel.SequentialExecutionType {
spec.ExecutionType != actionsModel.SequentialExecutionType &&
spec.ExecutionType != "" {
userError.LogErrorf(
"validation of action failed",
userError.NewUserError(
Expand Down

0 comments on commit 6e7d1ab

Please sign in to comment.