Merge pull request #1329 from Bi2Nb9O3-Studio/releases/1.21 #106
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: 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 |