alphagov / govuk-infrastructure

Terraform turnup automation for the EKS Kubernetes clusters that host GOV.UK. See https://github.com/alphagov/govuk-helm-charts for application config.
MIT License
145 stars 25 forks source link

Update workflow to support standard format `CHANGELOG` files #1529

Open brucebolt opened 1 day ago

brucebolt commented 1 day ago

At the moment, the gem autorelease workflow only supports CHANGELOG fles that have version numbers with h1 level headings.

Whilst this format is used in most GOV.UK gems, there are some that have been updated to use the more standard format with a single h1 and then h2 level headings for each version.

This latter format meets accessibility standards by only having a single h1 on the page and appears to be a community standard.

Therefore updating the gem autorelease workflow to support both types of file.