File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change
1
+ # Instructions for Using the Translation Workflow:
2
+ # Detailed guidelines for utilizing the translation workflow can be found in Section 5.12
3
+ # of our documentation: [How We Work](https://newfold-labs.github.io/how-we-work/).
4
+
1
5
name : Crowdin Download Action
2
6
3
7
on :
4
8
workflow_dispatch :
9
+ inputs :
10
+ base_branch :
11
+ description : ' Base branch for the pull request'
12
+ required : false
13
+ default : ' main'
5
14
6
15
permissions :
7
16
contents : write
8
17
pull-requests : write
9
-
18
+
10
19
jobs :
11
20
synchronize-with-crowdin :
12
21
runs-on : ubuntu-latest
26
35
auto_approve_imported : true
27
36
pull_request_title : ' New Crowdin Translations'
28
37
pull_request_body : ' New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)'
29
- pull_request_base_branch_name : ' main'
38
+ pull_request_base_branch_name : ${{ inputs.base_branch || 'main' }}
30
39
31
40
env :
32
41
# A classic GitHub Personal Access Token with the 'repo' scope selected (the user should have write access to the repository).
36
45
CROWDIN_PROJECT_ID : ${{ vars.CROWDIN_PROJECT_ID }}
37
46
38
47
# Visit https://crowdin.com/settings#api-key to create this token
39
- CROWDIN_PERSONAL_TOKEN : ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
48
+ CROWDIN_PERSONAL_TOKEN : ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
Original file line number Diff line number Diff line change
1
+ # Instructions for Using the Translation Workflow:
2
+ # Detailed guidelines for utilizing the translation workflow can be found in Section 5.12
3
+ # of our documentation: [How We Work](https://newfold-labs.github.io/how-we-work/).
4
+
1
5
name : Crowdin Upload Action
2
6
3
7
on :
You can’t perform that action at this time.
0 commit comments