mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 21:42:27 +08:00
ci(i18n): 在自动翻译工作流中忽略 package.json 和 yarn.lock 的更改
重置 package.json 和 yarn.lock 的更改,避免在自动更新翻译时提交这些文件
This commit is contained in:
parent
52863a8f87
commit
e37dea9752
1
.github/workflows/auto-i18n.yml
vendored
1
.github/workflows/auto-i18n.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user