From 2b70912caebd8feb56ef0af1e9f338356b1498f7 Mon Sep 17 00:00:00 2001 From: zhangkun Date: Wed, 24 Jun 2026 15:04:10 +0800 Subject: [PATCH] ci(changelog): update commit message template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Change the changelog pull request title to use a version bump subject. 2. Expand the generated commit message into title, content, and Log sections. 3. Align the generated content and Log text with the changelog update wording. Log: Update the changelog workflow commit message template to match the required format. ci(changelog): 更新提交信息模板 1. 将 changelog 拉取请求标题改为版本升级主题。 2. 将生成的提交信息扩展为标题、正文和 Log 三段格式。 3. 让生成的正文和 Log 文案符合 changelog 更新要求。 Log: 更新 changelog 流程的提交信息模板以匹配要求格式。 --- .github/workflows/update-changelog.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index fea8086c7..2a671d173 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -284,8 +284,13 @@ jobs: with: token: ${{ steps.app_token.outputs.token }} branch: automation/update-changelog/${{ steps.prepare.outputs.safe_version }} - title: "chore: update changelog to ${{ steps.prepare.outputs.version }}" - commit-message: "chore: update changelog to ${{ steps.prepare.outputs.version }}" + title: "chore: bump version to ${{ steps.prepare.outputs.version }}" + commit-message: | + chore: bump version to ${{ steps.prepare.outputs.version }} + + update changelog to ${{ steps.prepare.outputs.version }} + + Log: update changelog to ${{ steps.prepare.outputs.version }} body: | Automated changelog update.