Source Update Workflow

This commit is contained in:
Core 2022-09-21 15:20:59 +01:00
parent 8bf6eabe45
commit 356788d4dc
No known key found for this signature in database
GPG key ID: 2AB8327FBA02D1C0

View file

@ -18,7 +18,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
@ -55,7 +55,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
@ -70,8 +70,34 @@ jobs:
commit_user_name: "cider-chore[bot]"
commit_user_email: "cider-chore[bot]@users.noreply.github.com"
update-i18n-source:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Update Source Files
run: cp src/i18n/en_US.json src/i18n/source/en_US.json
- name: Commit Updated Source File
uses: stefanzweifel/git-auto-commit-action@v4.14.1
with:
commit_message: "chore: Updated i18n Source\n [ci skip]"
commit_user_name: "cider-chore[bot]"
commit_user_email: "cider-chore[bot]@users.noreply.github.com"
synchronize-with-crowdin:
runs-on: ubuntu-latest
if: ${{ false }} # disable for now
steps:
- name: Checkout