Skip to content

Crowdin Action

Crowdin Action #817

Workflow file for this run

name: Crowdin Action
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- app/src/main/res/values/strings.xml
schedule:
- cron: '0 0 * * *'
permissions:
contents: write
pull-requests: write
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Crowdin Action
uses: crowdin/github-action@master
with:
# Upload and download translation settings
upload_sources: true
upload_translations: true
download_translations: true
skip_untranslated_files: true
# Pull request settings
create_pull_request: true
localization_branch_name: crowdin_branch
pull_request_labels: 'enhancement, documentation'
pull_request_title: '[Translation] Update translation from Crowdin'
# Global settings
config: 'crowdin.yml'
crowdin_branch_name: main
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }}