diff --git a/tools/actions/lint-release-proposal-commit-list.mjs b/tools/actions/lint-release-proposal-commit-list.mjs
index b5104a6503e489..a0deecc00edb1f 100755
--- a/tools/actions/lint-release-proposal-commit-list.mjs
+++ b/tools/actions/lint-release-proposal-commit-list.mjs
@@ -26,9 +26,13 @@ if (commitListingStart === -1) {
commitList = changelog.replace(/(^.+\n### Semver-Major|\n### Semver-(Minor|Patch)) Commits\n/gs, '')
.replaceAll('**(SEMVER-MAJOR)** ', '');
} else {
- const commitListingEnd = changelog.indexOf('\n\n<\/a>\n\n## \d+-\d+-\d+, Version \1/.exec(changelog);
+ assert.ok(releaseStart, 'Could not determine the start of the release section');
+ const releaseEnd = changelog.indexOf('\n\n