From dc6c7007329dee02b8213e029b62fe6ec6fdd533 Mon Sep 17 00:00:00 2001 From: Tim Huynh Date: Tue, 22 Aug 2023 10:11:12 -0500 Subject: [PATCH] fix yaml vs yml issue (#471) --- action/pipeline/exec.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action/pipeline/exec.go b/action/pipeline/exec.go index cb8170ba..a6d009ac 100644 --- a/action/pipeline/exec.go +++ b/action/pipeline/exec.go @@ -41,6 +41,11 @@ func (c *Config) Exec(client compiler.Engine) error { path = filepath.Join(c.Path, c.File) } + path, err = validateFile(path) + if err != nil { + return err + } + // check if full path to pipeline file exists _, err = os.Stat(path) if err != nil {