Skip to content

feat(git-node): refactor metadata generation#1036

Open
aduh95 wants to merge 3 commits intonodejs:mainfrom
aduh95:clean-metadata
Open

feat(git-node): refactor metadata generation#1036
aduh95 wants to merge 3 commits intonodejs:mainfrom
aduh95:clean-metadata

Conversation

@aduh95
Copy link
Contributor

@aduh95 aduh95 commented Mar 16, 2026

Sometimes Node.js contributors add a PR-URL to their commit message (e.g. because the commit is cherry-picked from a different PR), and NCU may end up generating a commit referencing multiple PR-URLs. It's not ideal, in nodejs/core-validate-commit#125 I've explored the idea of making the CI fail on those, but it seems easier to have NCU ignore the user provided trailers when it's going to add the correct ones anyway.

A consequence of that is that commits backported with a manual PR would now list the reviewers of the backport PR rather than the original PR, which seems more logical to me anyway.

Loading
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.

1 participant