Skip to content

fix(ci): use H1 release title and drop Release Content in PR bodies - #450

Merged
c-vigo merged 1 commit into
release/0.3.1from
bugfix/449-release-pr-body-markdown-hierarchy
Mar 26, 2026
Merged

c-vigo merged 1 commit into
release/0.3.1from
bugfix/449-release-pr-body-markdown-hierarchy

Conversation

@c-vigo

@c-vigo c-vigo commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

Description

Release PR bodies from prepare-release and the finalize step in release.yml used ## Release plus a redundant ### Release Content wrapper, so the Keep a Changelog ## [version] block was nested under an extra heading. This PR uses # Release $VERSION for draft PRs, keeps the existing linked H1 on finalize, and removes ### Release Content everywhere. Downstream consumer template under assets/workspace/ is kept in sync.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • .github/workflows/prepare-release.yml — Draft PR PR_BODY: H1 # Release $VERSION, drop ### Release Content, changelog slice unchanged.
  • .github/workflows/release.yml — Finalize refresh heredoc: drop ### Release Content; keep # [Release …](tag) - date and intro.
  • assets/workspace/.github/workflows/prepare-release.yml — Mirror draft PR body formatting for downstream installs.

Changelog Entry

No changelog needed — internal automation / PR body Markdown only; issue #449 tracked as no user-facing CHANGELOG entry.

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

  • rg over workflow paths: no ### Release Content, no PR_BODY="## Release; both prepare-release.yml files contain PR_BODY="# Release.
  • Pre-commit passed on commit fix(ci): use H1 release title and drop Release Content in PR bodies.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

Targets release/0.3.1 so the fix can ride the current release line. See issue #449 for acceptance criteria.

Refs: #449

@c-vigo c-vigo self-assigned this Mar 26, 2026
@c-vigo
c-vigo requested a review from Copilot March 26, 2026 11:58

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.

Pull request overview

Adjusts the Markdown heading hierarchy used by the automated release PR body generation/refresh so that Keep a Changelog ## [version] blocks are no longer nested under an extra wrapper heading.

Changes:

  • Update prepare-release.yml (upstream + workspace template) to use an H1 # Release $VERSION for draft PR bodies.
  • Remove the redundant ### Release Content wrapper from both draft PR bodies and the release.yml finalize refresh body.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/prepare-release.yml Draft release PR body now starts with # Release $VERSION and embeds changelog content without an extra wrapper heading.
.github/workflows/release.yml Finalize step PR body refresh removes the ### Release Content wrapper while keeping the linked H1 header format.
assets/workspace/.github/workflows/prepare-release.yml Mirrors the upstream draft PR body heading hierarchy change for downstream workspace installs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@c-vigo
c-vigo merged commit 6f79003 into release/0.3.1 Mar 26, 2026
15 checks passed
@c-vigo
c-vigo deleted the bugfix/449-release-pr-body-markdown-hierarchy branch March 26, 2026 12:06
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