Sternum Hurts During Dips

My sternum has always hurted during dips. I’ve been experiencing since I started lifting (approx. six months). I’ve always wanted to do dips for my triceps, but I don’t want to train through pain. However it’s not very severe pain. I’ve also heard that it may have sometimes to do with muscle tightness, is that true? Any information will be helpful, thanks.