Skip to content

Commit 133beae

Browse files
🤖 Update labels (#1536)
* Define repo-specific labels. This commit adds a `.appends/.github/labels.yml` file, which contains the repo-specific labels. This file will automatically be combined with the Exercism-wide labels defined in https://github.com/exercism/org-wide-files/blob/main/global-files/.github/labels.yml to form the `.github/labels.yml` file. * Define the labels used in this repo. This commit adds a `.github/labels.yml` file, which contains the full list of labels that this repo can use. This file is a combination of the `.appends/.github/labels.yml` file and the Exercism-wide labels defined in https://github.com/exercism/org-wide-files/blob/main/global-files/.github/labels.yml. * Add a GitHub Actions workflow to automatically sync the repository labels. This commit adds a `.github/workflow/sync-labels.yml` file, which defines a workflow that syncs this repository's labels with the contents of the `.github/labels.yml` file. The labels are synced automatically whenever the `.github/labels.yml` file changes.
1 parent af64d25 commit 133beae

File tree

3 files changed

+114
-81
lines changed

3 files changed

+114
-81
lines changed

‎.appends/.github/labels.yml

+23-55
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,40 @@
1-
- name: "bug"
2-
description: ""
3-
color: "fc2929"
4-
5-
- name: "dependencies"
6-
description: "Pull requests that update a dependency file"
7-
color: "0025ff"
1+
# ----------------------------------------------------------------------------------------- #
2+
# These are the repository-specific labels that augment the Exercise-wide labels defined in #
3+
# https://github.com/exercism/org-wide-files/blob/main/global-files/.github/labels.yml. #
4+
# ----------------------------------------------------------------------------------------- #
85

9-
- name: "discussion"
10-
description: ""
11-
color: "cc317c"
6+
- name: "bug"
7+
description: "Something isn't working"
8+
color: "d73a4a"
129

1310
- name: "documentation"
14-
description: ""
15-
color: "cc317c"
11+
description: "Improvements or additions to documentation"
12+
color: "0075ca"
1613

1714
- name: "duplicate"
18-
description: ""
19-
color: "cccccc"
15+
description: "This issue or pull request already exists"
16+
color: "cfd3d7"
2017

2118
- name: "enhancement"
22-
description: ""
23-
color: "84b6eb"
24-
25-
- name: "feature"
26-
description: ""
27-
color: "0e8a16"
19+
description: "New feature or request"
20+
color: "a2eeef"
2821

2922
- name: "good first issue"
30-
description: ""
31-
color: "fcd8c4"
32-
33-
- name: "hacktoberfest"
34-
description: ""
35-
color: "FF4500"
23+
description: "Good for newcomers"
24+
color: "7057ff"
3625

3726
- name: "help wanted"
38-
description: ""
39-
color: "0e8a16"
40-
41-
- name: "in-progress"
42-
description: ""
43-
color: "fbca04"
27+
description: "Extra attention is needed"
28+
color: "008672"
4429

4530
- name: "invalid"
46-
description: ""
47-
color: "cccccc"
48-
49-
- name: "on-hold"
50-
description: ""
51-
color: "cccccc"
52-
53-
- name: "optimization"
54-
description: ""
55-
color: "84b6eb"
31+
description: "This doesn't seem right"
32+
color: "e4e669"
5633

5734
- name: "question"
58-
description: ""
59-
color: "cc317c"
60-
61-
- name: "v3-migration 🤖"
62-
description: "Preparing for Exercism v3"
63-
color: "E99695"
64-
65-
- name: "waiting-on-external"
66-
description: ""
67-
color: "2020a3"
35+
description: "Further information is requested"
36+
color: "d876e3"
6837

6938
- name: "wontfix"
70-
description: ""
71-
color: "cccccc"
72-
39+
description: "This will not be worked on"
40+
color: "ffffff"

‎.github/labels.yml

+90-25
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,30 @@
1-
# This is an auto-generated file. Please don't edit this file directly.
1+
# ------------------------------------------------------------- #
2+
# This is an auto-generated file - Do not edit it file directly #
3+
# ------------------------------------------------------------- #
24

35
# This file is automatically generated by merging two files:
4-
# 1. The Exercism-wide labels: defined in https://github.com/exercism/org-wide-files/blob/main/synced-files/.github/labels.yml)
5-
# 2. The repository-specific labels: defined in a `.appends/.github/labels.yml` file (optional)
6+
# 1. The Exercism-wide labels
7+
# 2. The repository-specific labels
68
#
7-
# If you want to use additional labels besides the Exercism-wide labels,
8-
# don't edit this file directly but instead create a `.appends/.github/labels.yml`
9-
# file within this repo.
9+
# The Exercism-wide labels are defined in
10+
# https://github.com/exercism/org-wide-files/blob/main/synced-files/.github/labels.yml
1011
#
11-
# Any changes to the repo's `.appends/.github/labels.yml` file or the
12-
# Exercism-wide `labels.yml` file will automatically result in this file being
12+
# The repository-specific labels are defined in `.appends/.github/labels.yml`.
13+
# If you want to change the repository-specific labels, update the
14+
# `.appends/.github/labels.yml` file and _not_ this file.
15+
#
16+
# Any changes to the repo's `.appends/.github/labels.yml` file or the
17+
# Exercism-wide `labels.yml` file will automatically result in this file being
1318
# regenerated and the labels being updated. This typically takes 5-10 minutes.
1419

15-
# ---
16-
#
17-
# These are the Exercism-wide labels which are shared across all repos.
18-
# The Exercism-wide labels are used to show "tasks" on the website, which
20+
# --------------------------------------------------------------------- #
21+
# These are the Exercism-wide labels which are shared across all repos. #
22+
# --------------------------------------------------------------------- #
23+
24+
# The following Exercism-wide labels are used to show "tasks" on the website, which
1925
# will point users to things they can help contribute with.
2026

21-
# The x:action labels describe what sort of work the contributor
27+
# The `x:action/<value>` labels describe what sort of work the contributor
2228
# will be engaged in when working on the issue
2329
- name: "x:action/create"
2430
description: "Work on something from scratch"
@@ -40,7 +46,7 @@
4046
description: "Sync content with its latest version"
4147
color: "6f60d2"
4248

43-
# The x:knowledge labels describe how much Exercism knowledge
49+
# The `x:knowledge/<value>` labels describe how much Exercism knowledge
4450
# is required by the contributor
4551
- name: "x:knowledge/none"
4652
description: "No existing Exercism knowledge required"
@@ -58,7 +64,7 @@
5864
description: "Comprehensive Exercism knowledge required"
5965
color: "604fcd"
6066

61-
# The x:models labels indicate what part of Exercism
67+
# The `x:module/<value>` labels indicate what part of Exercism
6268
# the contributor will be working on
6369
- name: "x:module/analyzer"
6470
description: "Work on Analyzers"
@@ -88,35 +94,35 @@
8894
description: "Work on Test Runners"
8995
color: "5240c9"
9096

91-
# The x:size labels describe the expected amount of work
97+
# The `x:size/<value>` labels describe the expected amount of work
9298
# for a contributor
93-
- name: "x:size/xs"
94-
description: "Trivial amount of work"
99+
- name: "x:size/tiny"
100+
description: "Tiny amount of work"
95101
color: "4836bf"
96102

97-
- name: "x:size/s"
103+
- name: "x:size/small"
98104
description: "Small amount of work"
99105
color: "4836bf"
100106

101-
- name: "x:size/m"
102-
description: "Average amount of work"
107+
- name: "x:size/medium"
108+
description: "Medium amount of work"
103109
color: "4836bf"
104110

105-
- name: "x:size/l"
111+
- name: "x:size/large"
106112
description: "Large amount of work"
107113
color: "4836bf"
108114

109-
- name: "x:size/xl"
115+
- name: "x:size/massive"
110116
description: "Massive amount of work"
111117
color: "4836bf"
112118

113-
# The x:status label indicates if there is already someone
119+
# The `x:status/<value>` label indicates if there is already someone
114120
# working on the issue
115121
- name: "x:status/claimed"
116122
description: "Someone is working on this issue"
117123
color: "4231af"
118124

119-
# The x:type labels describe how much Exercism knowledge
125+
# The `x:type/<value>` labels describe how much Exercism knowledge
120126
# is required by the contributor
121127
- name: "x:type/ci"
122128
description: "Work on Continuous Integration (e.g. GitHub Actions workflows)"
@@ -137,3 +143,62 @@
137143
- name: "x:type/docs"
138144
description: "Work on Documentation"
139145
color: "3c2d9f"
146+
147+
# The following Exercism-wide labels are used to influence how much reputation
148+
# a contributor gets for an authored/merged/reviewed PR.
149+
# See https://github.com/exercism/docs/blob/main/product/reputation.md
150+
151+
- name: "reputation/contributed_code/major"
152+
description: "Increases the number of reputation points awarded by this PR"
153+
color: "fcfa9f"
154+
155+
- name: "reputation/contributed_code/minor"
156+
description: "Decreases the number of reputation points awarded by this PR"
157+
color: "fcfa9f"
158+
159+
# This Exercism-wide label is added to all automatically created pull requests
160+
# that help migrate/prepare a track for Exercism v3
161+
- name: "v3-migration 🤖"
162+
description: "Preparing for Exercism v3"
163+
color: "e99695"
164+
165+
# ----------------------------------------------------------------------------------------- #
166+
# These are the repository-specific labels that augment the Exercise-wide labels defined in #
167+
# https://github.com/exercism/org-wide-files/blob/main/global-files/.github/labels.yml. #
168+
# ----------------------------------------------------------------------------------------- #
169+
170+
- name: "bug"
171+
description: "Something isn't working"
172+
color: "d73a4a"
173+
174+
- name: "documentation"
175+
description: "Improvements or additions to documentation"
176+
color: "0075ca"
177+
178+
- name: "duplicate"
179+
description: "This issue or pull request already exists"
180+
color: "cfd3d7"
181+
182+
- name: "enhancement"
183+
description: "New feature or request"
184+
color: "a2eeef"
185+
186+
- name: "good first issue"
187+
description: "Good for newcomers"
188+
color: "7057ff"
189+
190+
- name: "help wanted"
191+
description: "Extra attention is needed"
192+
color: "008672"
193+
194+
- name: "invalid"
195+
description: "This doesn't seem right"
196+
color: "e4e669"
197+
198+
- name: "question"
199+
description: "Further information is requested"
200+
color: "d876e3"
201+
202+
- name: "wontfix"
203+
description: "This will not be worked on"
204+
color: "ffffff"

‎.github/workflows/sync-labels.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- .github/labels.yml
88
- .github/workflows/sync-labels.yml
99
schedule:
10-
- cron: 6 6 6 * *
10+
- cron: 0 0 1 * *
1111
workflow_dispatch:
1212

1313
jobs:

0 commit comments

Comments
 (0)