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

fix: make sure antsibull-changelog doesn't offend ansible-lint #367

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

gardar
Copy link
Member

@gardar gardar commented May 24, 2024

Finally figured out why the format of changelog.yaml gets messed up from time to time.
I thought antsichaut was the culpit but it turns out that antsibull-changelog was responsible.

The workflow first passes the changelog to antsibull-changelog and then to antsichaut.
antsibull-changelog rewrites the changelog even if there is no new change but antsichaut skips processing it when there are no new changes.
And apparently the yaml that antsibull-changelog was putting out was not compatible with ansible-lint.

I've proposed fixes over at ansible-community/antsibull-changelog#160 and ansible-community/antsibull-changelog#165

@gardar gardar force-pushed the fix-changelog-breakage branch from 2835a8a to 370e462 Compare May 24, 2024 20:54
@github-actions github-actions bot added bugfix and removed bugfix labels May 24, 2024
@gardar gardar requested a review from SuperQ May 24, 2024 20:55
@SuperQ
Copy link
Contributor

SuperQ commented May 25, 2024

Looks like the upstream change has been approved. Let's give it a bit to see if they merge.

@github-actions github-actions bot added bugfix and removed bugfix labels May 27, 2024
@gardar
Copy link
Member Author

gardar commented May 27, 2024

Looks like the upstream change has been approved. Let's give it a bit to see if they merge.

Yeah sure, I've added another PR which fixes the sorting of the changelog entries as well: ansible-community/antsibull-changelog#165

@gardar gardar force-pushed the fix-changelog-breakage branch from 370e462 to a0f367d Compare June 19, 2024 22:02
@github-actions github-actions bot added bugfix and removed bugfix labels Jun 19, 2024
@gardar gardar force-pushed the fix-changelog-breakage branch from a0f367d to 81fb097 Compare June 19, 2024 22:05
@github-actions github-actions bot added bugfix and removed bugfix labels Jun 19, 2024
@gardar gardar merged commit bec32d1 into prometheus-community:main Jun 19, 2024
20 of 21 checks passed
@gardar gardar deleted the fix-changelog-breakage branch June 19, 2024 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants