Skip to content

Commit 045d8a1

Browse files
authored
Merge pull request #2105 from cncf/main
Update dev-pt with main branch
2 parents 7e3d43d + a657880 commit 045d8a1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1828
-305
lines changed

.github/ISSUE_TEMPLATE/new-term.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ body:
3838
required: true
3939
- label: I understand that maintainers will assess if the term should be part of the Glossary. (Please be patient)
4040
required: true
41-
- label: I want to work on this term. (If not checked, maintainers will assign another volunteer)
41+
- label: I want to work on this term and confirm that I meet the criteria as outlined in "[who can contribute](https://glossary.cncf.io/contribute/#who-can-contribute)". (If not checked, maintainers will assign another volunteer)
4242
required: false
4343
- type: textarea
4444
id: note

.github/ISSUE_TEMPLATE/update-term.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ body:
2828
options:
2929
- label: I understand that maintainers will confirm if the term should be updated. (Please be patient)
3030
required: true
31-
- label: I want to work on this suggestion. (If not checked, maintainers will assign another volunteer)
31+
- label: I want to work on this suggestion and confirm that I meet the criteria as outlined in "[who can contribute](https://glossary.cncf.io/contribute/#who-can-contribute)".. (If not checked, maintainers will assign another volunteer)
3232
required: false
3333
- type: textarea
3434
id: note

