Skip to content

Commit 303e8da

Browse files
🤖 Update labels (#21)
* 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 3ea0e1b commit 303e8da

File tree

3 files changed

+273
-0
lines changed

3 files changed

+273
-0
lines changed

Diff for: ‎.appends/.github/labels.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
6+
- name: "bug"
7+
description: "Something isn't working"
8+
color: "d73a4a"
9+
10+
- name: "dependencies"
11+
description: "Pull requests that update a dependency file"
12+
color: "0366d6"
13+
14+
- name: "documentation"
15+
description: "Improvements or additions to documentation"
16+
color: "0075ca"
17+
18+
- name: "duplicate"
19+
description: "This issue or pull request already exists"
20+
color: "cfd3d7"
21+
22+
- name: "enhancement"
23+
description: "New feature or request"
24+
color: "a2eeef"
25+
26+
- name: "good first issue"
27+
description: "Good for newcomers"
28+
color: "7057ff"
29+
30+
- name: "help wanted"
31+
description: "Extra attention is needed"
32+
color: "008672"
33+
34+
- name: "invalid"
35+
description: "This doesn't seem right"
36+
color: "e4e669"
37+
38+
- name: "question"
39+
description: "Further information is requested"
40+
color: "d876e3"
41+
42+
- name: "wontfix"
43+
description: "This will not be worked on"
44+
color: "ffffff"

Diff for: ‎.github/labels.yml

+208
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,208 @@
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: "bug"
171+
description: "Something isn't working"
172+
color: "d73a4a"
173+
174+
- name: "dependencies"
175+
description: "Pull requests that update a dependency file"
176+
color: "0366d6"
177+
178+
- name: "documentation"
179+
description: "Improvements or additions to documentation"
180+
color: "0075ca"
181+
182+
- name: "duplicate"
183+
description: "This issue or pull request already exists"
184+
color: "cfd3d7"
185+
186+
- name: "enhancement"
187+
description: "New feature or request"
188+
color: "a2eeef"
189+
190+
- name: "good first issue"
191+
description: "Good for newcomers"
192+
color: "7057ff"
193+
194+
- name: "help wanted"
195+
description: "Extra attention is needed"
196+
color: "008672"
197+
198+
- name: "invalid"
199+
description: "This doesn't seem right"
200+
color: "e4e669"
201+
202+
- name: "question"
203+
description: "Further information is requested"
204+
color: "d876e3"
205+
206+
- name: "wontfix"
207+
description: "This will not be worked on"
208+
color: "ffffff"

Diff for: ‎.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)