What properties of an action determine its moral worth?

What properties of an action determine its moral worth?