From cdd22b0abc3c99878d2aae3b1dc1e0811940f534 Mon Sep 17 00:00:00 2001 From: Anyon Date: Fri, 8 May 2026 15:45:51 +0800 Subject: [PATCH] =?UTF-8?q?ci(github):=20=E6=9B=B4=E6=96=B0=20ThinkAdmin?= =?UTF-8?q?=20=E8=87=AA=E5=8A=A8=E6=8B=86=E5=88=86=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将插件拆分工作流的主仓库判断从 ThinkAdminDeveloper 切换为 ThinkAdmin,匹配当前 GitHub 仓库名称。 主要内容: - 更新 github.repository 条件为 zoujingli/ThinkAdmin。 - 增加 v6-dev 与 v8-dev 分支 push 触发,推送开发分支后自动拆分同步插件仓库。 - 保留 workflow_dispatch 手动触发入口,便于补跑指定分支同步。 --- .github/workflows/split.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/split.yml b/.github/workflows/split.yml index 1454c0289..a9792b2a4 100644 --- a/.github/workflows/split.yml +++ b/.github/workflows/split.yml @@ -1,10 +1,15 @@ -name: Split Repositorys +name: Split Repositories -on: [ workflow_dispatch ] +on: + push: + branches: + - v6-dev + - v8-dev + workflow_dispatch: jobs: split: - if: github.repository == 'zoujingli/ThinkAdminDeveloper' + if: github.repository == 'zoujingli/ThinkAdmin' runs-on: ubuntu-latest env: SSH_PRIVATE_KEY: ${{ secrets.SPLIT_PRIVATE_KEY }}