Skip to content

Commit 6ff3d8f

Browse files
🤖 Update labels (#484)
* 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 18d8475 commit 6ff3d8f

File tree

3 files changed

+246
-5
lines changed

3 files changed

+246
-5
lines changed

‎.appends/.github/labels.yml

+5-5
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: "Epic"
27
description: ""
38
color: "3E4B9E"
@@ -46,11 +51,6 @@
4651
description: ""
4752
color: "ffffff"
4853

49-
- name: "v3-migration 🤖"
50-
description: "Preparing for Exercism v3"
51-
color: "E99695"
52-
5354
- name: "wontfix"
5455
description: ""
5556
color: "ffffff"
56-

‎.github/labels.yml

+220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
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+
170+
- name: "Epic"
171+
description: ""
172+
color: "3E4B9E"
173+
174+
- name: "bug"
175+
description: ""
176+
color: "fc2929"
177+
178+
- name: "dependencies"
179+
description: "Pull requests that update a dependency file"
180+
color: "0366d6"
181+
182+
- name: "duplicate"
183+
description: ""
184+
color: "cccccc"
185+
186+
- name: "enhancement"
187+
description: ""
188+
color: "84b6eb"
189+
190+
- name: "first-timers only"
191+
description: ""
192+
color: "159818"
193+
194+
- name: "good first patch"
195+
description: ""
196+
color: "159818"
197+
198+
- name: "invalid"
199+
description: ""
200+
color: "e6e6e6"
201+
202+
- name: "pinned"
203+
description: ""
204+
color: "006b75"
205+
206+
- name: "question"
207+
description: ""
208+
color: "cc317c"
209+
210+
- name: "security"
211+
description: ""
212+
color: "fbca04"
213+
214+
- name: "stale"
215+
description: ""
216+
color: "ffffff"
217+
218+
- name: "wontfix"
219+
description: ""
220+
color: "ffffff"

‎.github/workflows/sync-labels.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Tools
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- .github/labels.yml
8+
- .github/workflows/sync-labels.yml
9+
schedule:
10+
- cron: 0 0 1 * *
11+
workflow_dispatch:
12+
13+
jobs:
14+
sync-labels:
15+
name: Sync labels
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
19+
- uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)