You might be looking at split year treatment. If you qualify for split year then you only report any foreign income for the UK part of the year.
RDRM12000 - Residence: The SRT: Split year treatment
If you do not qualify then you will need to report all your foreign income to the UK.
Tax on foreign income
The guidance at RDRM12150 at GOV.UK will help you work out if split year treatment applies. A tax return may be required