"The litmus test" is determining the attitude involved.Sometimes I write about the things I do for my community. I hope that is not virtue signaling, but rather an exhortation to become involved.
Self-honesty is critical here, of course.
What is the motivation?
Is it to engage in an altruistic deed, or is the priority to curry favourable responses from the community with the intention of developing a celebrity status?