Sync Crowdin Translations #410
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: Sync Crowdin Translations | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 0 * * * # everyday at midnight (UTC) | |
jobs: | |
sync: | |
if: github.repository == 'AmruthPillai/Reactive-Resume' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/[email protected] | |
- name: Sync Translations | |
uses: crowdin/[email protected] | |
with: | |
upload_sources: true | |
upload_translations: true | |
download_translations: true | |
create_pull_request: true | |
localization_branch_name: "l10n" | |
pull_request_base_branch_name: "main" | |
pull_request_title: "New Translations from Crowdin" | |
pull_request_body: "You've got new translations to be merged into the app from contributors on Crowdin.\n\n_This pull request was automatically created by the [Crowdin Action](https://github.com/marketplace/actions/crowdin-action)._" | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | |
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} |