From 475d57da73f74ecdc5107e1325e6887382c996db Mon Sep 17 00:00:00 2001 From: saboooor Date: Mon, 18 Dec 2023 16:03:21 -0700 Subject: [PATCH] a --- .github/workflows/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb3b69e2..338b2d68 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,24 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: crowdin-action + uses: crowdin/github-action@v1.15.2 + with: + upload_sources: true + upload_translations: false + download_translations: true + localization_branch_name: l10n_dev + create_pull_request: true + pull_request_title: 'New Crowdin Translations' + pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)' + pull_request_base_branch_name: 'dev' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} + CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} + - run: corepack enable + - name: Install Node.js uses: actions/setup-node@v4 with: