गतसङ्गस्य मुक्तस्य ज्ञानावस्थितचेतसः।
यज्ञायाचरतः कर्म समग्रं प्रविलीयते॥23॥
gatasaṅgasya muktasya jñānāvasthitacetasaḥ yajñāyācarataḥ karma samagraṃ pravilīyate
For one whose attachment is gone, who is free, whose mind rests in knowledge and who acts as a yajna, an offering, all action melts away entirely.
Here yajna means work done in a spirit of offering, not only for oneself. When work becomes service and offering, it leaves no knot in the mind. This is what the Gita calls the melting away of action.
gata-sangasya: of one whose attachment is gone; muktasya: of the free; jnanavasthita-chetasah: of one whose mind rests in knowledge; yajnaya: as a yajna (offering); acharatah: of one who acts; karma: action; samagram: entirely; praviliyate: melts away

