However I would still encourage open source authors to be educated on Chinese law and to avoid telling Chinese citizens to do things that could potentially get them arrested in China. If there is a real legal threat there it's irresponsible to ignore it. So in the end it's probably good that it was posted on Github.
Edit to respond to your edit: That's not my view. The issue is that the police have already been called by a different party. (or the equivalent of it, i.e. the company is contractually obligated to contact the government in the event of a violation, under threat of legal action from that government) The email appears to just be informing them of that fact. In my view, that is the only responsible thing to do. The only other option is to just not inform them, and have the police show up anyway.