diff --git a/pkg/recipe/execute.go b/pkg/recipe/execute.go index d8410106..c8a25044 100644 --- a/pkg/recipe/execute.go +++ b/pkg/recipe/execute.go @@ -43,6 +43,12 @@ func (re *Recipe) Execute(values VariableValues, id uuid.UUID) (*Sauce, error) { if len(strings.TrimSpace(string(content))) == 0 { continue } + + // Skip files starting with "_" + if strings.HasPrefix(filename, "_") { + continue + } + sum := sha256.Sum256(content) sauce.Files[filename] = File{Content: content, Checksum: fmt.Sprintf("sha256:%x", sum)} idx += 1