let the cat out of the bag : Popular Idioms in English

let the cat out of the bag

To reveal a secret

Jim didn't know he was getting a promotion until Bob let the cat out of the bag.