Skip to content

ci: Report changelog format problems rather than failing on them - #9

Merged
tablackburn merged 1 commit into
mainfrom
fix/changelog-validation-warn
Aug 28, 2026
Merged

ci: Report changelog format problems rather than failing on them#9
tablackburn merged 1 commit into
mainfrom
fix/changelog-validation-warn

Conversation

@tablackburn

Copy link
Copy Markdown
Contributor

Follow-up to #8, which turned psake/PowerShellBuild's main red immediately.

validation_level: error was the wrong level to start at. The action enforces more than the Keep a Changelog section vocabulary — it also applies a SemVer rule that a patch release may contain only Fixed and Security sections, since Added or Changed would warrant a minor bump.

PowerShellBuild's history violates it three times:

Only 'fixed, security' sections are allowed for version 0.6.2.
Only 'fixed, security' sections are allowed for version 0.7.2.
Only 'fixed, security' sections are allowed for version 0.7.3.
0.8.2 entry is invalid.

Those are releases already published. Recategorising their entries now would misdescribe what actually shipped, and cannot change the version numbers they shipped under. The finding is real and worth knowing — the project did ship features in patch releases — but it is not fixable by editing the changelog.

Reporting keeps it visible without blocking every consumer on history none of them can repair. A repository whose history is clean can raise its own level later; that is a per-repository decision rather than an org-wide one.

How this got through: #8 was verified against a hand-written script that checked section vocabulary and heading format. When the action replaced that script, the extra rules it brings were never re-verified against a real changelog before merging. Verified the wrong artifact.

🤖 Generated with Claude Code

https://claude.ai/code/session_01U1Jhu7fgTRJq7LK5MuKteE

validation_level: error turned psake/PowerShellBuild's CI red on main immediately.

The action enforces more than the Keep a Changelog section vocabulary: it also applies a SemVer rule that a patch release may contain only Fixed and Security sections, since Added or Changed would warrant a minor bump. PowerShellBuild's 0.6.2, 0.7.2 and 0.7.3 each violate it.

Those are releases already published. Recategorising their entries now would misdescribe what shipped, and cannot change the version numbers they shipped under, so the finding is real but not actionable by editing the file.

Reporting keeps the finding visible without blocking every consumer on history none of them can fix. A repository that is clean can raise its own level later.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U1Jhu7fgTRJq7LK5MuKteE
Copilot AI lite review requested due to automatic review settings August 28, 2026 19:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@tablackburn
tablackburn merged commit 6f6ac30 into main Aug 28, 2026
1 check 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.

2 participants