Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase dev-ru with the main branch #2455

Merged
merged 216 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
216 commits
Select commit Hold shift + click to select a range
dc173b8
Merge pull request #1021 from cncf/main
seokho-son Jul 1, 2022
0c1b259
Settings and initial contents for French localization (#1145)
fydrah Aug 12, 2022
c397032
Merge pull request #1235 from cncf/main
seokho-son Aug 17, 2022
38514a7
Localize cloud-native apps and tech to fr
Krast76 Aug 28, 2022
b389dc3
Fix native to natives and on-premise datacenter translation
Krast76 Sep 11, 2022
737ac6f
Fix after title have been changed from the template
Krast76 Oct 5, 2022
533c4f1
Traduction de container.md
huats Sep 7, 2022
76199e1
Add Fydrah feedbacks
Krast76 Nov 1, 2022
9f274fc
Localize service-mesh fr
Krast76 Aug 27, 2022
e9b1a46
Add feedbacks from Huats
Krast76 Sep 11, 2022
b484eb3
Fix after title have been changed from the template
Krast76 Oct 5, 2022
691b438
Replace Service Mesh by maillage de services in the title
Krast76 Oct 5, 2022
dba837d
Add fydrah insights
Krast76 Nov 1, 2022
2a09c2f
Fix last error about dette technique
Krast76 Nov 26, 2022
5bd767b
Traduction de monolithic-apps.md
huats Oct 29, 2022
662a69e
Traduction de virtual-machine.md
huats Oct 29, 2022
d9ab562
Merge pull request #1302 from huats/container-fr
fydrah Jan 25, 2023
2f5d595
Traduction de containerization.md
huats Oct 28, 2022
2b7ed3f
Applied feedback from Flavien
huats Jan 25, 2023
a2c9f89
Traduction de container-orchestration en FR
huats Jan 25, 2023
e3bd7b2
Add review from Fydrah
Krast76 Jan 26, 2023
cb2bfe4
Merge pull request #1432 from huats/containerization-fr
huats Jan 26, 2023
37ed968
Merge pull request #1426 from huats/monolithic-apps-fr
huats Jan 26, 2023
2eaa43a
Integrate Fydrah feedback
huats Jan 31, 2023
011c186
[fr] Localize abstraction
sestegra Feb 4, 2023
a6e913b
Add feedbacks from Huats
Krast76 Feb 5, 2023
0da9618
Merge pull request #1433 from huats/virtual-machine-fr
huats Feb 5, 2023
f3396cf
Updates after reviews
sestegra Feb 5, 2023
3c63671
Merge pull request #1272 from Krast76/servicemesh-fr
Krast76 Feb 5, 2023
5de6f29
Fix missing s at application
Krast76 Feb 5, 2023
443cb89
Merge pull request #1666 from huats/container-orchestration-fr
huats Feb 6, 2023
752362f
Merge remote-tracking branch 'upstream/main' into dev-fr
fydrah Feb 8, 2023
d372913
Merge pull request #1707 from fydrah/dev-fr
seokho-son Feb 9, 2023
c22e481
Update after review
sestegra Feb 14, 2023
ba57556
Remove useless space
sestegra Feb 15, 2023
d81d382
Fix missing S
Krast76 Feb 22, 2023
4b308da
Missing s again
Krast76 Feb 22, 2023
ba9d337
Merge pull request #1691 from sestegra/dev-fr-abstraction
fydrah Feb 22, 2023
32d1ec3
Merge pull request #1273 from Krast76/cloud-native-apps-and-tech
fydrah Feb 22, 2023
82e9fa0
[fr] Localize Agile Software Development
sestegra Feb 25, 2023
b165131
Fix after review
sestegra Mar 17, 2023
9c9c7f2
Merge pull request #1750 from sestegra/dev-fr-agile
huats Mar 24, 2023
e84fdc0
Traduction de scalability.md
huats Mar 31, 2023
20a68ea
scalability-fr: fix typos following Ludovic's feedback
huats Apr 3, 2023
28deb53
[fr] Localize API gateway
sestegra Apr 14, 2023
8f47598
Traduction de tightly-coupled-architectures.md
huats Apr 14, 2023
357c9a7
Fix after review
sestegra Apr 15, 2023
b075bf0
[fr] Localize API
sestegra Apr 15, 2023
b72b781
[fr] Localize Observability
sestegra Apr 16, 2023
441f6ae
Merge pull request #1955 from sestegra/dev-fr-api-gateway
huats Apr 16, 2023
515ea58
Fix Ludo's comment
huats Apr 16, 2023
efb3a6d
fr: add missing translation for `distributed-systems` (resolves #1973)
Horgix Apr 20, 2023
b1fd003
fr/distributed-systems: swap two parts of a sentence following @Krast…
Horgix Apr 21, 2023
a67ba18
Fixes after review
sestegra Apr 22, 2023
0d7a453
[fr] Localize self-healing
sestegra May 1, 2023
7c60617
Traduction de infrastrcuture-as-code.md
huats Feb 8, 2023
6bf3eb0
pr-suggestion(fydrah): fix de → des superordinateurs
Horgix May 3, 2023
67c51f2
Merge pull request #1974 from Horgix/fr-distributed-systems
fydrah May 3, 2023
418f938
Merge pull request #1709 from huats/infrastructure-as-code-fr
fydrah May 3, 2023
64eb8d6
Merge pull request #1959 from huats/tightly-coupled-architectures-fr
fydrah May 3, 2023
38d986c
Merge pull request #1962 from sestegra/dev-fr-api
fydrah May 3, 2023
38fa298
Initialize traduction of Kubernetes into french
Krast76 May 14, 2023
fb285e6
Fix after reviex
sestegra May 14, 2023
b3d386e
Add sestegra feedbacks
Krast76 May 14, 2023
911f781
[fr} Localize autoscaling
sestegra May 14, 2023
e628ab5
[fr] Localize horizontal scaling
sestegra May 18, 2023
fbace7c
Fix related terms translation
sestegra May 18, 2023
45a2d08
[fr] Localize vertical scaling
sestegra May 18, 2023
e6abd6a
Merge pull request #2000 from sestegra/dev-fr-self-healing
huats May 24, 2023
95c327f
Translate Service in French
guillaumebernard84 May 25, 2023
72f9398
update according to reviewers comments
guillaumebernard84 May 26, 2023
7a4bf79
[FR] localization of Microservice-architecture
guillaumebernard84 Jun 5, 2023
4413a19
[FR] Microservice-architecture - Fix title
guillaumebernard84 Jun 5, 2023
d95d904
[fr] Localize Bare Metal Machine
guillaumebernard84 Jun 14, 2023
8c4d74e
[fr] Localize Bare Metal Machine
guillaumebernard84 Jun 14, 2023
60377c1
Traduction de Loosely Coupled Architecture into French
huats May 12, 2023
21c8103
Fix comments from Ludo, Flavien and Stéphane
huats Apr 16, 2023
50f60e6
Merge pull request #2097 from guillaumebernard84/dev-fr
huats Jun 14, 2023
caf7694
Merge pull request #1965 from sestegra/dev-fr-o11y
huats Jun 14, 2023
1ba6268
[fr] Localize Virtualization
guillaumebernard84 Jun 14, 2023
30db8dd
[fr] Localize Virtualization
guillaumebernard84 Jun 15, 2023
82c1ab0
[FR] localize Nodes
guillaumebernard84 Jun 15, 2023
eca2f73
[FR] localize Nodes
guillaumebernard84 Jun 15, 2023
184cca9
[FR] localize Distributed Apps
guillaumebernard84 Jun 15, 2023
7bdf723
Initialize cluster into French
Krast76 Jun 19, 2023
bb5e686
Add sestegra feedbacks
Krast76 Jun 19, 2023
2e90792
[fr] Localize reliability update
sestegra May 14, 2023
209be0d
Add Huats feedbacks
Krast76 Jun 21, 2023
4e6b1f3
Merge pull request #2030 from huats/loosely-coupled-architectures-fr
huats Jun 21, 2023
c9120b9
Merge pull request #2040 from sestegra/dev-fr-reliabiliry
huats Jun 21, 2023
01e888f
[FR] Microservice-architecture - caps fix
guillaumebernard84 Jun 22, 2023
69972dc
[fr] Virtualization - caps fix
guillaumebernard84 Jun 22, 2023
857bc52
[FR] Nodes - caps fix
guillaumebernard84 Jun 22, 2023
ef8f803
[FR] Distributed Apps - caps fix
guillaumebernard84 Jun 22, 2023
4b7ddfc
[FR] Distributed Apps - minor fixes
guillaumebernard84 Jun 22, 2023
c1586da
Updates after reviews
sestegra Jun 23, 2023
cbc67d4
Updates after review
sestegra Jun 23, 2023
39b2908
[FR] Distributed Apps - minor fixes
guillaumebernard84 Jun 23, 2023
7f3dd9a
[fr] update frontmatters
sestegra Jun 23, 2023
1483590
Merge pull request #1862 from huats/scalability-fr
Krast76 Jun 23, 2023
53f8a1d
[FR] Nodes - minor fixes
guillaumebernard84 Jun 23, 2023
f2566b4
[fr] Virtualization - minor fixes
guillaumebernard84 Jun 23, 2023
bedd6eb
Add sestegra as an fr approver (#1976)
huats Apr 27, 2023
ace6a73
[fr] Virtualization - minor fixes
guillaumebernard84 Jun 23, 2023
7e7d1d5
[FR] Microservice-architecture - minor fixes
guillaumebernard84 Jun 23, 2023
c39b25e
[FR] Microservice-architecture - minor fixes
guillaumebernard84 Jun 23, 2023
7ed5dee
Merge pull request #2150 from guillaumebernard84/fr-dsitributed-apps-2
Krast76 Jun 26, 2023
0c4a4d9
Merge pull request #2145 from guillaumebernard84/fr-virtualization
Krast76 Jun 26, 2023
da4213a
Merge pull request #2060 from sestegra/dev-fr-vertical-scaling
huats Jun 26, 2023
6150cac
Merge pull request #2059 from sestegra/dev-fr-horizontal-scaling
huats Jun 26, 2023
209483d
Merge main into dev-fr
sestegra Jun 27, 2023
d4ded2b
Merge pull request #2171 from sestegra/dev-fr-settings
seokho-son Jun 27, 2023
30a54c3
[FR] Nodes - update after review
guillaumebernard84 Jun 27, 2023
1b215ed
[FR] Microservice-architecture - update after review
guillaumebernard84 Jun 27, 2023
decd777
[fr] bare metal machine - fixes after review
guillaumebernard84 Jun 27, 2023
8281476
Merge pull request #2116 from guillaumebernard84/dev-fr-microservices…
Krast76 Jun 28, 2023
d68b591
Merge pull request #2142 from guillaumebernard84/FR-Bare-Metal-Machine
huats Jun 28, 2023
7df77eb
Merge pull request #2147 from guillaumebernard84/fr-nodes
huats Jun 28, 2023
959ffae
Merge pull request #2170 from sestegra/dev-fr-align-fm
huats Jun 28, 2023
25d0ae8
[fr] remove 's' on loosely-coupled-architecture.md
sestegra Jul 6, 2023
b1e1fcf
[fr] Localize search
sestegra Jul 6, 2023
b0aa2f3
Reput the french translation for container
huats Jul 6, 2023
6fae8b0
[fr] localize idempotence
sestegra Jul 10, 2023
e8b77c7
[fr] Fix merge conflicts on config.toml (#2180)
sestegra Jul 11, 2023
a6a7853
[ES] Localize Tightly Coupled Architectures (#2194)
jossemarGT Jul 11, 2023
50d2bb9
[FR] update Virtualization following issue 2143
guillaumebernard84 Jul 11, 2023
eb3f6e7
[FR] Remove links to 'Deprecated' / 'Feedback Appreciated' terms
guillaumebernard84 Jul 11, 2023
b54394e
Merge pull request #2218 from guillaumebernard84/fr-virtualization-2
huats Jul 12, 2023
ebe05ae
Update config.toml to resolve warnings
jihoon-seo Jul 13, 2023
6cfe940
[fr] localyze immutable-infrastructure
sestegra Jul 13, 2023
4370c2b
FIx containerisation in French
sestegra Jul 13, 2023
3a80700
[fr] contenérisation -> conteneurisation
guillaumebernard84 Jul 13, 2023
9ea5133
Merge branch 'fr-contenairization-remove-link' of https://github.com/…
guillaumebernard84 Jul 13, 2023
5966d81
Merge pull request #2219 from guillaumebernard84/fr-contenairization-…
huats Jul 15, 2023
7258b11
Fixes from review from Huats and Guillaume Bernard
Krast76 Jul 16, 2023
84b524a
Add fixes from sestegra and Guillaume Bernard
Krast76 Jul 16, 2023
4d27514
Merge pull request #2201 from sestegra/dev-fr-typo-lca
Krast76 Jul 16, 2023
92715ea
[bn] Fix error in 'Bare Metal Machine'
jihoon-seo Jul 6, 2023
853d684
Remove links to 'container-image'
jihoon-seo Jul 6, 2023
90cb58e
Remove links to 'load-balancer'
jihoon-seo Jul 6, 2023
64989b5
Remove links to 'stateless-apps'
jihoon-seo Jul 6, 2023
eac0284
Remove links to 'database-as-a-service'
jihoon-seo Jul 6, 2023
d7ce52b
Remove links to 'debugging'
jihoon-seo Jul 6, 2023
1d46166
Remove links to 'software-as-a-service'
jihoon-seo Jul 6, 2023
86ef3d1
Remove links to 'version-control'
jihoon-seo Jul 6, 2023
bb7b880
[fr] Add DevOps term translation
fydrah May 3, 2023
094c258
Update devops for Krast comments
fydrah Jul 17, 2023
0fcc260
Fixes after review
sestegra Jul 17, 2023
d0c49f9
Fix sestegra feedbacks
Krast76 Jul 17, 2023
8a3957d
Add missing ^
Krast76 Jul 17, 2023
e20d31e
Merge pull request #2227 from sestegra/dev-fr-immutable-infrastructure
huats Jul 17, 2023
08c33e3
Merge pull request #2043 from sestegra/dev-fr-autoscaling
huats Jul 17, 2023
fc936f4
Merge pull request #2205 from sestegra/dev-fr-search
huats Jul 17, 2023
45fda59
Fix Ludo et Guillaume comments
huats Jul 17, 2023
bf56658
Bump rojopolis/spellcheck-github-actions from 0.33.0 to 0.33.1
dependabot[bot] Jul 17, 2023
d6a8d35
[en] update idempotence
guillaumebernard84 Jul 17, 2023
e4b574c
Switch Cloud Native context
Krast76 Jul 18, 2023
b00ce71
Merge pull request #2212 from sestegra/dev-fr-idempotent
Krast76 Jul 18, 2023
a3472bc
Merge pull request #2236 from cncf/dependabot/github_actions/rojopoli…
seokho-son Jul 18, 2023
f4e2cb0
Merge pull request #2202 from huats/container-fr-reput
Krast76 Jul 18, 2023
3226253
Merge pull request #2039 from Krast76/translate-kubernetes-into-fr
Krast76 Jul 18, 2023
17c9db6
[dev-fr] Add missing sestegra for merge
sestegra Jul 18, 2023
43c4d2d
Merge pull request #2161 from Krast76/relocalize-cluster-into-french
huats Jul 18, 2023
b346bf4
Updating how server is launched locally (#2222)
nate-double-u Jul 18, 2023
8865db9
Merge pull request #2224 from jihoon-seo/230713_Update_config.toml_to…
seokho-son Jul 19, 2023
279b959
fix sestegra comments
fydrah Jul 19, 2023
a037b63
Merge pull request #2004 from fydrah/fha/fr-devops
Krast76 Jul 19, 2023
b0ba338
[fr] harmonize "Cloud Native" capitalization
guillaumebernard84 Jul 19, 2023
d2dba3f
Update content/fr/microservices-architecture.md
guillaumebernard84 Jul 19, 2023
7ff9be4
Merge pull request #2240 from guillaumebernard84/dev-fr
fydrah Jul 19, 2023
1ef486e
Resolve merge conflict while merging main into dev-fr
jihoon-seo Jul 20, 2023
17f5a02
Merge pull request #2238 from sestegra/main-dev-fr-approver
seokho-son Jul 24, 2023
a42311b
chore: Fix whitespace and a few trivial typos (#2250)
adamdmharvey Jul 26, 2023
7baff6d
[fr] Update i18n/fr.toml
sestegra Jul 26, 2023
f7c04b5
Merge pull request #2237 from guillaumebernard84/dev-en-idempotence
castrojo Jul 27, 2023
6bfe087
Add 'xx.toml' entries to CODEOWNERS (#2216)
jihoon-seo Aug 2, 2023
a915fc1
fix: error link
tico88612 Aug 3, 2023
91186aa
fix: grammar "organization's"
tico88612 Aug 3, 2023
3a887fb
Enable check outdated gh action in dev-es (#2190)
electrocucaracha Aug 4, 2023
078f0f2
Create cloud-computing.md
guillaumebernard84 Aug 5, 2023
f0d2b9d
Merge pull request #2198 from jihoon-seo/230706_Remove_links_to_depre…
seokho-son Aug 9, 2023
832ef92
Update path pattern in `.github/labeler.yml` (#2280)
yunkon-kim Aug 9, 2023
6f5906e
Update cloud-computing.md
guillaumebernard84 Aug 9, 2023
8f83dda
[FR] Fix previous merge (#2252)
sestegra Aug 10, 2023
a7071ac
Merge pull request #2254 from sestegra/dev-fr-i18n
sestegra Aug 10, 2023
e7a9145
Update cloud-computing.md after review
guillaumebernard84 Aug 11, 2023
360ce35
Merge pull request #2272 from guillaumebernard84/fr-cloud-computing-3
huats Aug 11, 2023
65cac39
[FR] Fix frontmatters
sestegra Aug 11, 2023
7e46cfd
[FR] Fix internal links to point on French version
sestegra Aug 11, 2023
bce0ae9
[FR] Fix broken links
sestegra Aug 11, 2023
d938303
[FR] Add missing links
sestegra Aug 11, 2023
46504ef
[FR] Fix general errors
sestegra Aug 11, 2023
0c57b10
[FR] Localize tags
sestegra Aug 14, 2023
2555437
[EN] add Runtime (#2033)
akshatcoder-hash Aug 15, 2023
3783ad7
[EN] add eBPF (#2050)
MaryamTavakkoli Aug 17, 2023
e8220da
Merge pull request #2270 from tico88612/main
castrojo Aug 21, 2023
29e31a9
Avoid mentioning the solution in problem section for Virtual Machine
johnlinp Aug 30, 2023
1cc1cf8
Bump actions/checkout from 3 to 4 (#2351)
dependabot[bot] Sep 5, 2023
a572c3b
[ES] updated content/es/service-mesh.md (#2342)
ramrodo Sep 5, 2023
4f56340
Update serverless.md (#2317)
Mohiit70 Sep 5, 2023
d435cd1
Merge pull request #2338 from johnlinp/update-virtual-machine
seokho-son Sep 5, 2023
996973b
[ES] Update term reference links (#2353)
jossemarGT Sep 5, 2023
10d0408
Removing Catherine maintainer mentions (#2268)
CathPag Sep 5, 2023
8cd55b7
Update ownership and emeritus state (#2343)
seokho-son Sep 6, 2023
0397969
Merge pull request #2288 from sestegra/dev-fr-fixes
sestegra Sep 6, 2023
907e914
Merge pull request #2367 from cncf/main
seokho-son Sep 10, 2023
120f432
Add guillaumebernard84 as an fr approver
sestegra Sep 10, 2023
04efcaa
Merge pull request #2370 from sestegra/dev-fr-guillaume
seokho-son Sep 12, 2023
194badc
Merge remote-tracking branch 'upstream/main' into dev-es
krol3 Sep 12, 2023
63e3921
Merge pull request #2385 from krol3/merged-main-dev-sep12
seokho-son Sep 12, 2023
1b80100
Update check-outdated-content.yaml (#2388)
yunkon-kim Sep 13, 2023
7ddaeee
[FR] Update _index.md (#2369)
sestegra Sep 14, 2023
e4d02e3
Merge pull request #2358 from cncf/dev-fr
seokho-son Sep 15, 2023
8f8d1ce
Add a Workflow that automatically add a comment based on labels (#2389)
seokho-son Sep 16, 2023
21a4399
Bump actions/checkout from 3 to 4 (#2418)
dependabot[bot] Sep 18, 2023
581109e
Merge dev-de in main (#2421)
iamNoah1 Sep 27, 2023
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
7 changes: 7 additions & 0 deletions .github/auto-comment-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
label_mappings:
- labels:
- hold
comment: Wait, please do not proceed with this yet.
- labels:
- lang/en
comment: To see where this is in the review pipeline and follow the progress, please look at the [definition review board](https://github.com/orgs/cncf/projects/26/views/1).
26 changes: 13 additions & 13 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
lang/ar:
- content/ar/*
- content/ar/**

lang/bn:
- content/bn/*
- content/bn/**

lang/de:
- content/de/*
- content/de/**

lang/en:
- content/en/*
- content/en/**

lang/es:
- content/es/*
- content/es/**

lang/fr:
- content/fr/*
- content/fr/**

lang/hi:
- content/hi/*
- content/hi/**

lang/it:
- content/it/*
- content/it/**

lang/ja:
- content/ja/*
- content/ja/**

lang/ko:
- content/ko/*
- content/ko/**

lang/pt:
- content/pt-br/*
- content/pt-br/**

lang/tw:
- content/zh-tw/*
- content/zh-tw/**

lang/zh:
- content/zh-cn/*
- content/zh-cn/**


42 changes: 41 additions & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ collaborators:
permission: push

# l10n de approvers
# Note: CathPag is both Maintainer (maintain) and de approver (push)
# Note: iamNoah1 is both Maintainer (maintain) and de approver (push)
- username: DaveVentura
permission: push
Expand Down Expand Up @@ -172,6 +171,9 @@ collaborators:
- username: sestegra
permission: push

- username: guillaumebernard84
permission: push

# l10n ur approvers
- username: Saim-Safdar
permission: push
Expand All @@ -180,6 +182,12 @@ collaborators:
permission: push

# l10n zh-tw approvers
- username: hwchiu
permission: push

- username: johnlinp
permission: push

- username: pichuang
permission: push

Expand All @@ -196,6 +204,9 @@ collaborators:
- username: naonishijima
permission: push

- username: yuichi-nakamura
permission: push

# l10n tr approvers
- username: aliok
permission: push
Expand All @@ -209,6 +220,13 @@ collaborators:
- username: eminalemdar
permission: push

# l10n ru approvers
- username: shurup
permission: push

- username: kirkonru
permission: push

branches:

# Default branch of this repository for configurations and English contents
Expand Down Expand Up @@ -418,6 +436,8 @@ branches:
- huats
- fydrah
- Krast76
- sestegra
- guillaumebernard84
teams: []
enforce_admins: null
required_linear_history: null
Expand Down Expand Up @@ -450,6 +470,8 @@ branches:
apps: []
# zh-tw approvers
users:
- hwchiu
- johnlinp
- pichuang
- ydFu
teams: []
Expand All @@ -470,6 +492,7 @@ branches:
- inductor
- kaitoii11
- naonishijima
- yuichi-nakamura
teams: []
enforce_admins: null
required_linear_history: null
Expand All @@ -492,3 +515,20 @@ branches:
teams: []
enforce_admins: null
required_linear_history: null

# l10n branch for ru contents only
- name: dev-ru
protection:
required_pull_request_reviews:
required_approving_review_count: 2
require_code_owner_reviews: true
required_status_checks: null
restrictions:
apps: []
# ru approvers
users:
- shurup
- kirkonru
teams: []
enforce_admins: null
required_linear_history: null
70 changes: 70 additions & 0 deletions .github/workflows/auto-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Auto Comment on Labeled PR

on:
pull_request_target:
types:
- labeled
- unlabeled

permissions:
pull-requests: write

jobs:
comment:
runs-on: ubuntu-latest
steps:
# Checkout the repository code to the runner.
- name: Checkout code
uses: actions/checkout@v4

# Create a bin directory in the runner's home
- name: Create bin directory
run: |
mkdir -p $HOME/bin
echo "$HOME/bin" >> $GITHUB_PATH

# Install the latest jq and yq from GitHub releases
- name: Install jq and yq
run: |
wget https://github.com/jqlang/jq/releases/latest/download/jq-linux-amd64 -O $HOME/bin/jq
chmod +x $HOME/bin/jq
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O $HOME/bin/yq
chmod +x $HOME/bin/yq

# Main logic for adding comments based on labels.
- name: Comment on PR based on external config
run: |
# Fetch the labels attached to the PR from the GitHub event JSON.
pr_labels=$(jq -r '.pull_request.labels[] | .name' "$GITHUB_EVENT_PATH" | tr '\n' ' ')

# Define the path to the external YAML config file.
config_file=".github/auto-comment-config.yaml"

# Get the number of label-comment mappings defined in the config file.
num_mappings=$(yq e '.label_mappings | length' "$config_file")

# Loop through each label-comment mapping in the config file.
for (( i=0; i<$num_mappings; i++ )); do
# Fetch the labels and comment for the current mapping.
mapfile -t labels < <(yq e ".label_mappings[$i].labels[]" "$config_file")
comment=$(yq e ".label_mappings[$i].comment" "$config_file")

# Check if all required labels from the current mapping are present in the PR.
for label in "${labels[@]}"; do
if [[ ! $pr_labels == *"$label"* ]]; then
echo "One or more required labels not found. Skipping."
continue 2 # Skip to the next iteration of the outer loop.
fi
done

# Fetch the PR number from the GitHub event JSON.
pr_number=$(jq -r '.pull_request.number' "$GITHUB_EVENT_PATH")

# If all required labels are found, add the comment to the PR.
echo "All required labels found. Adding comment."
gh pr comment "$pr_number" --body "$comment"

done
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
50 changes: 28 additions & 22 deletions .github/workflows/check-outdated-content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@ name: Check outdated content
on:
pull_request:
branches:
- 'dev-ko' # add other branches or use wildcard 'dev-**'
- 'dev-ko'
- 'dev-es'
paths:
- 'content/en/**.md'

jobs:
check-outdated-content:
name: Check outdated content

# if: contains(fromJSON('["dev-ko", "dev-xx"]'), github.base_ref)
if: contains(fromJSON('["dev-ko","dev-es"]'), github.base_ref)
# Ref: https://docs.github.com/en/actions/learn-github-actions/expressions

if: github.base_ref == 'dev-ko'
#if: github.base_ref == 'dev-ko'

# Condition to run this workflow on the upstream repository
#if: github.repository == 'cncf/glossary'
Expand All @@ -38,21 +39,26 @@ jobs:
# Set output direcory
OUTPUT_DIR="./outdated"

# Set L10n directory and code
# Set L10n code
L10N_CODE="${L10N_BRANCH//dev-/}"
echo "(DEBUG) L10N Code: ${L10N_CODE}"

# Set L10n directory
case "${L10N_BRANCH}" in
dev-ko)
L10N_DIR="content/ko/"
L10N_CODE="ko"
dev-pt)
L10N_DIR="content/pt-br/"
;;
dev-zh)
L10N_DIR="content/zh-cn/"
;;
dev-tw)
L10N_DIR="content/zh-tw/"
;;
*)
L10N_DIR="content/${L10N_CODE}/"
;;

#dev-pt)
#L10N_DIR="content/pt-br/"
#L10N_CODE="pt"
#;;
esac

echo "(DEBUG) L10N Directory: ${L10N_DIR}"
echo "(DEBUG) L10N Code: ${L10N_CODE}"

# Set L10N_DIR, L10N_CODE, and OUTPUT_DIR as environment variables
# Ref: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-environment-variable
Expand All @@ -61,7 +67,7 @@ jobs:
echo "OUTPUT_DIR=${OUTPUT_DIR}" >> $GITHUB_ENV

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch all history for all tags and branches

Expand Down Expand Up @@ -89,12 +95,12 @@ jobs:
# Get the lastest branch name from 'GITHUB_REF'
# The latest branch can be 'upstream/main' or 'forked/dev-ko' (rebased)
LATEST_BRANCH=${GITHUB_REF#refs/}
echo "(DUBUG) LATEST_BRANCH: ${LATEST_BRANCH}"
echo "(DEBUG) LATEST_BRANCH: ${LATEST_BRANCH}"

# Get the old branch from 'github.base_ref'
# The old branch can be 'upstream/dev-ko'
OLD_BRANCH="origin/${{github.base_ref}}"
echo "(DUBUG) OLD_BRANCH: ${OLD_BRANCH}"
echo "(DEBUG) OLD_BRANCH: ${OLD_BRANCH}"

L10N_INFO_JSON=$(cat <<EOF
{
Expand Down Expand Up @@ -127,24 +133,24 @@ jobs:
echo "(DEBUG) FILE_DIR: ${FILE_DIR}"
echo "(DEBUG) FILE_NAME: ${FILE_NAME}"
echo "(DEBUG) Localized file path: $L10N_FILE_PATH"
echo "(DEBUG) Original file path: ./content/en/${FILE_PATH}"
echo "(DEBUG) Original file path: content/en/${FILE_PATH}"

# Create subdirectories
mkdir -p ${OUTPUT_DIR}/${FILE_DIR}

# Actually compare between the old and lastest English content and log diff in the file
if [[ -f "./content/en/${FILE_PATH}" ]]; then
if [[ -f "content/en/${FILE_PATH}" ]]; then
# File exists
# Check changes
git diff ${OLD_BRANCH}..${LATEST_BRANCH} -- ./content/en/${FILE_PATH} > temp.diff
git diff ${OLD_BRANCH}..${LATEST_BRANCH} -- content/en/${FILE_PATH} > temp.diff

if [[ -s "temp.diff" ]]; then
echo "(DEBUG) ${FILE_PATH} is outdated."
mv temp.diff ${OUTPUT_DIR}/${FILE_PATH}
fi

else
echo "(DEBUG) ${FILE_PATH} dose not exist."
echo "(DEBUG) ${FILE_PATH} does not exist."
# File dose not exist (e.g, changed, renamed or removed)
echo "Could not find ${FILE_PATH} in content/en/" > ${OUTPUT_DIR}/${FILE_PATH}
echo "Need to check if it has been changed, renamed or removed" >> ${OUTPUT_DIR}/${FILE_PATH}
Expand All @@ -167,4 +173,4 @@ jobs:
# content-filepath: ${{ steps.checker.outputs.output_path }}
# labels: |
# outdated
# lang/ko
# lang/ko
4 changes: 2 additions & 2 deletions .github/workflows/es-spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
name: Run PySpelling tool to verify spanish spelling issues
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check word list sort
run: |
set -o errexit
diff content/es/.wordlist.txt <(LC_ALL= sort -f content/es/.wordlist.txt)
- name: GitHub Spellcheck Action
uses: rojopolis/spellcheck-github-actions@0.33.0
uses: rojopolis/spellcheck-github-actions@0.33.1
with:
config_path: content/es/.spellcheck.yml
4 changes: 2 additions & 2 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: GitHub Spellcheck Action
uses: rojopolis/spellcheck-github-actions@0.33.0
uses: rojopolis/spellcheck-github-actions@0.33.1
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ resources/
node_modules/
.hugo_build.lock
.DS_Store

# Local Netlify folder
.netlify
Loading