That's a wonderful attitude. I'm the same. The stuff that's on my GitHub is there for me, I needed it and/or I wanted to contribute to it. It's not for visibility.
But with that I do feel that I've had a couple of jobs slip through the cracks. Not enough exposure.
The truth about not doing open source work and a personal GitHub profile is kind of lie.
The department I worked for at AWS had a very easy to use open source approval process to open source work we did from scratch for a client as long as it didn’t have client information we could put it here after approval.
I was able to legally/ethically fork all of the work I submitted (MIT Licensed) to my own profile after I left. But, no one cared or even looked at my open source profile.
However, I was also a major contributor to a popular open source “AWS Solution” that was big in its niche.
That means no open source work worrying about my GitHub profile, no BS “thought leadership” posts on LinkedIn. Nothing.
When I get off of work, I shut my computer down and live my life - exercising, travel, spending time with friends and family, etc.