The act or practice of conspicuously displaying one's awareness of and attentiveness to political issues, matters of social and racial justice, etc., especially instead of taking effective action. [1]
And from the person who coined the term:
British journalist James Bartholomew claims to have originated the modern usage of the term "virtue signalling," in a 2015 Spectator article. His 2015 formulation described virtue signalling as empty boasting.
"No one actually has to do anything. Virtue comes from mere words or even from silently held beliefs. There was a time in the distant past when people thought you could only be virtuous by doing things...[that] involve effort and self-sacrifice." [2]
[1] https://www.merriam-webster.com/dictionary/virtue%20signalin...