From 5ba862dce237eedce993504d7faf3b5faf33d835 Mon Sep 17 00:00:00 2001 From: decolua Date: Fri, 6 Mar 2026 12:32:41 +0700 Subject: [PATCH] feat: workflow only translates, no auto-commit - user downloads artifact Made-with: Cursor --- .github/workflows/translate-readme.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/translate-readme.yml b/.github/workflows/translate-readme.yml index 6554ad50..cbe36597 100644 --- a/.github/workflows/translate-readme.yml +++ b/.github/workflows/translate-readme.yml @@ -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/