Hi LNG@UK,
You would need to review the guidance on residency and take the residencey test at RDR3.
RDR3 Statutory Residence Test
This will allow you to determine your UK tax residence status.
This will then allow you to determine if you have any income or capital gains tax to declare in the UK.
Thank you.