diff --git a/act/registry.go b/act/registry.go index 68fe97ab..e3a0b9c6 100644 --- a/act/registry.go +++ b/act/registry.go @@ -407,6 +407,10 @@ func runActionWithTimeout( // RunAll run all the actions in the outputs and returns the end result. func (r *Registry) RunAll(result map[string]any) map[string]any { + if result == nil || len(result) == 0 { + return result + } + if _, exists := result[sdkAct.Outputs]; !exists { r.Logger.Debug().Msg("Outputs key is not present, returning the result as-is") return result