fix: only show changed versions in node upgrade PR description#4332
Merged
fix: only show changed versions in node upgrade PR description#4332
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the scheduled Node version upgrade workflow to avoid generating noisy PR descriptions/commit messages when a Node major version didn’t actually change, improving signal in automated dependency PRs.
Changes:
- Build a dynamic version summary for the commit message that includes only the versions that changed.
- Build the PR body’s version bullet list dynamically so unchanged Node majors aren’t listed.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/node-upgrade.yml | Dynamically constructs commit message + PR body version lines based on which Node majors require updates. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 0
rentziass
approved these changes
Apr 10, 2026
rentziass
approved these changes
Apr 10, 2026
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.
The
node-upgrade.ymlworkflow always listed both Node 20 and Node 24 version transitions in the PR description and commit message, even when only one version actually changed. This produced confusing lines like:(as seen in #4287)
This fix builds the commit message and PR body dynamically so only versions that actually changed are included.