From 3c12a8bd6d89e5f6f58e30ba54cdb984f6537f98 Mon Sep 17 00:00:00 2001 From: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com> Date: Tue, 23 Dec 2025 13:38:06 -0600 Subject: [PATCH] Update version_branch.yml --- .github/workflows/version_branch.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/version_branch.yml b/.github/workflows/version_branch.yml index 427e3b8..fb9ff09 100644 --- a/.github/workflows/version_branch.yml +++ b/.github/workflows/version_branch.yml @@ -295,6 +295,10 @@ jobs: if not any(bullet_re.match(x.rstrip(nl).rstrip(cr)) for x in moved): moved = ['- Version bump' + nl] + # Ensure VERSION line exists at top of moved block + if not any(x.lstrip().startswith('- VERSION:') for x in moved): + moved.insert(0, '- Version bump' + nl) + lines[unreleased_idx + 1:k] = moved # Reinsert a fresh UNRELEASED block after H1 insertion point