ci(changelog): update commit message template#791
Conversation
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 流程的提交信息模板以匹配要求格式。
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates the changelog automation workflow so the PR title and commit message follow a version-bump style subject and a three-part commit template (title, body, Log) aligned with the changelog wording. Flow diagram for updated changelog workflow commit message templateflowchart TD
trigger["Push triggering update-changelog workflow"] --> job_update_changelog["Job update-changelog"]
job_update_changelog --> step_prepare["Step prepare (set version and safe_version)"]
step_prepare --> step_create_pr["Step create-pull-request"]
step_create_pr --> pr["Pull request with title 'chore: bump version to <version>'"]
step_create_pr --> commit["Commit message with title, body, and Log sections"]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
deepin pr auto review★ 总体评分:75分■ 【总体评价】
■ 【详细分析】
■ 【改进建议代码示例】 --- a/.github/workflows/update-changelog.yml
+++ b/.github/workflows/update-changelog.yml
@@ -284,13 +284,8 @@ jobs:
with:
token: ${{ steps.app_token.outputs.token }}
branch: automation/update-changelog/${{ steps.prepare.outputs.safe_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 }}
+ title: "chore: update changelog to ${{ steps.prepare.outputs.version }}"
+ commit-message: "chore: update changelog to ${{ steps.prepare.outputs.version }}"
body: |
Automated changelog update.
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: BLumia, mhduiy The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Log: Update the changelog workflow commit message template to match the required format.
ci(changelog): 更新提交信息模板
Log: 更新 changelog 流程的提交信息模板以匹配要求格式。
Summary by Sourcery
Update the changelog automation workflow commit message format for version bumps.
CI: