Using gender-based hiring quotas would be illegal in the U.S. Federal government. I can't prove it's never happened, but if it were widespread, it would be almost certain to come out. But there are plenty of other problems with the Federal hiring process.