sang like a canary
when a person tells everything they know about a crime or wrongdoing to the police or the authorities.
after he robbed the bank, the police caught him and brought him in for question. after a couple hours of questioning he sang like a canary.