From dcd235bcdaf94bd68a88c497a7328a5ac47eff6f Mon Sep 17 00:00:00 2001 From: Oliver Bristow Date: Thu, 17 Jan 2019 07:18:21 +0000 Subject: [PATCH] Allow empty string secrets --- actions/runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/runner.go b/actions/runner.go index b0a48af6..055c77d3 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 {