I'm not sure I'm following. How would does the gender balance of HR have a role to play here?
And if HR is posting on job boards, that's the original mistake. But gender ratio in HR is so irrelevant compared to the questions 'why is HR posting about engineering open positions' I can say quite confidently: that's not a fair question, at all, and smell like some ragebait or culture war shit.