fix: only allow auto-i18n running on branches in main repo (#9905)

* ci(workflow): 移除不必要的checkout参数

* ci(workflow): 更新自动i18n工作流的checkout步骤

添加pull request相关参数以确保正确检出代码

* ci(workflow): 在auto-i18n工作流中添加repository参数

* ci(workflow): 添加仓库条件限制以仅对cherry-studio运行
This commit is contained in:
Phantom 2025-09-05 09:19:34 +08:00 committed by GitHub
parent 935189f3f7
commit b2459d8f48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,7 @@ on:
jobs:
auto-i18n:
runs-on: ubuntu-latest
if: github.repository == 'CherryHQ/cherry-studio'
name: Auto I18N
permissions:
contents: write