diff --git a/.appends/.github/labels.yml b/.appends/.github/labels.yml index 168a88a526..d2c614ba41 100644 --- a/.appends/.github/labels.yml +++ b/.appends/.github/labels.yml @@ -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: "CI 🤖" description: "Changes related to continuous integration" color: "d2e1f2" @@ -50,22 +55,10 @@ description: "" color: "23296d" -- 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" - - name: "v3" description: "Related to Exercism v3" color: "dbf2a2" -- name: "v3-migration 🤖" - description: "Preparing for Exercism v3" - color: "E99695" - - name: "waiting ⏳" description: "Waiting for something else to happen first" color: "FEF6EE" @@ -73,4 +66,3 @@ - name: "won't fix ⛔️" description: "" color: "fce0e2" - diff --git a/.github/labels.yml b/.github/labels.yml index e5a86978ce..2b56d16002 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -1,75 +1,232 @@ +# ------------------------------------------------------------- # +# 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/` 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/` 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/` 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/` 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/` 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/` 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: "CI 🤖" - color: "d2e1f2" description: "Changes related to continuous integration" + color: "d2e1f2" - name: "bug 🐛" - color: "8e2c2c" description: "" + color: "8e2c2c" - name: "canonical sync 🔄" - color: "99C8EA" description: "For issues/changes related to synchronization between test suites and the canonical data" + color: "99C8EA" - name: "concept-exercise" - color: "dbf2a2" description: "Adding or improving a concept exercise" + color: "dbf2a2" - name: "dependencies" - color: "0366d6" description: "Pull requests that update a dependency file" + color: "0366d6" - name: "discussion 💬" - color: "23296d" description: "" + color: "23296d" - name: "documentation 📖" - color: "23296d" description: "Changing the documentation only, no coding involved" + color: "23296d" - name: "duplicate" + description: "" color: "cccccc" - description: null - name: "enhancement ⭐️" - color: "c3dcf7" description: "A nice-to-have" + color: "c3dcf7" - name: "good first issue 🐥" - color: "C2E0C6" description: "" + color: "C2E0C6" - name: "help wanted 🤝" - color: "ccd4fc" description: "" + color: "ccd4fc" - name: "in progress 🚧" - color: "FEF6EE" description: "Already being worked on" + color: "FEF6EE" - name: "question ❔" - color: "23296d" description: "" - -- name: "reputation/contributed_code/major" - color: "fcfa9f" - description: "Increases the number of reputation points awarded by this PR" - -- name: "reputation/contributed_code/minor" - color: "fcfa9f" - description: "Decreases the number of reputation points awarded by this PR" + color: "23296d" - name: "v3" - color: "dbf2a2" description: "Related to Exercism v3" - -- name: "v3-migration 🤖" - color: "E99695" - description: "Preparing for Exercism v3" + color: "dbf2a2" - name: "waiting ⏳" - color: "FEF6EE" description: "Waiting for something else to happen first" + color: "FEF6EE" - name: "won't fix ⛔️" - color: "fce0e2" description: "" + color: "fce0e2" diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 24e9998db9..d2d9bef937 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -1,4 +1,4 @@ -name: sync-labels +name: Tools on: push: @@ -7,16 +7,15 @@ on: - .github/labels.yml - .github/workflows/sync-labels.yml schedule: - - cron: 0 0 * * * + - cron: 0 0 1 * * + workflow_dispatch: jobs: sync-labels: name: Sync labels runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.4 - - uses: micnncim/action-label-syncer@v1.3.0 + - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f + - uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - manifest: .github/labels.yml