Skip to content

Commit 9349b97

Browse files
committed
Update labels
1 parent af734c9 commit 9349b97

File tree

2 files changed

+78
-73
lines changed

2 files changed

+78
-73
lines changed

.github/labels.schema.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"title": "GitHub Labels Schema",
4+
"type": "array",
5+
"items": {
6+
"type": "object",
7+
"properties": {
8+
"name": {
9+
"type": "string",
10+
"description": "Name of the label.",
11+
"minLength": 1,
12+
"pattern": "^(?:[^\\s].*)?[^\\s]$"
13+
},
14+
"color": {
15+
"type": "string",
16+
"description": "Color of the label.",
17+
"pattern": "^#?[\\dA-Fa-f]{6}$"
18+
},
19+
"description": {
20+
"type": "string",
21+
"description": "Description of the label.",
22+
"minLength": 1,
23+
"pattern": "^(?:[^\\s].*)?[^\\s]$"
24+
},
25+
"aliases": {
26+
"type": "array",
27+
"description": "Aliases of the label.",
28+
"items": {
29+
"type": "string",
30+
"description": "Alias of the label.",
31+
"minLength": 1,
32+
"pattern": "^(?:[^\\s].*)?[^\\s]$"
33+
},
34+
"uniqueItems": true
35+
}
36+
},
37+
"required": [
38+
"name",
39+
"color"
40+
]
41+
},
42+
"uniqueItems": true
43+
}

.github/labels.yml

