My understanding is as long as you were LPR for at least 1 day in 2022, you must report and pay taxes on worldwide income for 2022. This is because you passed "green card test".
"If you are a U.S. citizen or resident alien, the rules for filing income, estate, and gift tax returns and paying estimated tax are generally the same whether you are in the United States or abroad. You are subject to tax on worldwide income from all sources and must report all taxable income and pay taxes according to the Internal Revenue Code."
More here => https://www.irs.gov/individuals/international-taxpayers/us-tax-residency-green-card-test