Crowdin #1402
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: "Crowdin" | |
on: | |
schedule: | |
# Daily at 17:00 UTC | |
- cron: '0 17 * * *' | |
workflow_dispatch: | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Sync translations from Crowdin | |
uses: crowdin/[email protected] | |
with: | |
upload_sources: true | |
download_translations: true | |
localization_branch_name: 'l10n_develop' | |
pull_request_title: 'New translations [ci skip]' | |
crowdin_branch_name: 'develop' | |
config: 'crowdin.yml' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | |
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} |