The US expression is "spilled the beans" but I assume it's the same meaning.
It means to reveal something that is supposed to be a secret.
If you know your friend is planning a surprise party for his girlfriend's birthday and you say to him, in front of her, "Have you hired a caterer for the party yet?" you have spilled the beans.

Student or Learner