diff --git a/act/exprparser/interpreter.go b/act/exprparser/interpreter.go index d3138626..81eec070 100644 --- a/act/exprparser/interpreter.go +++ b/act/exprparser/interpreter.go @@ -195,7 +195,7 @@ func (impl *interperterImpl) evaluateArrayDeref(arrayDerefNode *actionlint.Array return nil, err } - return reflect.ValueOf(left).Interface(), nil + return impl.getSafeValue(reflect.ValueOf(left)), nil } func (impl *interperterImpl) getPropertyValue(left reflect.Value, property string) (value interface{}, err error) {