Download translations from Crowdin #18
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: Download translations from Crowdin | |
on: workflow_dispatch | |
jobs: | |
download-from-crowdin: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Crowdin Action | |
uses: crowdin/github-action@v1 | |
with: | |
upload_sources: false | |
upload_translations: false | |
download_translations: true | |
skip_untranslated_strings: true | |
skip_untranslated_files: false | |
commit_message: 'Import translation work from Crowdin' | |
create_pull_request: true | |
pull_request_title: 'New Crowdin translations' | |
pull_request_labels: 'enhancement' | |
config: 'crowdin.yml' | |
dryrun_action: false | |
project_id: ${{ secrets.CROWDIN_PROJECT_ID }} | |
token: ${{ secrets.CROWDIN_TOKEN }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |