Skip to content

Commit f7f3af4

Browse files
mhduiyBLumia
authored andcommitted
ci(changelog): update commit message template
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 流程的提交信息模板以匹配要求格式。
1 parent 88706fa commit f7f3af4

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/update-changelog.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,13 @@ jobs:
284284
with:
285285
token: ${{ steps.app_token.outputs.token }}
286286
branch: automation/update-changelog/${{ steps.prepare.outputs.safe_version }}
287-
title: "chore: update changelog to ${{ steps.prepare.outputs.version }}"
288-
commit-message: "chore: update changelog to ${{ steps.prepare.outputs.version }}"
287+
title: "chore: bump version to ${{ steps.prepare.outputs.version }}"
288+
commit-message: |
289+
chore: bump version to ${{ steps.prepare.outputs.version }}
290+
291+
update changelog to ${{ steps.prepare.outputs.version }}
292+
293+
Log: update changelog to ${{ steps.prepare.outputs.version }}
289294
body: |
290295
Automated changelog update.
291296

0 commit comments

Comments
 (0)