Skip to content

Sync Crowdin Translations #8

Sync Crowdin Translations

Sync Crowdin Translations #8

# Retrieves non-English translations from Crowdin and creates a PR with new changes
name: Sync Crowdin Translations
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * 0
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Crowdin Sync
run: npm run crowdin-sync
env:
# appium-desktop
CROWDIN_PROJECT_ID: 346705
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6.0.0
with:
token: ${{ github.token }}
commit-message: 'chore: Update translations'
title: 'chore: Update translations'
branch: crowdin-sync-${{ github.run_id }}
body: 'Update Crowdin Translations: https://crowdin.com/project/appium-desktop'