File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- name : Export Crowdin
1+ name : Export translations from Crowdin
22on : [workflow_dispatch]
33jobs :
44 sync :
55 runs-on : ubuntu-latest
66 env :
77 TIMER_CROWDIN_AUTH : ${{ secrets.TIMER_CROWDIN_AUTH }}
88 steps :
9- - name : Checkout
9+ - name : Checkout branch i18n-export
1010 uses : actions/checkout@v4
1111 with :
12- fetch-depth : 0
12+ fetch-depth : 1
1313 token : ${{secrets.GITHUB_TOKEN}}
14+ ref : i18n-export
1415 - name : Test using Node.js
1516 uses : actions/setup-node@v1
1617 with :
2324 run : ts-node ./script/crowdin/export-translation.ts
2425 - name : Commit change
2526 run : |
26- git config --global user.name 'sheepzh '
27+ git config --global user.name 'Crowdin Bot '
2728 git config --global user.email 'returnzhy1996@outlook.com'
2829 git add .
2930 git commit -m "Export translations by Github Action"
You can’t perform that action at this time.
0 commit comments