mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-03 11:19:10 +08:00
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:
parent
935189f3f7
commit
b2459d8f48
1
.github/workflows/auto-i18n.yml
vendored
1
.github/workflows/auto-i18n.yml
vendored
@ -13,6 +13,7 @@ on:
|
||||
jobs:
|
||||
auto-i18n:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'CherryHQ/cherry-studio'
|
||||
name: Auto I18N
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
Loading…
Reference in New Issue
Block a user