Skip to content

Commit 7e526fe

Browse files
authored
ci: tweak headings for the release notes, fix labels and scopes (#7047)
1 parent 5be7a94 commit 7e526fe

File tree

2 files changed

+66
-10
lines changed

2 files changed

+66
-10
lines changed

.github/workflows/nightly.yml

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,21 +104,45 @@ jobs:
104104
configuration: |
105105
{
106106
"categories": [
107+
{
108+
"title": "## 🖥️ Black & White Radio Changes",
109+
"labels": ["scope:bw"]
110+
},
111+
{
112+
"title": "## 🎨 Color Radio Changes",
113+
"labels": ["scope:color"]
114+
},
115+
{
116+
"title": "## 🎮 Firmware (All Radios Generally)",
117+
"labels": ["scope:firmware", "scope:fw"]
118+
},
119+
{
120+
"title": "## 💻 Companion Software Changes",
121+
"labels": ["scope:cpn", "companion"]
122+
},
107123
{
108124
"title": "## 🚀 Features",
109-
"labels": ["feat", "feature"]
125+
"labels": ["feat", "enhancement ✨"]
110126
},
111127
{
112128
"title": "## 🐛 Fixes",
113-
"labels": ["fix", "bugfix"]
129+
"labels": ["fix", "bugfix", "bug 🪲", "bug/regression ↩️"]
130+
},
131+
{
132+
"title": "## 🧹 Chores",
133+
"labels": ["chore", "house keeping 🧹"]
134+
},
135+
{
136+
"title": "## 🔧 CI/CD",
137+
"labels": ["ci", "ci/cd 🔧"]
114138
},
115139
{
116140
"title": "## 🧪 Tests",
117-
"labels": ["test"]
141+
"labels": ["scope:test", "test", "unit tests 🧪"]
118142
},
119143
{
120144
"title": "## 📝 Documentation",
121-
"labels": ["docs"]
145+
"labels": ["scope:docs", "docs", "documentation 📝"]
122146
},
123147
{
124148
"title": "## 🔨 Refactoring",
@@ -138,8 +162,12 @@ jobs:
138162
"empty_template": "- No changes",
139163
"label_extractor": [
140164
{
141-
"pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\(.+\\))?(!)?:",
165+
"pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([^)]+\\))?(!)?:",
142166
"target": "$1"
167+
},
168+
{
169+
"pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)\\(([^)]+)\\)",
170+
"target": "scope:$2"
143171
}
144172
]
145173
}

.github/workflows/release-drafter.yml

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,21 +193,45 @@ jobs:
193193
configuration: |
194194
{
195195
"categories": [
196+
{
197+
"title": "## 🖥️ Black & White Radio Changes",
198+
"labels": ["scope:bw"]
199+
},
200+
{
201+
"title": "## 🎨 Color Radio Changes",
202+
"labels": ["scope:color"]
203+
},
204+
{
205+
"title": "## 🎮 Firmware (All Radios Generally)",
206+
"labels": ["scope:firmware", "scope:fw"]
207+
},
208+
{
209+
"title": "## 💻 Companion Software Changes",
210+
"labels": ["scope:cpn", "companion"]
211+
},
196212
{
197213
"title": "## 🚀 Features",
198-
"labels": ["feat", "feature"]
214+
"labels": ["feat", "enhancement ✨"]
199215
},
200216
{
201217
"title": "## 🐛 Fixes",
202-
"labels": ["fix", "bugfix"]
218+
"labels": ["fix", "bugfix", "bug 🪲", "bug/regression ↩️"]
219+
},
220+
{
221+
"title": "## 🧹 Chores",
222+
"labels": ["chore", "house keeping 🧹"]
223+
},
224+
{
225+
"title": "## 🔧 CI/CD",
226+
"labels": ["ci", "ci/cd 🔧"]
203227
},
204228
{
205229
"title": "## 🧪 Tests",
206-
"labels": ["test"]
230+
"labels": ["scope:test", "test", "unit tests 🧪"]
207231
},
208232
{
209233
"title": "## 📝 Documentation",
210-
"labels": ["docs"]
234+
"labels": ["scope:docs", "docs", "documentation 📝"]
211235
},
212236
{
213237
"title": "## 🔨 Refactoring",
@@ -227,8 +251,12 @@ jobs:
227251
"empty_template": "- No changes",
228252
"label_extractor": [
229253
{
230-
"pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\(.+\\))?(!)?:",
254+
"pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([^)]+\\))?(!)?:",
231255
"target": "$1"
256+
},
257+
{
258+
"pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)\\(([^)]+)\\)",
259+
"target": "scope:$2"
232260
}
233261
],
234262
"max_pull_requests": 1000,

0 commit comments

Comments
 (0)