Repository navigation
fix(ci): use H1 release title and drop Release Content in PR bodies - #450
Merged
c-vigo merged 1 commit intoMar 26, 2026
Merged
Conversation
There was a problem hiding this comment.
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 $VERSIONfor draft PR bodies. - Remove the redundant
### Release Contentwrapper from both draft PR bodies and therelease.ymlfinalize 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Release PR bodies from
prepare-releaseand the finalize step inrelease.ymlused## Releaseplus a redundant### Release Contentwrapper, so the Keep a Changelog## [version]block was nested under an extra heading. This PR uses# Release $VERSIONfor draft PRs, keeps the existing linked H1 on finalize, and removes### Release Contenteverywhere. Downstream consumer template underassets/workspace/is kept in sync.Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
.github/workflows/prepare-release.yml— Draft PRPR_BODY: H1# Release $VERSION, drop### Release Content, changelog slice unchanged..github/workflows/release.yml— Finalize refresh heredoc: drop### Release Content; keep# [Release …](tag) - dateand 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
just test)Manual Testing Details
rgover workflow paths: no### Release Content, noPR_BODY="## Release; bothprepare-release.ymlfiles containPR_BODY="# Release.fix(ci): use H1 release title and drop Release Content in PR bodies.Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Targets release/0.3.1 so the fix can ride the current release line. See issue #449 for acceptance criteria.
Refs: #449