-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.grenrc.js
More file actions
55 lines (47 loc) · 2.04 KB
/
Copy path.grenrc.js
File metadata and controls
55 lines (47 loc) · 2.04 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
module.exports = {
dataSource: 'prs',
prefix: 'v',
grouped: true,
groupBy: 'label',
onlyMilestones: false,
ignoreLabels: ['skip-changelog', 'internal', 'wontfix'],
changelogFilename: 'CHANGELOG.md',
template: {
release: (variables) => {
return `# Release ${variables.release}
> ${variables.date}
## Changes in this Release
${variables.body}
## Packages
All 3 packages are included in this release:
- \`MinimalLambda\`
- \`MinimalLambda.Abstractions\`
- \`MinimalLambda.OpenTelemetry\`
These packages have been automatically published to [NuGet.org](https://www.nuget.org/packages?q=MinimalLambda).
---
**Full Changelog:** [\`${variables.previousTag}...${variables.currentTag}\`](https://github.com/LayeredCraft/minimal-lambda/compare/${variables.previousTag}...${variables.currentTag})
`;
},
group: (variables) => {
return `\n### ${variables.heading}\n\n${variables.body}`;
},
changelogTitle: '# Changelog\n\nAll notable changes to this project will be documented in this file.\n',
issue: (variables) => {
return `- [${variables.name}](${variables.url}) - @${variables.author}`;
},
},
labels: {
'type: feat': { name: '🚀 Features', description: 'New Features' },
'type: fix': { name: '🐛 Bug Fixes', description: 'Bug Fixes' },
'type: docs': { name: '📚 Documentation', description: 'Documentation' },
'type: refactor': { name: '🔄 Refactoring', description: 'Code Refactoring' },
'type: test': { name: '✅ Tests', description: 'Test Updates' },
'type: chore': { name: '🔧 Maintenance', description: 'Maintenance' },
'type: ci': { name: '⚙️ CI/CD', description: 'CI/CD Changes' },
'breaking': { name: '⚠️ Breaking Changes', description: 'Breaking Changes' },
'breaking-change': { name: '⚠️ Breaking Changes', description: 'Breaking Changes' },
'feature': { name: '🚀 Features', description: 'Features' },
'bug': { name: '🐛 Bug Fixes', description: 'Bug Fixes' },
'performance': { name: '⚡ Performance', description: 'Performance' },
},
};