File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Crowdin Action
2
+
3
+ on :
4
+ push :
5
+ branches : [ 2.x ]
6
+
7
+ jobs :
8
+ synchronize-with-crowdin :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - name : Checkout
13
+ uses : actions/checkout@v4
14
+
15
+ - name : crowdin action
16
+ uses : crowdin/github-action@v2
17
+ with :
18
+ upload_sources : true
19
+ upload_translations : false
20
+ download_translations : true
21
+ create_pull_request : true
22
+ import_eq_suggestions : true
23
+ crowdin_branch_name : 2.x
24
+ env :
25
+ # A classic GitHub Personal Access Token with the 'repo' scope selected (the user should have write access to the repository).
26
+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
27
+
28
+ # A numeric ID, found at https://crowdin.com/project/<projectName>/tools/api
29
+ CROWDIN_PROJECT_ID : ${{ vars.CROWDIN_PROJECT_ID }}
30
+
31
+ # Visit https://crowdin.com/settings#api-key to create this token
32
+ CROWDIN_PERSONAL_TOKEN : ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
You can’t perform that action at this time.
0 commit comments