Skip to content

Commit 9f9bb88

Browse files
authored
Merge pull request #12925 from ethereum/staging
Deploy v8.5.2
2 parents a5beaae + b7bffc2 commit 9f9bb88

File tree

698 files changed

+72711
-389084
lines changed

Some content is hidden

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

698 files changed

+72711
-389084
lines changed

.all-contributorsrc

Lines changed: 62 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11490,7 +11490,8 @@
1149011490
"avatar_url": "https://avatars.githubusercontent.com/u/72754835?v=4",
1149111491
"profile": "https://github.com/0xemrekaya",
1149211492
"contributions": [
11493-
"tutorial"
11493+
"tutorial",
11494+
"doc"
1149411495
]
1149511496
},
1149611497
{
@@ -11736,7 +11737,8 @@
1173611737
"avatar_url": "https://avatars.githubusercontent.com/u/61613931?v=4",
1173711738
"profile": "https://dharmik79.github.io/portfolio.github.io/",
1173811739
"contributions": [
11739-
"bug"
11740+
"bug",
11741+
"code"
1174011742
]
1174111743
},
1174211744
{
@@ -11774,7 +11776,8 @@
1177411776
"profile": "https://github.com/HayattiQ",
1177511777
"contributions": [
1177611778
"content",
11777-
"bug"
11779+
"bug",
11780+
"maintenance"
1177811781
]
1177911782
},
1178011783
{
@@ -11828,7 +11831,8 @@
1182811831
"avatar_url": "https://avatars.githubusercontent.com/u/8257719?v=4",
1182911832
"profile": "http://rashidma.com",
1183011833
"contributions": [
11831-
"bug"
11834+
"bug",
11835+
"doc"
1183211836
]
1183311837
},
1183411838
{
@@ -11948,6 +11952,60 @@
1194811952
"contributions": [
1194911953
"maintenance"
1195011954
]
11955+
},
11956+
{
11957+
"login": "sogobanwo",
11958+
"name": "sogobanwo",
11959+
"avatar_url": "https://avatars.githubusercontent.com/u/99739569?v=4",
11960+
"profile": "https://olorunsogo-portfolio-sand.vercel.app/",
11961+
"contributions": [
11962+
"maintenance"
11963+
]
11964+
},
11965+
{
11966+
"login": "liuye20240304",
11967+
"name": "liuye20240304",
11968+
"avatar_url": "https://avatars.githubusercontent.com/u/162123251?v=4",
11969+
"profile": "https://github.com/liuye20240304",
11970+
"contributions": [
11971+
"doc"
11972+
]
11973+
},
11974+
{
11975+
"login": "zk-Lumi",
11976+
"name": "Daniel Lumi",
11977+
"avatar_url": "https://avatars.githubusercontent.com/u/149794418?v=4",
11978+
"profile": "https://zksync.io",
11979+
"contributions": [
11980+
"maintenance"
11981+
]
11982+
},
11983+
{
11984+
"login": "ZakGriffith",
11985+
"name": "Zak G",
11986+
"avatar_url": "https://avatars.githubusercontent.com/u/12072395?v=4",
11987+
"profile": "https://github.com/ZakGriffith",
11988+
"contributions": [
11989+
"tutorial"
11990+
]
11991+
},
11992+
{
11993+
"login": "barskhianfannie",
11994+
"name": "Fannie Barskhian",
11995+
"avatar_url": "https://avatars.githubusercontent.com/u/42990794?v=4",
11996+
"profile": "http://fanniebarskhian.com",
11997+
"contributions": [
11998+
"maintenance"
11999+
]
12000+
},
12001+
{
12002+
"login": "ksdumont",
12003+
"name": "Keith Dumont",
12004+
"avatar_url": "https://avatars.githubusercontent.com/u/51958351?v=4",
12005+
"profile": "https://github.com/ksdumont",
12006+
"contributions": [
12007+
"content"
12008+
]
1195112009
}
1195212010
],
1195312011
"contributorsPerLine": 7,

