-
Notifications
You must be signed in to change notification settings - Fork 3
75 lines (71 loc) · 2.61 KB
/
changelog.yml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: Changelog Generator
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
generate_changelog_file:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GH_TOKEN }}
- name: Generate changelog
uses: heinrichreimer/[email protected]
with:
token: ${{ secrets.GH_TOKEN }}
author: true
unreleased: true
unreleasedLabel: "🚧Unreleased"
issues: true
pullRequests: true
prWoLabels: false
compareLink: true
output: CHANGELOG.md
breakingLabel: "### 💥 Breaking Changes:"
breakingLabels: "breaking"
deprecatedLabel: "### 👋 Depricated"
deprecatedLabels: "deprecation"
enhancementLabel: "### ✨ Features and Enhancements:"
enhancementLabels: "enhancement"
bugsLabel: "### 🐛 Bug Fixes:"
bugLabels: "bug,bug-fix,fix,fixes"
removedLabel: '### 🗑️ Removals:'
removedLabels: 'removal'
addSections: >-
{
"documentation": {
"prefix":"### 📖 Documentation updates",
"labels":["documentation"]
},
"style": {
"prefix":"### 💄 Style",
"labels":["style"]
},
"dependencies": {
"prefix":"### 📦 Dependencies",
"labels":["dependencies"]
},
"refactoring": {
"prefix":"### 🔨 Refactoring",
"labels":["refactoring"]
},
"ci":{
"prefix":"### 👷 Build and CI",
"labels":["ci", "build"]
},
"configs":{
"prefix":"### ⚙️ Model and sweep configs",
"labels":["configs", "config"]
},
"utils":{
"prefix":"### 🧪 Peripheral utilities",
"labels":["utils", "utilities"]
}
}
# See: emojipedia.org for emoji codes
- name: Commit CHANGELOG.md
uses: EndBug/add-and-commit@v7 # You can change this to use a specific version
if: success()
with:
add: 'CHANGELOG.md'