Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/dev' into refactor/StakingProd…
Browse files Browse the repository at this point in the history
…uctsCardGrid
  • Loading branch information
TylerAPfledderer committed Feb 27, 2024
2 parents cc16781 + 7262601 commit 3e7d808
Show file tree
Hide file tree
Showing 1,142 changed files with 64,277 additions and 25,522 deletions.
153 changes: 149 additions & 4 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -1521,7 +1521,7 @@
"login": "sassal",
"name": "sassal",
"avatar_url": "https://avatars0.githubusercontent.com/u/9276959?v=4",
"profile": "https//twitter.com/sassal0x",
"profile": "https://twitter.com/sassal0x",
"contributions": [
"content"
]
Expand Down Expand Up @@ -5873,7 +5873,8 @@
"profile": "https://github.com/MiConnell",
"contributions": [
"content",
"code"
"code",
"bug"
]
},
{
Expand Down Expand Up @@ -8829,7 +8830,7 @@
"login": "joonspoon",
"name": "June Clarke ",
"avatar_url": "https://avatars.githubusercontent.com/u/302478?v=4",
"profile": "jointheleague.org",
"profile": "https://www.jointheleague.org/",
"contributions": [
"doc"
]
Expand All @@ -8838,7 +8839,7 @@
"login": "slf188",
"name": "菲利",
"avatar_url": "https://avatars.githubusercontent.com/u/49417481?v=4",
"profile": "huggingface.co/slf188",
"profile": "https://huggingface.co/slf188",
"contributions": [
"doc"
]
Expand Down Expand Up @@ -10965,6 +10966,150 @@
"contributions": [
"content"
]
},
{
"login": "sminempepe",
"name": "sminempepe",
"avatar_url": "https://avatars.githubusercontent.com/u/76882704?v=4",
"profile": "https://github.com/sminempepe",
"contributions": [
"doc"
]
},
{
"login": "aslikaya",
"name": "aslikaya",
"avatar_url": "https://avatars.githubusercontent.com/u/9151261?v=4",
"profile": "https://github.com/aslikaya",
"contributions": [
"doc"
]
},
{
"login": "lucas-amberg",
"name": "Lucas Amberg",
"avatar_url": "https://avatars.githubusercontent.com/u/102396588?v=4",
"profile": "http://lucasamberg.dev",
"contributions": [
"doc"
]
},
{
"login": "a-hagi613",
"name": "Abdullahi",
"avatar_url": "https://avatars.githubusercontent.com/u/92589940?v=4",
"profile": "https://a-hagi.dev/",
"contributions": [
"bug"
]
},
{
"login": "pranavkonde",
"name": "Pranav Konde",
"avatar_url": "https://avatars.githubusercontent.com/u/76070589?v=4",
"profile": "https://www.linkedin.com/in/pranav-konde-56aa141b5/",
"contributions": [
"content"
]
},
{
"login": "MohitKambli",
"name": "Mohit Kambli",
"avatar_url": "https://avatars.githubusercontent.com/u/31406633?v=4",
"profile": "https://github.com/MohitKambli",
"contributions": [
"code"
]
},
{
"login": "oleksandr-hyriavets",
"name": "Oleksandr Hyriavets",
"avatar_url": "https://avatars.githubusercontent.com/u/19614509?v=4",
"profile": "https://github.com/oleksandr-hyriavets",
"contributions": [
"code"
]
},
{
"login": "titanism",
"name": "titanism",
"avatar_url": "https://avatars.githubusercontent.com/u/101466223?v=4",
"profile": "https://github.com/titanism",
"contributions": [
"doc"
]
},
{
"login": "Maxservais",
"name": "Maxime Servais",
"avatar_url": "https://avatars.githubusercontent.com/u/43566493?v=4",
"profile": "https://www.ethereum-ecosystem.com/",
"contributions": [
"code"
]
},
{
"login": "nebolax",
"name": "Alexey Nebolsin",
"avatar_url": "https://avatars.githubusercontent.com/u/63492346?v=4",
"profile": "https://t.me/nebolax",
"contributions": [
"doc"
]
},
{
"login": "jimgreen2013",
"name": "jimgreen2013",
"avatar_url": "https://avatars.githubusercontent.com/u/15890793?v=4",
"profile": "https://github.com/jimgreen2013",
"contributions": [
"doc"
]
},
{
"login": "gabrieltemtsen",
"name": "Gabriel Temsten",
"avatar_url": "https://avatars.githubusercontent.com/u/57184013?v=4",
"profile": "https://github.com/gabrieltemtsen",
"contributions": [
"code"
]
},
{
"login": "jennyg0",
"name": "Jen ",
"avatar_url": "https://avatars.githubusercontent.com/u/60794961?v=4",
"profile": "https://github.com/jennyg0",
"contributions": [
"code"
]
},
{
"login": "Molotov-Eugene",
"name": "Eugene",
"avatar_url": "https://avatars.githubusercontent.com/u/95471552?v=4",
"profile": "https://github.com/Molotov-Eugene",
"contributions": [
"content"
]
},
{
"login": "rimtaex",
"name": "RimTaeX",
"avatar_url": "https://avatars.githubusercontent.com/u/155366533?v=4",
"profile": "https://github.com/rimtaex",
"contributions": [
"content"
]
},
{
"login": "zarifpour",
"name": "Daniel Zarifpour",
"avatar_url": "https://avatars.githubusercontent.com/u/16494335?v=4",
"profile": "http://zarifpour.xyz",
"contributions": [
"content"
]
}
],
"contributorsPerLine": 7,
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/suggest_glossary_term.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ body:
- type: textarea
id: glossary_term_sources
attributes:
label: Sources, if any (please do not submit copywrited content without appropriate approval)
label: Sources, if any (please do not submit copyrighted content without appropriate approval)
description: Please list any sources utilized
validations:
required: false
Expand Down
64 changes: 64 additions & 0 deletions .github/workflows/get-translation-progress.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Update Crowdin translation progression

on:
schedule:
- cron: "20 16 * * FRI"
workflow_dispatch:

jobs:
create_pr:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install dependencies
run: yarn install

- name: Install ts-node
run: yarn global add ts-node

- name: Set up git
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
- name: Generate timestamp and readable date
id: date
run: |
echo "TIMESTAMP=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
echo "READABLE_DATE=$(date +'%B %-d')" >> $GITHUB_ENV
- name: Fetch latest dev and create new branch
run: |
git fetch origin dev
git checkout -b "automated-update-${{ env.TIMESTAMP }}" origin/dev
- name: Run script
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/getTranslationProgress.ts
env:
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}

- name: Commit and push
run: |
git add -A
git commit -m "Update Crowdin translation progress"
git push origin "automated-update-${{ env.TIMESTAMP }}"
- name: Create PR body
run: |
echo "This PR was automatically created to update Crowdin translation progress." > pr_body.txt
echo "This workflows runs every Friday at 16:20 (UTC)." >> pr_body.txt
echo "" >> pr_body.txt
echo "Thank you to everyone contributing to translate ethereum.org ❤️" >> pr_body.txt
- name: Create Pull Request
run: |
gh auth login --with-token <<< ${{ secrets.GITHUB_TOKEN }}
gh pr create --base dev --head "automated-update-${{ env.TIMESTAMP }}" --title "Update translation progress from Crowdin - ${{ env.READABLE_DATE }}" --body-file pr_body.txt
Loading

0 comments on commit 3e7d808

Please sign in to comment.