.github/workflows/build-crowdin.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build Crowdin project
2+
3+
on:
4+
schedule:
5+
- cron: "20 04 1 * *" # Runs at 4:20 AM on the first day of every month
6+
workflow_dispatch:
7+
8+
jobs:
9+
trigger_crowdin_project_build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out code
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 18
19+
20+
- name: Install dependencies
21+
run: yarn install
22+
23+
- name: Install ts-node
24+
run: yarn global add ts-node
25+
26+
- name: Run script
27+
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/translations/triggerBuild.ts
28+
env:
29+
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
30+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Generate Crowdin translation review report
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
generate_report:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check out code
11+
uses: actions/checkout@v3
12+
13+
- name: Set up Node.js
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version: 18
17+
18+
- name: Install dependencies
19+
run: yarn install
20+
21+
- name: Install ts-node
22+
run: yarn global add ts-node
23+
24+
- name: Run script
25+
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/reports/generateReviewReport.ts
26+
env:
27+
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
28+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
29+
30+
- name: Upload output as artifact
31+
uses: actions/upload-artifact@v2
32+
with:
33+
name: output
34+
path: ./src/data/crowdin/bucketsAwaitingReviewReport.csv

.github/workflows/get-crowdin-contributors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
create_pr:
9+
get_data_and_create_pr:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check out code
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Update Crowdin leaderboard data
2+
3+
on:
4+
schedule:
5+
- cron: "20 16 1 * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
get_data_and_create_pr:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out code
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 18
19+
20+
- name: Install dependencies
21+
run: yarn install
22+
23+
- name: Install ts-node
24+
run: yarn global add ts-node
25+
26+
- name: Set up git
27+
run: |
28+
git config --global user.email "[email protected]"
29+
git config --global user.name "GitHub Action"
30+
31+
- name: Generate timestamp and readable date
32+
id: date
33+
run: |
34+
echo "TIMESTAMP=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
35+
echo "READABLE_DATE=$(date +'%B %-d')" >> $GITHUB_ENV
36+
37+
- name: Fetch latest dev and create new branch
38+
run: |
39+
git fetch origin dev
40+
git checkout -b "automated-update-${{ env.TIMESTAMP }}" origin/dev
41+
42+
- name: Run script
43+
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/leaderboard/getLeaderboardReports.ts
44+
env:
45+
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
46+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
47+
48+
- name: Commit and push
49+
run: |
50+
git add -A
51+
git commit -m "Update Crowdin leaderboard data"
52+
git push origin "automated-update-${{ env.TIMESTAMP }}"
53+
54+
- name: Create PR body
55+
run: |
56+
echo "This PR was automatically created to update Crowdin leaderboard data." > pr_body.txt
57+
echo "This workflows runs on the first of each month at 16:20 (UTC)." >> pr_body.txt
58+
echo "" >> pr_body.txt
59+
echo "Thank you to everyone contributing to translate ethereum.org ❤️" >> pr_body.txt
60+
61+
- name: Create Pull Request
62+
run: |
63+
gh auth login --with-token ${{ secrets.GITHUB_TOKEN }}
64+
gh pr create --base dev --head "automated-update-${{ env.TIMESTAMP }}" --title "Update translation leaderboard data from Crowdin - ${{ env.READABLE_DATE }}" --body-file pr_body.txt

.github/workflows/get-translation-progress.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
create_pr:
9+
get_data_and_create_pr:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check out code
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Import Crowdin translations
2+
3+
on:
4+
schedule:
5+
- cron: "20 16 1 * *" # Runs at 4:20 PM on the first day of every month
6+
workflow_dispatch:
7+
8+
jobs:
9+
import_crowdin_and_create_prs:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out code
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 18
19+
20+
- name: Install dependencies
21+
run: yarn install
22+
23+
- name: Install ts-node
24+
run: yarn global add ts-node
25+
26+
- name: Set up git
27+
run: |
28+
git config --global user.email "[email protected]"
29+
git config --global user.name "GitHub Action"
30+
31+
- name: Fetch latest dev
32+
run: git fetch origin dev
33+
34+
- name: Get translations
35+
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/translations/getTranslations.ts
36+
env:
37+
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
38+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
39+
40+
- name: Authenticate GitHub CLI
41+
run: |
42+
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
43+
44+
- name: Process commits and post PRs by language
45+
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/translations/postLangPRs.ts
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/import-community-events.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
create_pr:
9+
get_data_and_create_pr:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check out code

0 commit comments

Comments
 (0)