Be smart enough to determine if your interests align with the company's interests before talking to HR. Sometimes they do.
Ever had a complaint made against you? Possibly - maybe it was quietly filed away. Ever wonder if people are paying attention to when you come into the office? They are.
I went through an outsourcing at my last job and for nine+ months the only people that knew it was coming was executive leadership, the CIO, and his HR staff.
HR is risky because they have hidden information in spades. The interests you think align might not after all.
Frankly, if you are to the point where HR is even in the conversation, then you really need to have a large financial incentive to stay around. The reward better be worth the risk.