|
1 |
| -let printPreamble = true; |
2 |
| -const preamble = `For more documentation and support please visit https://konveyor.io/move2kube/ |
3 |
| -# Changelog |
4 |
| -`; |
5 |
| - |
6 |
| -function printPreambleAndGroupName({ heading }) { |
7 |
| - const line = `\n## ${heading}\n`; |
8 |
| - if (printPreamble) { |
9 |
| - printPreamble = false; |
10 |
| - return preamble + line; |
11 |
| - } |
12 |
| - return line; |
13 |
| -} |
14 |
| - |
15 | 1 | module.exports = {
|
16 |
| - "dataSource": "prs", |
17 |
| - "prefix": "[WIP] Move2Kube Operator ", |
| 2 | + title_prefix: "[WIP] Move2Kube Operator ", |
18 | 3 | // valid PR types: ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert']
|
19 |
| - "groupBy": |
20 |
| - { |
21 |
| - "🚀 Features": ["enhancement", "feat", "perf"], |
22 |
| - "🐛 Bug Fixes": ["bug", "fix", "revert"], |
23 |
| - "🧹 Maintenance": ["docs", "style", "refactor", "test", "build", "ci", "chore"] |
24 |
| - }, |
25 |
| - "template": { |
26 |
| - "group": printPreambleAndGroupName, |
27 |
| - "issue": ({ name, text, url }) => `- ${name} [${text}](${url})`, |
28 |
| - } |
| 4 | + sections: [ |
| 5 | + { title: "🚀 Features", labels: ["enhancement", "feat", "perf"] }, |
| 6 | + { title: "🐛 Bug Fixes", labels: ["bug", "fix", "revert"] }, |
| 7 | + { title: "🧹 Maintenance", labels: ["docs", "style", "refactor", "test", "build", "ci", "chore"] }, |
| 8 | + ], |
| 9 | + header: `For more documentation and support please visit https://konveyor.io/move2kube/ |
| 10 | + # Changelog`, |
| 11 | + line_template: x => `- ${x.title} [#${x.number}](${x.html_url})`, |
29 | 12 | }
|
0 commit comments