You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
735 B
32 lines
735 B
name: Crowdin Action
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '2 */12 * * *'
|
|
push:
|
|
paths: [
|
|
'/public/locales/en/**',
|
|
]
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
synchronize-with-crowdin:
|
|
name: Crowdin Sync
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: crowdin action
|
|
uses: crowdin/github-action@v1
|
|
with:
|
|
upload_translations: false
|
|
download_translations: true
|
|
crowdin_branch_name: main
|
|
localization_branch_name: l10n_main
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|