feat: workflow only translates, no auto-commit - user downloads artifact

Made-with: Cursor
This commit is contained in:
decolua
2026-03-06 12:32:41 +07:00
parent 863a9ca7d5
commit 5ba862dce2

View File

@@ -26,10 +26,8 @@ jobs:
run: | run: |
node .github/scripts/translate-readme.js vi zh-CN node .github/scripts/translate-readme.js vi zh-CN
- name: Commit translations - name: Upload translations as artifact
run: | uses: actions/upload-artifact@v4
git config --local user.email "github-actions[bot]@users.noreply.github.com" with:
git config --local user.name "github-actions[bot]" name: translated-readmes
git add i18n/ path: i18n/
git diff --staged --quiet || git commit -m "chore: auto-translate README to vi, zh-CN"
git push