Should I tell my girlfriend my friend confessed to me?

My friend told me she wishes I didn’t have a girlfriend and that I was her type.
I felt like telling my girlfriend because it made me feel like I didn’t feel any way for any other girl and that she was truly special to me; I obviously said to my friend that I only see her as a friend.

But I then I realised telling my girlfriend what happened might cause worry or second guessing about me.
Does she need to know or are some things best kept unknown
Should I tell my girlfriend my friend confessed to me?
Post Opinion