Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actions: add action to validate the CHANGELOG #330

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

sam-berning
Copy link
Contributor

Issue number:

Closes #

Description of changes:

Ports changes for bottlerocket-os/bottlerocket-kernel-kit#13 into this repo.

Testing done:

Tested script locally, against current CHANGELOG:

$ ./tools/validate-changelog.sh 
CHANGELOG validation PASSED!

With a "v" removed from one of the version headers:

$ ./tools/validate-changelog.sh
1d0
< 1:# 5.2.0 (2024-12-20)
CHANGELOG validation FAILED! Headers must match the regex '^# v[0-9]\+\.[0-9]\+\.[0-9]\+.'

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Copy link
Member

@larvacea larvacea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gives me the validation I crave.

@sam-berning sam-berning merged commit 21a9193 into bottlerocket-os:develop Dec 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants