Job switch reference checks qn

Question: Would you tell your boss about a reference check from hiring HR before receiving any black and white offer? If anyone had experience in these situations, could you share how you handled it?

Thank you!