mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-12 07:43:10 +10:00
- implement disable_email_auth env var
- add sync crowdin translations github action
This commit is contained in:
31
.github/workflows/sync-crowdin-translations.yml
vendored
Normal file
31
.github/workflows/sync-crowdin-translations.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
name: Sync Crowdin Translations
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- v4
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4.1.1
|
||||
|
||||
- name: Sync Translations
|
||||
uses: crowdin/github-action@v1.15.2
|
||||
with:
|
||||
upload_sources: true
|
||||
upload_translations: true
|
||||
download_translations: true
|
||||
create_pull_request: true
|
||||
localization_branch_name: "l10n"
|
||||
pull_request_base_branch_name: "v4"
|
||||
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_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 }}
|
||||
Reference in New Issue
Block a user