File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 167167 description : " Work paused until further notice"
168168 color : " e4e669"
169169
170+ # This Exercism-wide label queues a PR's English for translation (see exercism/i18n)
171+ - name : " ready-to-translate"
172+ description : " The English in this PR is final; queue its translations"
173+ color : " 1d76db"
174+
170175# ----------------------------------------------------------------------------------------- #
171176# These are the repository-specific labels that augment the Exercise-wide labels defined in #
172177# https://github.com/exercism/org-wide-files/blob/main/global-files/.github/labels.yml. #
Original file line number Diff line number Diff line change 1+ # This workflow is installed as .github/workflows/i18n-completeness.yml in
2+ # every repo that holds English. Don't edit it in those repos. Edit it in
3+ # exercism/i18n/source-repo-workflows/ and copy it to each repo. Keep the file
4+ # name, because exercism/i18n's rerun-source-check.yml looks for it.
5+ #
6+ # This workflow checks that exercism/i18n has a translation of all the English
7+ # a PR changes, and fails if anything is missing. The work happens in
8+ # exercism/i18n/.github/workflows/source-completeness.yml. This file only sets
9+ # when it runs and what it is allowed to do.
10+ #
11+ # GitHub reports this check as `i18n / completeness`. To make it a required
12+ # check, require that name.
13+
14+ name : i18n completeness
15+
16+ on :
17+ pull_request :
18+ branches : [main]
19+
20+ permissions : {}
21+
22+ jobs :
23+ i18n :
24+ permissions :
25+ contents : read
26+ uses : exercism/i18n/.github/workflows/source-completeness.yml@main
Original file line number Diff line number Diff line change 1+ # This workflow is installed as .github/workflows/i18n-queue.yml in every repo
2+ # that holds English. Don't edit it in those repos. Edit it in
3+ # exercism/i18n/source-repo-workflows/ and copy it to each repo.
4+ #
5+ # When a maintainer adds the `ready-to-translate` label to a PR, this workflow
6+ # opens an issue in exercism/i18n asking for the PR's English to be translated.
7+ # The work happens in exercism/i18n/.github/workflows/source-queue.yml. This
8+ # file only sets when it runs and what it is allowed to do.
9+ #
10+ # It runs on `pull_request_target` so that PRs from forks can use the
11+ # organisation's secrets. That is safe because nothing in this workflow checks
12+ # out or runs code from the PR. It only checks out exercism/i18n.
13+ # `secrets: inherit` passes on the Exercism i18n app's private key, which the
14+ # workflow uses to open the issue.
15+
16+ name : i18n queue
17+
18+ on :
19+ pull_request_target :
20+ types : [labeled, unlabeled, synchronize]
21+ branches : [main]
22+
23+ permissions : {}
24+
25+ jobs :
26+ i18n :
27+ permissions :
28+ contents : read
29+ pull-requests : write
30+ uses : exercism/i18n/.github/workflows/source-queue.yml@main
31+ secrets : inherit
You can’t perform that action at this time.
0 commit comments