File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Crowdin To GitHub
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ schedule :
6
+ - cron : ' 15 * * * *' # sync every hour
7
+
8
+ jobs :
9
+ synchronize-with-crowdin :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v4
15
+
16
+ - name : Sync Crowdin to Github
17
+
18
+ with :
19
+ upload_sources : false
20
+ upload_translations : false
21
+ download_translations : true
22
+ localization_branch_name : i18n_crowdin
23
+ create_pull_request : true
24
+ push_sources : false
25
+ pull_request_title : ' New Crowdin Translations'
26
+ pull_request_body : ' New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)'
27
+ pull_request_base_branch_name : ' main'
28
+ env :
29
+ CROWDIN_PROJECT_ID : ${{ secrets.CROWDIN_PROJECT_ID }}
30
+ CROWDIN_PERSONAL_TOKEN : ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
31
+ GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments