mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-31 16:49:07 +08:00
ci(github): fix auto-i18n condition (#9921)
* ci(github): 修复自动i18n工作流的仓库名称条件 修复条件判断中的仓库名称变量,确保工作流在正确的仓库中运行 * ci(workflow): 简化自动i18n工作流的条件表达式 * fix(translate): fix warn
This commit is contained in:
parent
e3e8783eb8
commit
19846c7e01
2
.github/workflows/auto-i18n.yml
vendored
2
.github/workflows/auto-i18n.yml
vendored
@ -13,7 +13,7 @@ on:
|
||||
jobs:
|
||||
auto-i18n:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.base.repo.full_name == 'CherryHQ/cherry-studio'
|
||||
if: github.event.pull_request.head.repo.full_name == 'CherryHQ/cherry-studio'
|
||||
name: Auto I18N
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
@ -664,7 +664,7 @@ const TranslatePage: FC = () => {
|
||||
}
|
||||
setIsProcessing(false)
|
||||
},
|
||||
[getSingleFile, isProcessing, processFile, t]
|
||||
[getSingleFile, isProcessing, processFile, setText, t]
|
||||
)
|
||||
return (
|
||||
<Container
|
||||
|
||||
Loading…
Reference in New Issue
Block a user