Following the announcement of a General Election, the Charity Commission have issued guidance for charities, political activity and campaigning. There is a short 5 minute introductory guide and more detailed guidance if you need it.
https://www.gov.uk/guidance/charity-campaigning-in-a-general-election-year