Unfortunately, there is not enough information to judge whether telling your friend the secret would be appropriate. Where did you hear it from? Do you trust the source? How serious is this secret?