1
0
Fork 0
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:
Earl Warren 2025-08-10 18:35:06 +02:00
parent cfa86631af
commit 77bf38bb55
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -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"