Maybe not, but MS does follow the DMCA takedown process.
> "If the notice alleges that the entire contents of a repository infringe, or a package infringes, we will skip to Step 6 and disable the entire repository or package expeditiously." [0]
This is what was going on with some Grand Theft Auto mods[1] and youtube-dl [2]
[0] https://docs.github.com/en/site-policy/content-removal-polic...
[1] https://www.thegamer.com/taketwo-dmca-takedowns-gta-mods/
[2] https://www.bleepingcomputer.com/news/software/youtube-dl-re...