Skip to content

fix: Incoming connection request is not highlighted (#17449) #8110

fix: Incoming connection request is not highlighted (#17449)

fix: Incoming connection request is not highlighted (#17449) #8110

name: Sync translations
on:
push:
branches: [dev]
schedule:
- cron: '0 8 * * *'
workflow_dispatch:
concurrency:
group: translations-${{ github.ref }}
cancel-in-progress: true
jobs:
sync_translations:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'yarn'
- name: Authenticate git clone
env:
GH_TOKEN: ${{secrets.OTTO_THE_BOT_GH_TOKEN}}
run: echo -e "machine github.com\n login ${GH_TOKEN}" > ~/.netrc
- name: Install JS dependencies
run: yarn --immutable
- name: Merge translations
run: yarn translate:merge
- name: Download translations
uses: crowdin/github-action@v1.20.4
env:
GITHUB_TOKEN: ${{secrets.OTTO_THE_BOT_GH_TOKEN}}
CROWDIN_PROJECT_ID: 342359
INPUT_DEBUG_MODE: false
with:
upload_sources: true
upload_translations: false
github_user_name: otto-the-bot
github_user_email: webapp+otto@wire.com
download_translations: true
push_translations: true
create_pull_request: true
localization_branch_name: 'translations'
pull_request_title: 'chore: Update translations'
commit_message: 'chore: Update translations'
token: ${{secrets.WEBTEAM_CROWDIN_TOKEN}}
source: '/src/i18n/en-US.json'
translation: '/src/i18n/%locale%.json'
base_path: '.'