Skip to content
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
5 changes: 5 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@
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. #
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/i18n-completeness.yml
Original file line number Diff line number Diff line change
@@ -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
31 changes: 31 additions & 0 deletions .github/workflows/i18n-queue.yml
Original file line number Diff line number Diff line change
@@ -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
Loading