feat: option to not fail the build if version already exists (#1145) #180
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| permissions: | |
| actions: write | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| synchronize-with-crowdin: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: crowdin action | |
| uses: crowdin/github-action@v2 | |
| with: | |
| upload_translations: true | |
| download_translations: true | |
| skip_untranslated_files: true | |
| auto_approve_imported: true | |
| push_translations: true | |
| export_only_approved: true | |
| commit_message: 'New Crowdin translations' | |
| create_pull_request: true | |
| pull_request_title: 'Update localization' | |
| pull_request_labels: 'localization' | |
| base_url: 'https://jenkins.crowdin.com' | |
| config: 'crowdin.yml' | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| CROWDIN_PROJECT_ID: 35 | |
| CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} |