mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-16 18:01:34 +00:00
fix: update reusable workflow input handling (#2349) (followup)
This commit is contained in:
parent
cfa86631af
commit
77bf38bb55
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ func getEvaluatorInputs(ctx context.Context, rc *RunContext, step step, ghc *mod
|
|||
for k, v := range config.Inputs {
|
||||
value := nestedMapLookup(ghc.Event, "inputs", k)
|
||||
if value == nil {
|
||||
v.Default.Decode(&value)
|
||||
_ = v.Default.Decode(&value)
|
||||
}
|
||||
if v.Type == "boolean" {
|
||||
inputs[k] = value == "true"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue