Skip to content

👷 ci(release): accept git-cliff linked headings in the eligibility gate - #35

Merged
konih merged 1 commit into
mainfrom
fix/release-gate-linked-heading
Sep 21, 2026
Merged

konih merged 1 commit into
mainfrom
fix/release-gate-linked-heading

Conversation

@konih

@konih konih commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

The v0.1.1 release gate failed with "CHANGELOG.md has no section for 0.1.1" although the section is present: git-cliff writes ## [0.1.1](compare-url) - date and the gate only accepted ## [X.Y.Z] followed by end-of-line or a space. Adds the linked form to the fixed-string match plus a regression case in test-verify-eligibility.sh (fails without the fix).

git-cliff renders released sections as "## [X.Y.Z](compare-url) - date". The
gate only matched "## [X.Y.Z]" followed by end-of-line or a space, so the
linked form was rejected with "CHANGELOG.md has no section for X.Y.Z" even
though the section exists (hit on the v0.1.1 gate run 35574462693).

Add the linked form to the fixed-string match and a regression case.
@codecov

codecov Bot commented Sep 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud

Copy link
Copy Markdown

@konih
konih merged commit c35cc12 into main Sep 21, 2026
11 checks passed
@konih
konih deleted the fix/release-gate-linked-heading branch September 21, 2026 13:28
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.

1 participant