.github/labeler.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,24 @@ lang/es:
1616
lang/fr:
1717
- content/fr/*
1818

19+
lang/hi:
20+
- content/hi/*
21+
1922
lang/it:
2023
- content/it/*
2124

22-
lang/hi:
23-
- content/hi/*
25+
lang/ja:
26+
- content/ja/*
2427

2528
lang/ko:
2629
- content/ko/*
2730

2831
lang/pt:
2932
- content/pt-br/*
3033

34+
lang/tw:
35+
- content/zh-tw/*
36+
3137
lang/zh:
3238
- content/zh-cn/*
3339

.github/settings.yml

Lines changed: 61 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ collaborators:
3131
permission: admin
3232

3333
- username: jihoon-seo
34-
permission: maintain
34+
permission: admin
3535

3636
- username: iamNoah1
37-
permission: maintain
37+
permission: admin
3838

3939
- username: thetwopct
4040
permission: push
@@ -44,11 +44,10 @@ collaborators:
4444

4545

4646
# Localization approvers
47+
4748
# l10n ko approvers
4849
# Note: seokho-son is both Maintainer (maintain) and Korean approver (push)
4950
# Note: jihoon-seo is both Maintainer (maintain) and Korean approver (push)
50-
- username: Eviekim
51-
permission: push
5251

5352
- username: yunkon-kim
5453
permission: push
@@ -143,7 +142,7 @@ collaborators:
143142
- username: 92nqb
144143
permission: push
145144

146-
# l10n zh approvers
145+
# l10n zh-cn approvers
147146
- username: hanyuancheung
148147
permission: push
149148

@@ -166,13 +165,32 @@ collaborators:
166165
- username: Krast76
167166
permission: push
168167

168+
- username: sestegra
169+
permission: push
170+
169171
# l10n ur approvers
170172
- username: Saim-Safdar
171173
permission: push
172174

173175
- username: waleed318
174176
permission: push
175177

178+
# l10n zh-tw approvers
179+
- username: pichuang
180+
permission: push
181+
182+
- username: ydFu
183+
permission: push
184+
185+
# l10n ja approvers
186+
- username: inductor
187+
permission: push
188+
189+
- username: kaitoii11
190+
permission: push
191+
192+
- username: naonishijima
193+
permission: push
176194

177195
branches:
178196

@@ -209,7 +227,6 @@ branches:
209227
# Ko approvers
210228
users:
211229
- seokho-son
212-
- Eviekim
213230
- jihoon-seo
214231
- yunkon-kim
215232
teams: []
@@ -349,7 +366,7 @@ branches:
349366
enforce_admins: null
350367
required_linear_history: null
351368

352-
# l10n branch for zh contents only
369+
# l10n branch for zh-cn contents only
353370
- name: dev-zh
354371
protection:
355372
required_pull_request_reviews:
@@ -358,7 +375,7 @@ branches:
358375
required_status_checks: null
359376
restrictions:
360377
apps: []
361-
# zh approvers
378+
# zh-cn approvers
362379
users:
363380
- hanyuancheung
364381
- Jacob953
@@ -402,3 +419,39 @@ branches:
402419
teams: []
403420
enforce_admins: null
404421
required_linear_history: null
422+
423+
# l10n branch for zh-tw contents only
424+
- name: dev-tw
425+
protection:
426+
required_pull_request_reviews:
427+
required_approving_review_count: 2
428+
require_code_owner_reviews: true
429+
required_status_checks: null
430+
restrictions:
431+
apps: []
432+
# zh-tw approvers
433+
users:
434+
- pichuang
435+
- ydFu
436+
teams: []
437+
enforce_admins: null
438+
required_linear_history: null
439+
440+
# l10n branch for ja contents only
441+
- name: dev-ja
442+
protection:
443+
required_pull_request_reviews:
444+
required_approving_review_count: 2
445+
require_code_owner_reviews: true
446+
required_status_checks: null
447+
restrictions:
448+
apps: []
449+
# ja approvers
450+
users:
451+
- inductor
452+
- kaitoii11
453+
- naonishijima
454+
teams: []
455+
enforce_admins: null
456+
required_linear_history: null
457+

.github/workflows/check-outdated-terms.yaml renamed to .github/workflows/check-outdated-content.yaml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# This workflow will check if localized terms are outdated or not
2-
# by comparing English terms in the old branch and the latest branch.
3-
name: Check outdated terms
1+
# This workflow will check if a localized content is outdated or not
2+
# by comparing English content in the old branch and the latest branch.
3+
name: Check outdated content
44
on:
55
pull_request:
66
branches:
@@ -9,8 +9,8 @@ on:
99
- 'content/en/**.md'
1010

1111
jobs:
12-
check-outdated-terms:
13-
name: Check outdated terms
12+
check-outdated-content:
13+
name: Check outdated content
1414

1515
# if: contains(fromJSON('["dev-ko", "dev-xx"]'), github.base_ref)
1616
# Ref: https://docs.github.com/en/actions/learn-github-actions/expressions
@@ -41,12 +41,12 @@ jobs:
4141
# Set L10n directory and code
4242
case "${L10N_BRANCH}" in
4343
dev-ko)
44-
L10N_DIR="./content/ko/"
44+
L10N_DIR="content/ko/"
4545
L10N_CODE="ko"
4646
;;
4747
4848
#dev-pt)
49-
#L10N_DIR="./content/pt-br/"
49+
#L10N_DIR="content/pt-br/"
5050
#L10N_CODE="pt"
5151
#;;
5252
esac
@@ -95,16 +95,25 @@ jobs:
9595
# The old branch can be 'upstream/dev-ko'
9696
OLD_BRANCH="origin/${{github.base_ref}}"
9797
echo "(DUBUG) OLD_BRANCH: ${OLD_BRANCH}"
98+
99+
L10N_INFO_JSON=$(cat <<EOF
100+
{
101+
"L10N_DIR": "${L10N_DIR}",
102+
"L10N_CODE": "${L10N_CODE}"
103+
}
104+
EOF
105+
)
98106
99107
# Make an output directory
100108
if [[ ! -e $OUTPUT_DIR ]]; then
101109
mkdir $OUTPUT_DIR
110+
echo "${L10N_INFO_JSON}" > ${OUTPUT_DIR}/L10N_INFO.json
102111
elif [[ ! -d $OUTPUT_DIR ]]; then
103112
echo "$OUTPUT_DIR already exists but is not a directory" 1>&2
104113
fi
105114
106-
# Check outdated only if there is a localized term
107-
# Loop files in a localization directory, which is ${L10N_DIR} (e.g., ./content/ko/)
115+
# Check outdated only if a localized content exists
116+
# Loop files in a localization directory, which is ${L10N_DIR} (e.g., content/ko/)
108117
echo "(DEBUG) Check outdated"
109118
for L10N_FILE_PATH in $(find ${L10N_DIR} -name '*.md'); do
110119
echo "(DEBUG) L10N_FILE_PATH: ${L10N_FILE_PATH}"
@@ -123,7 +132,7 @@ jobs:
123132
# Create subdirectories
124133
mkdir -p ${OUTPUT_DIR}/${FILE_DIR}
125134
126-
# Actually compare between the old and lastest English terms and log diff in the file
135+
# Actually compare between the old and lastest English content and log diff in the file
127136
if [[ -f "./content/en/${FILE_PATH}" ]]; then
128137
# File exists
129138
# Check changes

.github/workflows/es-spellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
set -o errexit
3030
diff content/es/.wordlist.txt <(LC_ALL= sort -f content/es/.wordlist.txt)
3131
- name: GitHub Spellcheck Action
32-
uses: rojopolis/spellcheck-github-actions@0.29.0
32+
uses: rojopolis/spellcheck-github-actions@0.32.0
3333
with:
3434
config_path: content/es/.spellcheck.yml

0 commit comments

Comments
 (0)