You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
39 lines
1001 B
YAML
39 lines
1001 B
YAML
name: Crowdin Action
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths:
|
|
- 'module/webui/locales/strings/*.xml'
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
synchronize-with-crowdin:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Crowdin Action
|
|
uses: crowdin/github-action@v2
|
|
with:
|
|
upload_sources: true
|
|
upload_translations: true
|
|
download_translations: true
|
|
skip_untranslated_files: false
|
|
skip_untranslated_strings: true
|
|
|
|
create_pull_request: true
|
|
localization_branch_name: crowdin_branch
|
|
pull_request_labels: 'enhancement, translation'
|
|
pull_request_title: 'opt: sync translation from Crowdin'
|
|
|
|
config: 'crowdin.yml'
|
|
crowdin_branch_name: main
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
|
CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }}
|