-
-
Notifications
You must be signed in to change notification settings - Fork 73
38 lines (33 loc) · 1011 Bytes
/
crowdin.yml
File metadata and controls
38 lines (33 loc) · 1011 Bytes
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
31
32
33
34
35
36
37
38
name: Crowdin Action
on:
schedule:
- cron: "0 */12 * * *"
workflow_dispatch:
permissions:
actions: write
contents: write
pull-requests: write
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: crowdin action
uses: crowdin/github-action@v2.7.0
with:
upload_translations: false
download_translations: true
skip_untranslated_files: true
push_translations: true
export_only_approved: true
commit_message: "feat: New Crowdin translations"
create_pull_request: true
pull_request_title: "New Crowdin translations"
pull_request_labels: "enhancement"
base_url: "https://jenkins.crowdin.com"
config: "crowdin.yml"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: 34
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}