Skip to content

Crowdin Download

Crowdin Download #502

name: Crowdin Download
on:
schedule:
- cron: '0 0 * * *' # every day at 00:00 (midnight)
- cron: '0 12 * * *' # every day at 12:00 PM (noon)
# start via Actions tab in GitHub UI
workflow_dispatch:
jobs:
download-translations:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download from Crowdin
uses: crowdin/github-action@v1
with:
upload_translations: false
download_translations: true
create_pull_request: true
pull_request_body: 'FW-0000'
pull_request_base_branch_name: 'main'
pull_request_labels: 'automated'
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}