diff --git a/pkg/workflow/compiler.go b/pkg/workflow/compiler.go index d9c209b6f0..16ef07e377 100644 --- a/pkg/workflow/compiler.go +++ b/pkg/workflow/compiler.go @@ -2417,6 +2417,7 @@ func (c *Compiler) buildMainJob(data *WorkflowData, activationJobCreated bool) ( return job, nil } + // generateMainJobSteps generates the steps section for the main job func (c *Compiler) generateMainJobSteps(yaml *strings.Builder, data *WorkflowData) { // Determine if we need to add a checkout step