diff --git a/.github/workflows/cider-chores.yml b/.github/workflows/cider-chores.yml index 660575b4..48136a22 100644 --- a/.github/workflows/cider-chores.yml +++ b/.github/workflows/cider-chores.yml @@ -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