alphagov / content-publisher

Publishing application for GOV.UK
https://docs.publishing.service.gov.uk/apps/content-publisher.html
MIT License
33 stars 11 forks source link

Updated political organisation config #3150

Closed ryanb-gds closed 4 months ago

ryanb-gds commented 4 months ago

This is part of preparation for the July 2024 general election.

This list was generated by using the below command in the Whitehall integration environment, as per the documentation at the top of the config file.

puts Organisation.where(political: true).order(:name).map { |o| "- '#{o.content_id}' # #{o.name}" }.join("\n")

Trello: https://trello.com/c/q90F4zsa

ryanb-gds commented 4 months ago

Tested on integration and it seems to do the trick. Once the document has been resynced the political status is updated