diff --git a/act/registry.go b/act/registry.go index e3a0b9c6..04b093a9 100644 --- a/act/registry.go +++ b/act/registry.go @@ -407,7 +407,7 @@ 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 { + if len(result) == 0 { return result } diff --git a/cmd/run.go b/cmd/run.go index bf992467..e8007f01 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -119,7 +119,7 @@ func StopGracefully( span.RecordError(err) } if result != nil { - _ = pluginRegistry.ActRegistry.RunAll(result) + _ = pluginRegistry.ActRegistry.RunAll(result) //nolint:contextcheck } }