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/