Repayment of Sign-On Bonus within the same year - how to file for tax refund?

I started a new job in 2022 and received a $5,000 sign-on bonus, but resigned within the same year and also repaid the full bonus (including taxes) within the same year (2022). How do I file for a tax return on the bonus repayment? I entered the W2 info from that job, but my tax return has not changed after entering the info. Did the employer provide the incorrect dollar amount on the W2 or do I need to file an addendum in order to receive my tax refund? Any insight on this matter is greatly appreciated!