/
.grenrc.js
37 lines (37 loc) · 1.04 KB
/
.grenrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
module.exports = {
dataSource: "prs",
prefix: "Release ",
ignoreLabels: [
"actions",
"react",
"storybook",
"dependencies",
"documentation",
"duplicate",
"help wanted",
"invalid",
"question",
"test",
"wontfix",
"workflows",
],
template: {
commit: ({ message, url, author, name }) => `- [${message}](${url}) - ${author ? `@${author}` : name}`,
issue: "- {{labels}} {{name}} [{{text}}]({{url}})",
label: "[**{{label}}**]",
noLabel: "closed",
group: "\n#### {{heading}}\n",
changelogTitle: "# Changelog\n\n",
release: function (placeholders, body) {
var fDate = new Date(placeholders.date);
return `## ${placeholders.release} ${fDate}\n${placeholders.body}`;
},
releaseSeparator: "\n---\n\n",
},
onlyMilestones: false,
groupBy: {
"Features:": ["enhancement"],
"Bug Fixes:": ["bug"],
},
changelogFilename: "CHANGELOG.md",
};