Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
better words
  • Loading branch information
wass3r committed Jun 30, 2025
commit 137dc6aff1794d296048d294e791d65181746da2
4 changes: 2 additions & 2 deletions compiler/native/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ func validateReservedNames(p *pipeline.Build) error {
}

if shouldValidateClone && cloneCount > 1 {
return fmt.Errorf("only one clone step is allowed")
return fmt.Errorf("only one clone step/stage is allowed - rename duplicate clone steps/stages to avoid conflicts with the reserved 'clone' name")
}

if initCount > 1 {
return fmt.Errorf("only one init step is allowed")
return fmt.Errorf("only one init step/stage is allowed - rename duplicate init steps/stages to avoid conflicts with the reserved 'init' name")
}

return nil
Expand Down
Loading