File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Crowdin Action
2
+
3
+ on :
4
+ push :
5
+ branches : [ gh-pages ]
6
+ workflow_dispatch :
7
+
8
+ permissions :
9
+ contents : write
10
+ pull-requests : write
11
+
12
+ jobs :
13
+ synchronize-with-crowdin :
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v4
19
+
20
+ - name : crowdin action
21
+ uses : crowdin/github-action@v2
22
+ with :
23
+ upload_sources : true
24
+ upload_translations : false
25
+ download_translations : true
26
+ localization_branch_name : l10n
27
+ create_pull_request : true
28
+ pull_request_title : ' New Crowdin Translations'
29
+ pull_request_body : ' New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)'
30
+ pull_request_base_branch_name : ' gh-pages'
31
+ env :
32
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33
+ CROWDIN_PROJECT_ID : ${{ secrets.CROWDIN_PROJECT_ID }}
34
+ CROWDIN_PERSONAL_TOKEN : ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
You can’t perform that action at this time.
0 commit comments