mirror of
https://github.com/decolua/9router.git
synced 2026-05-08 12:01:28 +00:00
feat: workflow only translates, no auto-commit - user downloads artifact
Made-with: Cursor
This commit is contained in:
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/
|
||||
|
||||
Reference in New Issue
Block a user