From 740c92b784b79cafdbf70d95f45fbb2bf1b6adb4 Mon Sep 17 00:00:00 2001 From: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com> Date: Thu, 26 May 2022 10:55:52 -0700 Subject: [PATCH] Monorepo Crowdin Sync (#2713) * trying a working-directory to fix the crowdin configuration issue * trying a job default working-directory * switching to using a custom action * bumping the custom action version * bumping the custom action version * updating the PR branch names to have different ones per project * removing test code * Updating commit hash to master branch of custom crowdin pull action --- .github/workflows/crowdin-pull.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/crowdin-pull.yml b/.github/workflows/crowdin-pull.yml index 5559fb9a11e..df1cb46c716 100644 --- a/.github/workflows/crowdin-pull.yml +++ b/.github/workflows/crowdin-pull.yml @@ -36,13 +36,13 @@ jobs: secrets: "crowdin-api-token" - name: Download translations - uses: crowdin/github-action@e39093fd75daae7859c68eded4b43d42ec78d8ea # v1.3.2 + uses: bitwarden/gh-actions/crowdin@05052c5c575ceb09ceea397fe241879e199ed44b env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }} CROWDIN_PROJECT_ID: ${{ matrix.crowdin_project_id }} with: - config: apps/${{ matrix.app_name }}/crowdin.yml + config: crowdin.yml crowdin_branch_name: master upload_sources: false upload_translations: false @@ -50,7 +50,8 @@ jobs: github_user_name: "github-actions" github_user_email: "<>" commit_message: "Autosync the updated translations" - localization_branch_name: crowdin-auto-sync + localization_branch_name: crowdin-auto-sync-${{ matrix.app_name }} create_pull_request: true pull_request_title: "Autosync Crowdin Translations for ${{ matrix.app_name }}" pull_request_body: "Autosync the updated translations" + working_directory: apps/${{ matrix.app_name }}