Skip to content

ci: aggregate workspace CHANGELOGs into release notes#854

Open
mcottontensor wants to merge 1 commit intoEpicGamesExt:masterfrom
mcottontensor:fix/596-root-changelog-generation
Open

ci: aggregate workspace CHANGELOGs into release notes#854
mcottontensor wants to merge 1 commit intoEpicGamesExt:masterfrom
mcottontensor:fix/596-root-changelog-generation

Conversation

@mcottontensor
Copy link
Copy Markdown
Collaborator

Summary

  • Add .github/scripts/aggregate-changelogs.mjs — reads each workspace's CHANGELOG.md (changesets-generated), extracts the most recent version section, and emits a single markdown blob to stdout.
  • Run it before ncipollo/release-action in .github/workflows/create-gh-release.yml and pipe the output into the action's bodyFile so the GitHub release page shows the aggregated workspace changes alongside the auto-generated PR list.
  • Workspace patterns are read from the root package.json; the script asserts no wildcards (current state) and exits with a clear error otherwise.

Appending the same content to the repo-root CHANGELOG.md is left as a follow-up — the script is reusable for that without further changes.

Test plan

  • node .github/scripts/aggregate-changelogs.mjs --branch UE5.7 produces a clean markdown blob with the latest section from each workspace's CHANGELOG.md.
  • No experimental / unstable Node APIs used (Node 20 LTS clean).
  • Manual: trigger a release on a UE branch and confirm the GitHub release body contains both the auto-generated PR list and the aggregated workspace changelogs.

Closes #596.

Add .github/scripts/aggregate-changelogs.mjs which reads each
workspace's CHANGELOG.md, extracts the most recent version section,
and emits a single markdown blob. The create-gh-release workflow
runs it before the release-action step and appends the result to
release notes via the action's bodyFile input.

Appending the aggregated content to the repo-root CHANGELOG.md is
a natural follow-up; the script is reusable for that without any
further changes.
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 30, 2026

⚠️ No Changeset found

Latest commit: 7c56215

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

Repo root CHANGELOG should be generated.

1 participant