['I told something to someone that I had promised to keep a secret.']
That is not nice! People do that all the time as long as the person they tell is closer to them
I told something to someone that I had promised to keep a secret.