From e37dea97527dfaf0ad2bdda8ec7c0b23f88b1ca8 Mon Sep 17 00:00:00 2001 From: icarus Date: Thu, 4 Sep 2025 18:43:54 +0800 Subject: [PATCH] =?UTF-8?q?ci(i18n):=20=E5=9C=A8=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E7=BF=BB=E8=AF=91=E5=B7=A5=E4=BD=9C=E6=B5=81=E4=B8=AD=E5=BF=BD?= =?UTF-8?q?=E7=95=A5=20package.json=20=E5=92=8C=20yarn.lock=20=E7=9A=84?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 重置 package.json 和 yarn.lock 的更改,避免在自动更新翻译时提交这些文件 --- .github/workflows/auto-i18n.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/auto-i18n.yml b/.github/workflows/auto-i18n.yml index 8b4e656ee3..778f894457 100644 --- a/.github/workflows/auto-i18n.yml +++ b/.github/workflows/auto-i18n.yml @@ -49,6 +49,7 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add . + git reset -- package.json yarn.lock # 不提交 package.json 和 yarn.lock 的更改 git commit -m "fix(i18n): Auto update translations for PR #${{ github.event.pull_request.number }}" - name: 🚀 Push changes