Question: conventionalcommits preset with PR owner
hrai opened this issue · comments
hrai commented
We have conventionalcommits preset in out pipeline that generates the following changelog.
Here's the full set of config.
[
// produces the release notes that are consumed by the changelog
// plugin and by the GitHub plugin (for GitHub releases)
'@semantic-release/release-notes-generator',
{
preset: 'conventionalcommits',
presetConfig: {
types,
},
writerOpts: {
commitGroupsSort: (a, b) => {
const commitGroupOrder = [
nameForType('revert'),
nameForType('perf'),
nameForType('fix'),
nameForType('feat'),
];
const gRankA = commitGroupOrder.indexOf(a.title);
const gRankB = commitGroupOrder.indexOf(b.title);
if (gRankA >= gRankB) {
return -1;
}
return 1;
},
},
},
]
Is there a way to change that to append the PR owner to each row of commit message?