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: |
|
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user