Krishna has contributed a lot of clarity in Geeta regarding this when he spoke in His manifested form.
There are three types of actions.
1. Action ( Doership ), where one acts for his own benefit.
He lives in a dual state – “I” against others.
He has divided the world, me against the rest.
For that, he has to become smart ( crooked ), devious, struggle, win-lose, compete, greed, anger, etc.
This describes most of the people in Sansar.
2. Non-action ( also a Doership )- where one is lazy, “chooses” not to work, and keeps relying on Sansar for his sustenance.
Non-action at a physical level is still an action at the mind level because he “chose” not to act.
His “I” chose not to act.
He is still a Doer.
3. Unaction ( action without a doer )- where action IS being done, but “I” has been dissolved. No personal benefits, the “person” is dissolved.
One is driven by the inner force of consciousness ( the soul ), and since consciousness is the ultimate “parent” of the universe, such actions always bring righteousness into the world, because righteousness is the nature of consciousness.
And why is consciousness righteous, because it is a spirit.
It is homogenous and indivisible.
So, it cannot take sides among all its creations.
Actions are performed, but, from a field of consciousness that is unbiased, and is BEYOND THE MIND, a pure, divine, thoughtless state, where there is no “I”.
Mind is not pure, it is always biased.
At the end of the day, whatever it does, no matter how pure it may look, it will be for its good.
Gandhiji was a perfect example – he gave up his whole life for the freedom of India. He was a non-doer.
Gandhiji was driven by the greater good, rather than personal good.