Skip to content

Synchronize with Crowdin #429

Synchronize with Crowdin

Synchronize with Crowdin #429

Workflow file for this run

name: "Synchronize with Crowdin"
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
permissions:
contents: "write"
pull-requests: "write"
jobs:
synchronize-with-crowdin:
runs-on: "ubuntu-24.04"
steps:
- name: "Checkout repository"
uses: "actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
with:
persist-credentials: false
- name: "Crowdin sync"
uses: "crowdin/github-action@b4b468cffefb50bdd99dd83e5d2eaeb63c880380" # v2.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: "Updated translations from Crowdin"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CROWDIN_PROJECT_ID: "${{ secrets.CROWDIN_PROJECT_ID }}"
CROWDIN_PERSONAL_TOKEN: "${{ secrets.CROWDIN_PERSONAL_TOKEN }}"