🤖 Update labels (#46)
* 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.
This commit is contained in:
10
.appends/.github/labels.yml
vendored
10
.appends/.github/labels.yml
vendored
@@ -1,3 +1,8 @@
|
||||
# ----------------------------------------------------------------------------------------- #
|
||||
# These are the repository-specific labels that augment the Exercise-wide labels defined in #
|
||||
# https://github.com/exercism/org-wide-files/blob/main/global-files/.github/labels.yml. #
|
||||
# ----------------------------------------------------------------------------------------- #
|
||||
|
||||
- name: "bug"
|
||||
description: "Something isn't working"
|
||||
color: "d73a4a"
|
||||
@@ -30,11 +35,6 @@
|
||||
description: "Further information is requested"
|
||||
color: "d876e3"
|
||||
|
||||
- name: "v3-migration 🤖"
|
||||
description: "Preparing for Exercism v3"
|
||||
color: "E99695"
|
||||
|
||||
- name: "wontfix"
|
||||
description: "This will not be worked on"
|
||||
color: "ffffff"
|
||||
|
||||
|
||||
204
.github/labels.yml
vendored
Normal file
204
.github/labels.yml
vendored
Normal file
@@ -0,0 +1,204 @@
|
||||
# ------------------------------------------------------------- #
|
||||
# This is an auto-generated file - Do not edit it file directly #
|
||||
# ------------------------------------------------------------- #
|
||||
|
||||
# This file is automatically generated by merging two files:
|
||||
# 1. The Exercism-wide labels
|
||||
# 2. The repository-specific labels
|
||||
#
|
||||
# The Exercism-wide labels are defined in
|
||||
# https://github.com/exercism/org-wide-files/blob/main/synced-files/.github/labels.yml
|
||||
#
|
||||
# The repository-specific labels are defined in `.appends/.github/labels.yml`.
|
||||
# If you want to change the repository-specific labels, update the
|
||||
# `.appends/.github/labels.yml` file and _not_ this file.
|
||||
#
|
||||
# Any changes to the repo's `.appends/.github/labels.yml` file or the
|
||||
# Exercism-wide `labels.yml` file will automatically result in this file being
|
||||
# regenerated and the labels being updated. This typically takes 5-10 minutes.
|
||||
|
||||
# --------------------------------------------------------------------- #
|
||||
# These are the Exercism-wide labels which are shared across all repos. #
|
||||
# --------------------------------------------------------------------- #
|
||||
|
||||
# The following Exercism-wide labels are used to show "tasks" on the website, which
|
||||
# will point users to things they can help contribute with.
|
||||
|
||||
# The `x:action/<value>` labels describe what sort of work the contributor
|
||||
# will be engaged in when working on the issue
|
||||
- name: "x:action/create"
|
||||
description: "Work on something from scratch"
|
||||
color: "6f60d2"
|
||||
|
||||
- name: "x:action/fix"
|
||||
description: "Fix an issue"
|
||||
color: "6f60d2"
|
||||
|
||||
- name: "x:action/improve"
|
||||
description: "Improve existing functionality/content"
|
||||
color: "6f60d2"
|
||||
|
||||
- name: "x:action/proofread"
|
||||
description: "Proofread text"
|
||||
color: "6f60d2"
|
||||
|
||||
- name: "x:action/sync"
|
||||
description: "Sync content with its latest version"
|
||||
color: "6f60d2"
|
||||
|
||||
# The `x:knowledge/<value>` labels describe how much Exercism knowledge
|
||||
# is required by the contributor
|
||||
- name: "x:knowledge/none"
|
||||
description: "No existing Exercism knowledge required"
|
||||
color: "604fcd"
|
||||
|
||||
- name: "x:knowledge/elementary"
|
||||
description: "Little Exercism knowledge required"
|
||||
color: "604fcd"
|
||||
|
||||
- name: "x:knowledge/intermediate"
|
||||
description: "Quite a bit of Exercism knowledge required"
|
||||
color: "604fcd"
|
||||
|
||||
- name: "x:knowledge/advanced"
|
||||
description: "Comprehensive Exercism knowledge required"
|
||||
color: "604fcd"
|
||||
|
||||
# The `x:module/<value>` labels indicate what part of Exercism
|
||||
# the contributor will be working on
|
||||
- name: "x:module/analyzer"
|
||||
description: "Work on Analyzers"
|
||||
color: "5240c9"
|
||||
|
||||
- name: "x:module/concept"
|
||||
description: "Work on Concepts"
|
||||
color: "5240c9"
|
||||
|
||||
- name: "x:module/concept-exercise"
|
||||
description: "Work on Concept Exercises"
|
||||
color: "5240c9"
|
||||
|
||||
- name: "x:module/generator"
|
||||
description: "Work on Exercise generators"
|
||||
color: "5240c9"
|
||||
|
||||
- name: "x:module/practice-exercise"
|
||||
description: "Work on Practice Exercises"
|
||||
color: "5240c9"
|
||||
|
||||
- name: "x:module/representer"
|
||||
description: "Work on Representers"
|
||||
color: "5240c9"
|
||||
|
||||
- name: "x:module/test-runner"
|
||||
description: "Work on Test Runners"
|
||||
color: "5240c9"
|
||||
|
||||
# The `x:size/<value>` labels describe the expected amount of work
|
||||
# for a contributor
|
||||
- name: "x:size/tiny"
|
||||
description: "Tiny amount of work"
|
||||
color: "4836bf"
|
||||
|
||||
- name: "x:size/small"
|
||||
description: "Small amount of work"
|
||||
color: "4836bf"
|
||||
|
||||
- name: "x:size/medium"
|
||||
description: "Medium amount of work"
|
||||
color: "4836bf"
|
||||
|
||||
- name: "x:size/large"
|
||||
description: "Large amount of work"
|
||||
color: "4836bf"
|
||||
|
||||
- name: "x:size/massive"
|
||||
description: "Massive amount of work"
|
||||
color: "4836bf"
|
||||
|
||||
# The `x:status/<value>` label indicates if there is already someone
|
||||
# working on the issue
|
||||
- name: "x:status/claimed"
|
||||
description: "Someone is working on this issue"
|
||||
color: "4231af"
|
||||
|
||||
# The `x:type/<value>` labels describe how much Exercism knowledge
|
||||
# is required by the contributor
|
||||
- name: "x:type/ci"
|
||||
description: "Work on Continuous Integration (e.g. GitHub Actions workflows)"
|
||||
color: "3c2d9f"
|
||||
|
||||
- name: "x:type/coding"
|
||||
description: "Work on code that will run in production"
|
||||
color: "3c2d9f"
|
||||
|
||||
- name: "x:type/content"
|
||||
description: "Work on content (e.g. exercises, concepts)"
|
||||
color: "3c2d9f"
|
||||
|
||||
- name: "x:type/docker"
|
||||
description: "Work on Dockerfiles"
|
||||
color: "3c2d9f"
|
||||
|
||||
- name: "x:type/docs"
|
||||
description: "Work on Documentation"
|
||||
color: "3c2d9f"
|
||||
|
||||
# The following Exercism-wide labels are used to influence how much reputation
|
||||
# a contributor gets for an authored/merged/reviewed PR.
|
||||
# See https://github.com/exercism/docs/blob/main/product/reputation.md
|
||||
|
||||
- name: "reputation/contributed_code/major"
|
||||
description: "Increases the number of reputation points awarded by this PR"
|
||||
color: "fcfa9f"
|
||||
|
||||
- name: "reputation/contributed_code/minor"
|
||||
description: "Decreases the number of reputation points awarded by this PR"
|
||||
color: "fcfa9f"
|
||||
|
||||
# This Exercism-wide label is added to all automatically created pull requests
|
||||
# that help migrate/prepare a track for Exercism v3
|
||||
- name: "v3-migration 🤖"
|
||||
description: "Preparing for Exercism v3"
|
||||
color: "e99695"
|
||||
|
||||
# ----------------------------------------------------------------------------------------- #
|
||||
# These are the repository-specific labels that augment the Exercise-wide labels defined in #
|
||||
# https://github.com/exercism/org-wide-files/blob/main/global-files/.github/labels.yml. #
|
||||
# ----------------------------------------------------------------------------------------- #
|
||||
|
||||
- name: "bug"
|
||||
description: "Something isn't working"
|
||||
color: "d73a4a"
|
||||
|
||||
- name: "documentation"
|
||||
description: "Improvements or additions to documentation"
|
||||
color: "0075ca"
|
||||
|
||||
- name: "duplicate"
|
||||
description: "This issue or pull request already exists"
|
||||
color: "cfd3d7"
|
||||
|
||||
- name: "enhancement"
|
||||
description: "New feature or request"
|
||||
color: "a2eeef"
|
||||
|
||||
- name: "good first issue"
|
||||
description: "Good for newcomers"
|
||||
color: "7057ff"
|
||||
|
||||
- name: "help wanted"
|
||||
description: "Extra attention is needed"
|
||||
color: "008672"
|
||||
|
||||
- name: "invalid"
|
||||
description: "This doesn't seem right"
|
||||
color: "e4e669"
|
||||
|
||||
- name: "question"
|
||||
description: "Further information is requested"
|
||||
color: "d876e3"
|
||||
|
||||
- name: "wontfix"
|
||||
description: "This will not be worked on"
|
||||
color: "ffffff"
|
||||
21
.github/workflows/sync-labels.yml
vendored
Normal file
21
.github/workflows/sync-labels.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Tools
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/labels.yml
|
||||
- .github/workflows/sync-labels.yml
|
||||
schedule:
|
||||
- cron: 0 0 1 * *
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
sync-labels:
|
||||
name: Sync labels
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||
- uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user