Sync translations #5982
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync translations | |
on: | |
workflow_dispatch: | |
push: | |
branches: [master] | |
schedule: | |
- cron: '0 */6 * * *' | |
jobs: | |
synchronize-with-crowdin: | |
if: github.repository_owner == 'jesec' | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Crowdin Action | |
uses: crowdin/[email protected] | |
with: | |
config: 'crowdin.yml' | |
localization_branch_name: integration/translations | |
create_pull_request: true | |
pull_request_title: 'i18n: new translations' | |
pull_request_labels: 'translations, automatic' | |
upload_sources: true | |
download_translations: true | |
push_translations: true | |
commit_message: 'i18n: new translations' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | |
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} |