feat: workflow only translates, no auto-commit - user downloads artifact
Made-with: Cursor
This commit is contained in:
parent
863a9ca7d5
commit
5ba862dce2
1 changed files with 5 additions and 7 deletions
12
.github/workflows/translate-readme.yml
vendored
12
.github/workflows/translate-readme.yml
vendored
|
|
@ -26,10 +26,8 @@ jobs:
|
|||
run: |
|
||||
node .github/scripts/translate-readme.js vi zh-CN
|
||||
|
||||
- name: Commit translations
|
||||
run: |
|
||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git add i18n/
|
||||
git diff --staged --quiet || git commit -m "chore: auto-translate README to vi, zh-CN"
|
||||
git push
|
||||
- name: Upload translations as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: translated-readmes
|
||||
path: i18n/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue