Skip to content

chore(ci): add breaking change guideline to PR title check#2087

Merged
xrgzs merged 2 commits intomainfrom
feat/ci-breaking-change
Feb 6, 2026
Merged

chore(ci): add breaking change guideline to PR title check#2087
xrgzs merged 2 commits intomainfrom
feat/ci-breaking-change

Conversation

@xrgzs
Copy link
Member

@xrgzs xrgzs commented Feb 6, 2026

Description / 描述

完善 PR 标题检查的 GitHub Action, 支持 breaking change 标记(!),使其更加符合 Conventional Commits 规范。

Motivation and Context / 背景

https://www.conventionalcommits.org/en/v1.0.0/#commit-message-with-scope-and--to-draw-attention-to-breaking-change

How Has This Been Tested? / 测试

image

Checklist / 检查清单

  • I have read the CONTRIBUTING document.
    我已阅读 CONTRIBUTING 文档。
  • I have formatted my code with go fmt or prettier.
    我已使用 go fmtprettier 格式化提交的代码。
  • I have added appropriate labels to this PR (or mentioned needed labels in the description if lacking permissions).
    我已为此 PR 添加了适当的标签(如无权限或需要的标签不存在,请在描述中说明,管理员将后续处理)。
  • I have requested review from relevant code authors using the "Request review" feature when applicable.
    我已在适当情况下使用"Request review"功能请求相关代码作者进行审查。
  • I have updated the repository accordingly (If it’s needed).
    我已相应更新了相关仓库(若适用)。

xrgzs added 2 commits February 6, 2026 20:12
Updated regex to allow '!' for breaking changes in PR titles.

Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Add bilingual instructions for PR title formatting.

Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
@xrgzs xrgzs requested a review from jyxjjj February 6, 2026 12:31
@xrgzs xrgzs merged commit 6861cb4 into main Feb 6, 2026
14 checks passed
@xrgzs xrgzs deleted the feat/ci-breaking-change branch February 6, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants