diff --git a/actions/runner.go b/actions/runner.go index b0a48af..055c77d 100644 --- a/actions/runner.go +++ b/actions/runner.go @@ -333,7 +333,7 @@ func (action *actionDef) applyEnvironmentSecrets(env *[]string) { secretCache = make(map[string]string) } - if secretCache[secret] == "" { + if _, ok := secretCache[secret]; !ok { fmt.Printf("Provide value for '%s': ", secret) val, err := gopass.GetPasswdMasked() if err != nil {