Skip to content

Sync Crowdin

Sync Crowdin #92

Workflow file for this run

name: Sync Crowdin
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
permissions:
contents: write
pull-requests: write
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout Repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
with:
persist-credentials: false
- name: Crowdin Sync
uses: crowdin/github-action@b4b468cffefb50bdd99dd83e5d2eaeb63c880380 # 2.14.0
with:
config: .github/crowdin.yml
upload_sources: true
download_translations: true
localization_branch_name: l10n_crowdin_translations
create_pull_request: true
pull_request_base_branch_name: main
pull_request_title: "New Crowdin Translations"
pull_request_body: "New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)"
commit_message: "Update translations from Crowdin"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}