Crowdin Action #3656
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: | |
workflow_dispatch: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '0 */6 * * *' | |
jobs: | |
synchronize-with-crowdin: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: crowdin action | |
uses: crowdin/[email protected] | |
with: | |
upload_translations: false | |
download_translations: true | |
upload_sources: true | |
localization_branch_name: l10n_crowdin | |
create_pull_request: true | |
pull_request_title: 'New Crowdin translations' | |
pull_request_body: 'New Crowdin pull request with translations' | |
pull_request_labels: 'enhancement' | |
config: 'crowdin.yml' | |
crowdin_branch_name: master | |
download_translations_args: '--all' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | |
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} |