ci(workflow): 移除 Git 用户信息配置并更新发布分支参数

移除不再需要的 Git 用户信息配置步骤
添加 skip_dirty_check 等参数以优化发布分支流程
This commit is contained in:
辉鸭蛋
2025-09-05 01:09:01 +08:00
parent 2321600966
commit ec36a97712

View File

@@ -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
repository: bettergi-scripts-list
file_pattern: .
skip_dirty_check: true
skip_fetch: false
skip_checkout: true
create_branch: false