Lines changed: 35 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1+
# yaml-language-server: $schema=./labels.schema.json
12
- name: "Platform/Android"
23
color: "#3DDC84"
34
description: "Related to Android."
4-
aliases:
5-
- "Platform/Android 🤖"
65
- name: "Platform/AssemblyScript"
76
color: "#007AAC"
87
description: "Related to AssemblyScript."
@@ -24,13 +23,9 @@
2423
- name: "Platform/Deno"
2524
color: "#000000"
2625
description: "Related to Deno."
27-
aliases:
28-
- "Platform/Deno 🦕"
2926
- name: "Platform/DenoNetwork"
3027
color: "#000000"
31-
description: "Related to Deno Deploy, Deno KV, and/or Deno Module Registry."
32-
aliases:
33-
- "Platform/DenoDeploy"
28+
description: "Related to Deno Deploy, Deno KV, or Deno Module Registry."
3429
- name: "Platform/Dependabot"
3530
color: "#025E8C"
3631
description: "Related to Dependabot."
@@ -40,8 +35,6 @@
4035
- name: "Platform/Docker"
4136
color: "#2496ED"
4237
description: "Related to Docker."
43-
aliases:
44-
- "Platform/Docker 🐳"
4538
- name: "Platform/DotNet"
4639
color: "#512BD4"
4740
description: "Related to .NET."
@@ -54,9 +47,6 @@
5447
- name: "Platform/GitHubActions"
5548
color: "#2088FF"
5649
description: "Related to GitHub Actions."
57-
aliases:
58-
- "Platform/GitHub/Actions"
59-
- "Platform/GitHub/Actions :octocat:"
6050
- name: "Platform/GitHubPackages"
6151
color: "#181717"
6252
description: "Related to GitHub Packages."
@@ -81,53 +71,39 @@
8171
- name: "Platform/Linux"
8272
color: "#FCC624"
8373
description: "Related to Linux."
84-
aliases:
85-
- "Platform/Linux 🐧"
8674
- name: "Platform/LinuxAlpine"
8775
color: "#0D597F"
8876
description: "Related to Linux Alpine."
89-
aliases:
90-
- "Platform/Linux/Alpine"
91-
- "Platform/Linux/Alpine 🏔"
9277
- name: "Platform/LinuxDebian"
9378
color: "#A81D33"
9479
description: "Related to Linux Debian."
95-
aliases:
96-
- "Platform/Linux/Debian"
97-
- "Platform/Linux/Debian 🌪"
9880
- name: "Platform/LinuxUbuntu"
9981
color: "#E95420"
10082
description: "Related to Linux Ubuntu."
10183
- name: "Platform/MacOS"
10284
color: "#000000"
10385
description: "Related to MacOS."
104-
aliases:
105-
- "Platform/MacOS 🙂"
10686
- name: "Platform/Mastodon"
10787
color: "#6364FF"
10888
description: "Related to Mastodon."
10989
- name: "Platform/MicrosoftAzure"
11090
color: "#0078D4"
11191
description: "Related to Microsoft Azure."
112-
aliases:
113-
- "Platform/Azure"
11492
- name: "Platform/MicrosoftEdge"
11593
color: "#0078D7"
11694
description: "Related to Microsoft Edge."
11795
- name: "Platform/Minecraft"
11896
color: "#62B47A"
119-
description: "Related to Minecraft (Bedrock)."
97+
description: "Related to Minecraft (previous Minecraft Bedrock)."
12098
- name: "Platform/MinecraftJava"
12199
color: "#62B47A"
122-
description: "Related to Minecraft Java."
100+
description: "Related to Minecraft Java (previous Minecraft)."
123101
- name: "Platform/MongoDB"
124102
color: "#47A248"
125103
description: "Related to MongoDB."
126104
- name: "Platform/NodeJS"
127105
color: "#339933"
128106
description: "Related to NodeJS."
129-
aliases:
130-
- "Platform/NodeJS 🔘"
131107
- name: "Platform/NPM"
132108
color: "#CB3837"
133109
description: "Related to NPM."
@@ -137,16 +113,12 @@
137113
- name: "Platform/PowerShell"
138114
color: "#5391FE"
139115
description: "Related to PowerShell."
140-
aliases:
141-
- "Platform/PowerShell 🐚"
142116
- name: "Platform/PowerShellGallery"
143117
color: "#5391FE"
144118
description: "Related to PowerShell Gallery."
145119
- name: "Platform/Python"
146120
color: "#3776AB"
147121
description: "Related to Python."
148-
aliases:
149-
- "Platform/Python 🐍"
150122
- name: "Platform/Replit"
151123
color: "#F26207"
152124
description: "Related to Replit."
@@ -174,83 +146,73 @@
174146
- name: "Platform/Windows"
175147
color: "#0078D4"
176148
description: "Related to Windows."
177-
aliases:
178-
- "Platform/Windows 🪟"
179149
- name: "Priority/Critical 🚨"
180-
color: "#B60205"
150+
color: "#D50000"
181151
description: "Critical priority."
182152
- name: "Priority/High 🔴"
183-
color: "#E81224"
153+
color: "#F44336"
184154
description: "High priority."
185155
- name: "Priority/Low 🟢"
186-
color: "#16C60C"
156+
color: "#4CAF50"
187157
description: "Low priority."
188158
- name: "Priority/Medium 🟡"
189-
color: "#FFF100"
159+
color: "#FFEB3B"
190160
description: "Medium priority."
191161
- name: "Status/Duplicated 🔁"
192-
color: "#C0C0C0"
162+
color: "#CFD3D7" # GitHub Default Label Color
193163
description: "This already exists."
164+
aliases:
165+
- "duplicate" # GitHub Default Label
194166
- name: "Status/HelpWanted ⛑️"
195-
color: "#008672"
196-
description: "Need extra attention."
167+
color: "#008672" # GitHub Default Label Color
168+
description: "This needs extra help."
197169
aliases:
198-
- "Status/Help-Wanted ⛑"
199-
- "Status/Help-Wanted ⛑️"
200-
- "Status/HelpWanted ⛑"
201-
- "Type/Help-Wanted ⛑"
202-
- "Type/Help-Wanted ⛑️"
203-
- "Type/HelpWanted ⛑️"
204-
- "Type/HelpWanted ⛑"
170+
- "help wanted" # GitHub Default Label
205171
- name: "Status/Invalid ⚠️"
206-
color: "#E4E669"
172+
color: "#E4E669" # GitHub Default Label Color
207173
description: "This does not seem right."
208174
aliases:
209-
- "Status/Invalid ⚠"
175+
- "invalid" # GitHub Default Label
210176
- name: "Status/Investigating 🔍"
211-
color: "#FFC93B"
177+
color: "#03A9F4"
212178
description: "This is in investigating."
213-
aliases:
214-
- "Status/Investigating 🧐"
215179
- name: "Status/NoSolution 🤷"
216180
color: "#FFFFFF"
217181
description: "This cannot be worked on due to no possible solution."
218-
aliases:
219-
- "Status/No-Solution 🤷"
220182
- name: "Status/Pending 🔵"
221-
color: "#0078D7"
183+
color: "#2196F3"
222184
description: "This is new."
223-
aliases:
224-
- "Status/Unread 🔵"
225185
- name: "Status/Question ❓"
226-
color: "#D876E3"
186+
color: "#D876E3" # GitHub Default Label Color
227187
description: "This needs further information."
188+
aliases:
189+
- "question" # GitHub Default Label
228190
- name: "Status/Rejected ❌"
229-
color: "#F03710"
191+
color: "#B71C1C"
230192
description: "This is rejected."
231193
- name: "Status/Transfer ↗️"
232-
color: "#808080"
194+
color: "#607D8B"
233195
description: "This is transferred to a more relevant place."
234-
aliases:
235-
- "Status/Transfer ↗"
236196
- name: "Status/WillNotFix 🙅"
237-
color: "#FFFFFF"
197+
color: "#FFFFFF" # GitHub Default Label Color
238198
description: "This will not be worked on."
239199
aliases:
240-
- "Status/Will-Not-Fix 🙅"
200+
- "wontfix" # GitHub Default Label
241201
- name: "Type/Bug 🐛"
242-
color: "#D73A4A"
243-
description: "Something is not working."
202+
color: "#D73A4A" # GitHub Default Label Color
203+
description: "Something is not working as expected or intended."
204+
aliases:
205+
- "bug" # GitHub Default Label
244206
- name: "Type/Dependency 📦"
245-
color: "#BB9167"
207+
color: "#6D4C41"
246208
description: "Related to dependency."
247209
- name: "Type/Documentation 📓"
248-
color: "#5319E7"
249-
description: "Related to documentation."
210+
color: "#0075CA" # GitHub Default Label Color
211+
description: "Additions or improvements to the documentation."
250212
aliases:
251-
- "Type/Documentation 📚"
213+
- "documentation" # GitHub Default Label
252214
- name: "Type/Enhancement 💡"
253-
color: "#A2EEEF"
215+
color: "#A2EEEF" # GitHub Default Label Color
254216
description: "New feature or request."
255217
aliases:
256-
- "Type/Enhancement ➕"
218+
- "enhancement" # GitHub Default Label

0 commit comments

Comments
 (0)