Choose the audience
Disclosing a goal to someone you see as higher in status, such as a respected mentor, lifts commitment and later performance. Telling people whose judgement you discount adds little.
Klein, Lount, Park and Linford (2020), four studies.