Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Crowdin Action

Crowdin Action #175

Workflow file for this run

name: Crowdin Action
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Sync translations
uses: crowdin/github-action@v1
with:
source: '/**/locales/en/*.po'
translation: '/**/locales/%two_letters_code%/%original_file_name%'
upload_sources: true
upload_translations: true
download_translations: true
localization_branch_name: i18n_crowdin_translations
create_pull_request: true
pull_request_title: 'chore(i18n): sync translations'
pull_request_body: 'New Crowdin translations by Crowdin GH Action'
commit_message: 'chore(i18n): sync translations'
pull_request_assignees: 'sasicodes'
pull_request_reviewers: 'sasicodes'
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}