Skip to content
Discussion options

You must be logged in to vote

fetchChangeLogs: "branch" is necessary but not sufficient here. It controls when changelogs are fetched (at branch-creation time instead of the default "pr", which is too late for the commit), but it doesn't itself inject anything into the commit message.

The changelog you see in the MR overview tab comes from the PR body template, which is separate from the commit body.

To get release notes into the commit body you have to set commitBody explicitly. commitBodyTable: true only adds the dependency table, and commitBody: "{{{body}}}" won't work because body isn't available in the commit-body template context.

At commit time, Renovate compiles commitBody with logJSON (the ChangeLogResult) ex…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RahulGautamSingh
Comment options

Answer selected by RahulGautamSingh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants