Skip to content

Update Crowdin Sources / Translations #115

Update Crowdin Sources / Translations

Update Crowdin Sources / Translations #115

Workflow file for this run

name: Update Crowdin Sources / Translations
on:
workflow_dispatch:
push:
paths:
- src/generated/resources/assets/anvilcraft/lang/en_us.json
- crowdin.yml
- .github/workflows/**
branches:
- releases/1.21
schedule:
- cron: 0 0 * * *
jobs:
update:
runs-on: ubuntu-latest
permissions:
pull-requests: write
statuses: write
contents: write
steps:
- name: checkout
uses: actions/checkout@v4
- uses: crowdin/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }}
with:
upload_sources: true
download_translations: true
localization_branch_name: i18n
push_translations: true
create_pull_request: true
pull_request_base_branch_name: releases/1.21
download_translations_args: --all