mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-24 08:20:31 +08:00
35 lines
848 B
YAML
35 lines
848 B
YAML
name: Crowdin Action
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
synchronize-with-crowdin:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: crowdin action
|
|
uses: crowdin/github-action@1.2.0
|
|
with:
|
|
upload_translations: true
|
|
|
|
download_translations: true
|
|
push_translations: true
|
|
commit_message: 'refactor: New Crowdin translations by Github Action'
|
|
|
|
localization_branch_name: l10n_crowdin_action
|
|
create_pull_request: true
|
|
pull_request_title: 'refactor: New Crowdin translations'
|
|
|
|
crowdin_branch_name: l10n_branch
|
|
config: './web/crowdin.yml'
|
|
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
CROWDIN_PROJECT_ID: '463556'
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} |