Buff machine upgrades (#890) #67
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 Action | |
on: | |
push: | |
branches: [ '1.21.x' ] | |
workflow_dispatch: | |
jobs: | |
synchronize-with-crowdin: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: crowdin action | |
uses: crowdin/github-action@61ac8b980551f674046220c3e104bddae2916ac5 | |
with: | |
upload_sources: true | |
upload_translations: false | |
download_translations: true | |
localization_branch_name: l10n_crowdin_translations | |
create_pull_request: true | |
pull_request_title: 'Updated Translations from Crowdin' | |
pull_request_body: 'Updated Translations by [Crowdin GH Action](https://github.com/crowdin/github-action)' | |
pull_request_base_branch_name: '1.21.x' | |
env: | |
# A classic GitHub Personal Access Token with the 'repo' scope selected (the user should have write access to the repository). | |
GITHUB_TOKEN: ${{ secrets.CROWDIN_GH_TOKEN }} | |
# A numeric ID, found at https://crowdin.com/project/<projectName>/tools/api | |
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | |
# Visit https://crowdin.com/settings#api-key to create this token | |
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} |