Skip to content

New de translations by GitHub Action (#179) #20

New de translations by GitHub Action (#179)

New de translations by GitHub Action (#179) #20

name: Crowdin upload
on:
push:
paths:
- custom_components/myskoda/translations/*
- crowdin.yaml
branches: [ main ]
workflow_dispatch:
jobs:
synchronize-with-crowdin:
if: github.repository_owner == 'skodaconnect'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: crowdin action
uses: crowdin/github-action@v2
with:
upload_sources: true
upload_translations: true
auto_approve_imported: true
download_translations: false
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}