From 4efe3e7ae0d0bca258546305b5a0e47878cf3a11 Mon Sep 17 00:00:00 2001 From: imnaiyar Date: Sun, 3 Nov 2024 09:42:40 +0600 Subject: [PATCH] chore: something --- .github/workflows/crowdin-action.yml | 82 ++++++++++++++-------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/.github/workflows/crowdin-action.yml b/.github/workflows/crowdin-action.yml index a5ef390d..21f8d472 100644 --- a/.github/workflows/crowdin-action.yml +++ b/.github/workflows/crowdin-action.yml @@ -1,41 +1,41 @@ -name: Crowdin Action - -on: - schedule: - - cron: "0 0 * * *" # Run every hour - workflow_dispatch: - -jobs: - synchronize-with-crowdin: - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - id-token: write - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: crowdin action - uses: crowdin/github-action@v2 - with: - upload_sources: true - upload_translations: false - download_translations: true - localization_branch_name: crowdin_translate - create_pull_request: true - pull_request_title: "chore: new translations [crowdin]" - pull_request_base_branch_name: "main" - pull_request_labels: crowdin, translations - commit_message: "chore: translations" - github_user_name: "github-actions[bot]" - github_user_email: "github-actions[bot]@users.noreply.github.com" - download_translations_args: "-l hi -l ja -l ru" - config: crowdin.yml - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} - - CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} +name: Crowdin Action + +on: + schedule: + - cron: "0 0 * * *" # Run every hour + workflow_dispatch: + +jobs: + synchronize-with-crowdin: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + id-token: write + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: crowdin action + uses: crowdin/github-action@v2 + with: + upload_sources: true + upload_translations: true + download_translations: true + localization_branch_name: crowdin_translate + create_pull_request: true + pull_request_title: "chore: new translations [crowdin]" + pull_request_base_branch_name: "main" + pull_request_labels: crowdin, translations + commit_message: "chore: translations" + github_user_name: "github-actions[bot]" + github_user_email: "github-actions[bot]@users.noreply.github.com" + download_translations_args: "-l hi -l ja -l ru" + config: crowdin.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} + + CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}