-
Notifications
You must be signed in to change notification settings - Fork 10
30 lines (28 loc) · 997 Bytes
/
crowdin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Crowdin
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
translate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crowdin/github-action@v2
with:
translation: "Plugin/src/main/resources/locales/messages_%two_letters_code%.properties"
source: "Plugin/src/main/resources/locales/messages_en.properties"
upload_sources: true
upload_translations: false
download_sources: false
download_translations: true
create_pull_request: false
commit_message: "chore(locales): new crowdin translations"
localization_branch_name: master
push_translations: true
export_only_approved: true
skip_untranslated_files: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}