If someone took the time to look through my GitHub contributions then pitched me with a job relevant to that work I would absolutely consider them. That's exactly the kind of recruiter I would like to work with.
If it's obviously just a bot scraping emails and sending generic job requests, that's very different.