File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 generate_translators :
11- # if: github.event.repository.fork == false
11+ if : github.event.repository.fork == false
1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Checkout code
1515 uses : actions/checkout@v4
1616 with :
1717 fetch-depth : 0
1818 ref : master
19+
1920 - name : Setup Node.js
2021 uses : actions/setup-node@v4
2122 with :
2223 node-version : latest
2324 cache : ' npm'
2425 cache-dependency-path : ./utils/localization/generate-translators/package-lock.json
26+
2527 - name : Install dependencies
2628 working-directory : ./utils/localization/generate-translators
2729 run : npm clean-install
30+
2831 - name : Generate translators
2932 working-directory : ./utils/localization/generate-translators
3033 env :
3336 CROWDIN_PROJECT_ID : " 13" # Multi Theft Auto
3437 CROWDIN_IGNORE_USER_ID : " 2" # multitheftautoqa
3538 run : npm run ci
39+
3640 - name : Commit changes
3741 env :
3842 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4347 git add ./utils/localization/generate-translators/crowdin-translators.json
4448
4549 if ! git diff-index --quiet HEAD; then
46- git commit -m "Update crowdin-translators.json"
50+ git commit -m "Update crowdin-translators.json" -m "[ci skip]"
4751 git push
4852 fi
You can’t perform that action at this time.
0 commit comments