From ec36a977129c6539068258e4576853cbe87c385d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89=E9=B8=AD=E8=9B=8B?= Date: Fri, 5 Sep 2025 01:09:01 +0800 Subject: [PATCH] =?UTF-8?q?ci(workflow):=20=E7=A7=BB=E9=99=A4=20Git=20?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E9=85=8D=E7=BD=AE=E5=B9=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8F=91=E5=B8=83=E5=88=86=E6=94=AF=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除不再需要的 Git 用户信息配置步骤 添加 skip_dirty_check 等参数以优化发布分支流程 --- .github/workflows/build_release_branch.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_release_branch.yml b/.github/workflows/build_release_branch.yml index 8a0151176..976ba900b 100644 --- a/.github/workflows/build_release_branch.yml +++ b/.github/workflows/build_release_branch.yml @@ -50,14 +50,6 @@ jobs: git clean -fd echo "✅ 工作目录清理完成" - - name: ⚙️ 配置 Git 用户信息 - run: | - echo "🔧 配置 Git 用户身份信息..." - cd bettergi-scripts-list - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - echo "✅ Git 用户信息配置完成" - - name: 🌿 准备 Release 分支 run: | echo "🔄 开始准备 Release 分支..." @@ -86,4 +78,9 @@ jobs: commit_message: "🔄 重置 release 分支 - 自动构建于 $(date '+%Y-%m-%d %H:%M:%S')" branch: release push_options: '--force' - repository: bettergi-scripts-list \ No newline at end of file + repository: bettergi-scripts-list + file_pattern: . + skip_dirty_check: true + skip_fetch: false + skip_checkout: true + create_branch: false \ No newline at end of file