From 02dd7ada3479e5171e3ff091b6753114d40af583 Mon Sep 17 00:00:00 2001 From: Exercism Bot <66069679+exercism-bot@users.noreply.github.com> Date: Tue, 22 Sep 2026 18:07:50 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Sync=20org-wide=20files=20to=20u?= =?UTF-8?q?pstream=20repo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit More info: https://github.com/exercism/org-wide-files/commit/a9d7335a38d74dbdb25ed0f903b21cb043bfae58 --- .github/labels.yml | 21 ++++++++++------- .github/workflows/configlet.yml | 2 -- .github/workflows/i18n-completeness.yml | 26 +++++++++++++++++++++ .github/workflows/i18n-queue.yml | 31 +++++++++++++++++++++++++ 4 files changed, 70 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/i18n-completeness.yml create mode 100644 .github/workflows/i18n-queue.yml diff --git a/.github/labels.yml b/.github/labels.yml index c3c2ff86..d3953598 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -167,15 +167,16 @@ description: "Work paused until further notice" color: "e4e669" +# This Exercism-wide label queues a PR's English for translation (see exercism/i18n) +- name: "ready-to-translate" + description: "The English in this PR is final; queue its translations" + color: "1d76db" + # ----------------------------------------------------------------------------------------- # # 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: "" - color: "ee0701" - - name: "duplicate" description: "" color: "cccccc" @@ -184,14 +185,18 @@ description: "" color: "84b6eb" -- name: "help wanted" - description: "" - color: "128A0C" - - name: "invalid" description: "" color: "e6e6e6" +- name: "needs maintainer" + description: "" + color: "fc2929" + +- name: "new track" + description: "" + color: "159818" + - name: "question" description: "" color: "cc317c" diff --git a/.github/workflows/configlet.yml b/.github/workflows/configlet.yml index c730b582..47eb8754 100644 --- a/.github/workflows/configlet.yml +++ b/.github/workflows/configlet.yml @@ -13,5 +13,3 @@ permissions: jobs: configlet: uses: exercism/github-actions/.github/workflows/configlet.yml@main - with: - fmt: true diff --git a/.github/workflows/i18n-completeness.yml b/.github/workflows/i18n-completeness.yml new file mode 100644 index 00000000..7a827c9d --- /dev/null +++ b/.github/workflows/i18n-completeness.yml @@ -0,0 +1,26 @@ +# This workflow is installed as .github/workflows/i18n-completeness.yml in +# every repo that holds English. Don't edit it in those repos. Edit it in +# exercism/i18n/source-repo-workflows/ and copy it to each repo. Keep the file +# name, because exercism/i18n's rerun-source-check.yml looks for it. +# +# This workflow checks that exercism/i18n has a translation of all the English +# a PR changes, and fails if anything is missing. The work happens in +# exercism/i18n/.github/workflows/source-completeness.yml. This file only sets +# when it runs and what it is allowed to do. +# +# GitHub reports this check as `i18n / completeness`. To make it a required +# check, require that name. + +name: i18n completeness + +on: + pull_request: + branches: [main] + +permissions: {} + +jobs: + i18n: + permissions: + contents: read + uses: exercism/i18n/.github/workflows/source-completeness.yml@main diff --git a/.github/workflows/i18n-queue.yml b/.github/workflows/i18n-queue.yml new file mode 100644 index 00000000..0a54a99b --- /dev/null +++ b/.github/workflows/i18n-queue.yml @@ -0,0 +1,31 @@ +# This workflow is installed as .github/workflows/i18n-queue.yml in every repo +# that holds English. Don't edit it in those repos. Edit it in +# exercism/i18n/source-repo-workflows/ and copy it to each repo. +# +# When a maintainer adds the `ready-to-translate` label to a PR, this workflow +# opens an issue in exercism/i18n asking for the PR's English to be translated. +# The work happens in exercism/i18n/.github/workflows/source-queue.yml. This +# file only sets when it runs and what it is allowed to do. +# +# It runs on `pull_request_target` so that PRs from forks can use the +# organisation's secrets. That is safe because nothing in this workflow checks +# out or runs code from the PR. It only checks out exercism/i18n. +# `secrets: inherit` passes on the Exercism i18n app's private key, which the +# workflow uses to open the issue. + +name: i18n queue + +on: + pull_request_target: + types: [labeled, unlabeled, synchronize] + branches: [main] + +permissions: {} + +jobs: + i18n: + permissions: + contents: read + pull-requests: write + uses: exercism/i18n/.github/workflows/source-queue.yml@main + secrets: inherit