Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 Update labels #48

Merged
merged 3 commits into from
Jun 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .appends/.github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# ----------------------------------------------------------------------------------------- #
# 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: "status/duplicate"
description: "This issue or pull request already exists"
color: "cfd3d7"

- name: "status/fixed-pending-deploy"
description: "The work for this is done but not yet approved and deployed"
color: "16192B"

- name: "status/invalid"
description: "This doesn't seem right"
color: "e4e669"

- name: "status/more-information-required"
description: ""
color: "5319e7"

- name: "status/out-of-scope"
description: "Not something we're dealing with at this time."
color: "34F4A7"

- name: "status/wontfix"
description: "This will not be worked on"
color: "ffffff"

- name: "type/bug"
description: "Something isn't working"
color: "d73a4a"

- name: "type/css-bug"
description: "A CSS bug."
color: "d93f0b"

- name: "type/enhancement"
description: "New feature or request"
color: "a2eeef"

- name: "type/missing"
description: "Something is missing (a link, etc)"
color: "006b75"

- name: "type/question"
description: "Further information is requested"
color: "d876e3"

- name: "type/track-issue"
description: "Something that needs fixing upstream in a track"
color: "F1E595"

- name: "type/unfinished"
description: "A feature that's not yet finished"
color: "0052cc"
220 changes: 220 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
# ------------------------------------------------------------- #
# 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: "status/duplicate"
description: "This issue or pull request already exists"
color: "cfd3d7"

- name: "status/fixed-pending-deploy"
description: "The work for this is done but not yet approved and deployed"
color: "16192B"

- name: "status/invalid"
description: "This doesn't seem right"
color: "e4e669"

- name: "status/more-information-required"
description: ""
color: "5319e7"

- name: "status/out-of-scope"
description: "Not something we're dealing with at this time."
color: "34F4A7"

- name: "status/wontfix"
description: "This will not be worked on"
color: "ffffff"

- name: "type/bug"
description: "Something isn't working"
color: "d73a4a"

- name: "type/css-bug"
description: "A CSS bug."
color: "d93f0b"

- name: "type/enhancement"
description: "New feature or request"
color: "a2eeef"

- name: "type/missing"
description: "Something is missing (a link, etc)"
color: "006b75"

- name: "type/question"
description: "Further information is requested"
color: "d876e3"

- name: "type/track-issue"
description: "Something that needs fixing upstream in a track"
color: "F1E595"

- name: "type/unfinished"
description: "A feature that's not yet finished"
color: "0052cc"
21 changes: 21 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -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 }}