Skip to content

Commit c25ca49

Browse files
🤖 Update labels (#754)
* 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 8f43529 commit c25ca49

File tree

3 files changed

+195
-47
lines changed

3 files changed

+195
-47
lines changed

.appends/.github/labels.yml

+5-13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
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+
# ----------------------------------------------------------------------------------------- #
5+
16
- name: "CI 🤖"
27
description: "Changes related to continuous integration"
38
color: "d2e1f2"
@@ -50,27 +55,14 @@
5055
description: ""
5156
color: "23296d"
5257

53-
- name: "reputation/contributed_code/major"
54-
description: "Increases the number of reputation points awarded by this PR"
55-
color: "fcfa9f"
56-
57-
- name: "reputation/contributed_code/minor"
58-
description: "Decreases the number of reputation points awarded by this PR"
59-
color: "fcfa9f"
60-
6158
- name: "v3"
6259
description: "Related to Exercism v3"
6360
color: "dbf2a2"
6461

65-
- name: "v3-migration 🤖"
66-
description: "Preparing for Exercism v3"
67-
color: "E99695"
68-
6962
- name: "waiting ⏳"
7063
description: "Waiting for something else to happen first"
7164
color: "FEF6EE"
7265

7366
- name: "won't fix ⛔️"
7467
description: ""
7568
color: "fce0e2"
76-

.github/labels.yml

+185-28
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,232 @@
1+
# ------------------------------------------------------------- #
2+
# This is an auto-generated file - Do not edit it file directly #
3+
# ------------------------------------------------------------- #
4+
5+
# This file is automatically generated by merging two files:
6+
# 1. The Exercism-wide labels
7+
# 2. The repository-specific labels
8+
#
9+
# The Exercism-wide labels are defined in
10+
# https://github.com/exercism/org-wide-files/blob/main/synced-files/.github/labels.yml
11+
#
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
18+
# regenerated and the labels being updated. This typically takes 5-10 minutes.
19+
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
25+
# will point users to things they can help contribute with.
26+
27+
# The `x:action/<value>` labels describe what sort of work the contributor
28+
# will be engaged in when working on the issue
29+
- name: "x:action/create"
30+
description: "Work on something from scratch"
31+
color: "6f60d2"
32+
33+
- name: "x:action/fix"
34+
description: "Fix an issue"
35+
color: "6f60d2"
36+
37+
- name: "x:action/improve"
38+
description: "Improve existing functionality/content"
39+
color: "6f60d2"
40+
41+
- name: "x:action/proofread"
42+
description: "Proofread text"
43+
color: "6f60d2"
44+
45+
- name: "x:action/sync"
46+
description: "Sync content with its latest version"
47+
color: "6f60d2"
48+
49+
# The `x:knowledge/<value>` labels describe how much Exercism knowledge
50+
# is required by the contributor
51+
- name: "x:knowledge/none"
52+
description: "No existing Exercism knowledge required"
53+
color: "604fcd"
54+
55+
- name: "x:knowledge/elementary"
56+
description: "Little Exercism knowledge required"
57+
color: "604fcd"
58+
59+
- name: "x:knowledge/intermediate"
60+
description: "Quite a bit of Exercism knowledge required"
61+
color: "604fcd"
62+
63+
- name: "x:knowledge/advanced"
64+
description: "Comprehensive Exercism knowledge required"
65+
color: "604fcd"
66+
67+
# The `x:module/<value>` labels indicate what part of Exercism
68+
# the contributor will be working on
69+
- name: "x:module/analyzer"
70+
description: "Work on Analyzers"
71+
color: "5240c9"
72+
73+
- name: "x:module/concept"
74+
description: "Work on Concepts"
75+
color: "5240c9"
76+
77+
- name: "x:module/concept-exercise"
78+
description: "Work on Concept Exercises"
79+
color: "5240c9"
80+
81+
- name: "x:module/generator"
82+
description: "Work on Exercise generators"
83+
color: "5240c9"
84+
85+
- name: "x:module/practice-exercise"
86+
description: "Work on Practice Exercises"
87+
color: "5240c9"
88+
89+
- name: "x:module/representer"
90+
description: "Work on Representers"
91+
color: "5240c9"
92+
93+
- name: "x:module/test-runner"
94+
description: "Work on Test Runners"
95+
color: "5240c9"
96+
97+
# The `x:size/<value>` labels describe the expected amount of work
98+
# for a contributor
99+
- name: "x:size/tiny"
100+
description: "Tiny amount of work"
101+
color: "4836bf"
102+
103+
- name: "x:size/small"
104+
description: "Small amount of work"
105+
color: "4836bf"
106+
107+
- name: "x:size/medium"
108+
description: "Medium amount of work"
109+
color: "4836bf"
110+
111+
- name: "x:size/large"
112+
description: "Large amount of work"
113+
color: "4836bf"
114+
115+
- name: "x:size/massive"
116+
description: "Massive amount of work"
117+
color: "4836bf"
118+
119+
# The `x:status/<value>` label indicates if there is already someone
120+
# working on the issue
121+
- name: "x:status/claimed"
122+
description: "Someone is working on this issue"
123+
color: "4231af"
124+
125+
# The `x:type/<value>` labels describe how much Exercism knowledge
126+
# is required by the contributor
127+
- name: "x:type/ci"
128+
description: "Work on Continuous Integration (e.g. GitHub Actions workflows)"
129+
color: "3c2d9f"
130+
131+
- name: "x:type/coding"
132+
description: "Work on code that will run in production"
133+
color: "3c2d9f"
134+
135+
- name: "x:type/content"
136+
description: "Work on content (e.g. exercises, concepts)"
137+
color: "3c2d9f"
138+
139+
- name: "x:type/docker"
140+
description: "Work on Dockerfiles"
141+
color: "3c2d9f"
142+
143+
- name: "x:type/docs"
144+
description: "Work on Documentation"
145+
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+
1170
- name: "CI 🤖"
2-
color: "d2e1f2"
3171
description: "Changes related to continuous integration"
172+
color: "d2e1f2"
4173

5174
- name: "bug 🐛"
6-
color: "8e2c2c"
7175
description: ""
176+
color: "8e2c2c"
8177

9178
- name: "canonical sync 🔄"
10-
color: "99C8EA"
11179
description: "For issues/changes related to synchronization between test suites and the canonical data"
180+
color: "99C8EA"
12181

13182
- name: "concept-exercise"
14-
color: "dbf2a2"
15183
description: "Adding or improving a concept exercise"
184+
color: "dbf2a2"
16185

17186
- name: "dependencies"
18-
color: "0366d6"
19187
description: "Pull requests that update a dependency file"
188+
color: "0366d6"
20189

21190
- name: "discussion 💬"
22-
color: "23296d"
23191
description: ""
192+
color: "23296d"
24193

25194
- name: "documentation 📖"
26-
color: "23296d"
27195
description: "Changing the documentation only, no coding involved"
196+
color: "23296d"
28197

29198
- name: "duplicate"
199+
description: ""
30200
color: "cccccc"
31-
description: null
32201

33202
- name: "enhancement ⭐️"
34-
color: "c3dcf7"
35203
description: "A nice-to-have"
204+
color: "c3dcf7"
36205

37206
- name: "good first issue 🐥"
38-
color: "C2E0C6"
39207
description: ""
208+
color: "C2E0C6"
40209

41210
- name: "help wanted 🤝"
42-
color: "ccd4fc"
43211
description: ""
212+
color: "ccd4fc"
44213

45214
- name: "in progress 🚧"
46-
color: "FEF6EE"
47215
description: "Already being worked on"
216+
color: "FEF6EE"
48217

49218
- name: "question ❔"
50-
color: "23296d"
51219
description: ""
52-
53-
- name: "reputation/contributed_code/major"
54-
color: "fcfa9f"
55-
description: "Increases the number of reputation points awarded by this PR"
56-
57-
- name: "reputation/contributed_code/minor"
58-
color: "fcfa9f"
59-
description: "Decreases the number of reputation points awarded by this PR"
220+
color: "23296d"
60221

61222
- name: "v3"
62-
color: "dbf2a2"
63223
description: "Related to Exercism v3"
64-
65-
- name: "v3-migration 🤖"
66-
color: "E99695"
67-
description: "Preparing for Exercism v3"
224+
color: "dbf2a2"
68225

69226
- name: "waiting ⏳"
70-
color: "FEF6EE"
71227
description: "Waiting for something else to happen first"
228+
color: "FEF6EE"
72229

73230
- name: "won't fix ⛔️"
74-
color: "fce0e2"
75231
description: ""
232+
color: "fce0e2"

.github/workflows/sync-labels.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: sync-labels
1+
name: Tools
22

33
on:
44
push:
@@ -7,16 +7,15 @@ on:
77
- .github/labels.yml
88
- .github/workflows/sync-labels.yml
99
schedule:
10-
- cron: 0 0 * * *
10+
- cron: 0 0 1 * *
11+
workflow_dispatch:
1112

1213
jobs:
1314
sync-labels:
1415
name: Sync labels
1516
runs-on: ubuntu-latest
1617
steps:
17-
- uses: actions/checkout@v2.3.4
18-
- uses: micnncim/action-label-syncer@v1.3.0
18+
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
19+
- uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c
1920
env:
2021
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
with:
22-
manifest: .github/labels.yml

0 commit comments

Comments
 (0)