Repository navigation
ci: configure PR title types whitelist for semantic check - #70
Merged
lonewolfyx merged 1 commit intoSep 21, 2026
Merged
Conversation
Pin the types whitelist in validate-pr-title.yml to the union of the conventional-commit-types defaults and the types listed in .agents/skills/create-pr/SKILL.md, so PR titles like 'release: ...' generated per the skill pass validation.
Contributor
|
🎉 Thx for the PR @dogledogle |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤔 本次变更属于 ...
🔗 相关 Issue
None
💡 背景与方案
PR 标题校验使用的
amannn/action-semantic-pull-request在未配置types输入时,会按 conventional-commit-types 的默认白名单校验,仅允许feat、fix、docs、style、refactor、perf、test、build、ci、chore、revert。本仓库 create-pr skill(.agents/skills/create-pr/SKILL.md)中补充的release标题类型会被 CI 直接拒绝。本次为该 action 显式配置
types白名单,取默认白名单与仓库 skill 所列类型的并集,共 12 个:在默认白名单基础上新增release。subjectPattern等其余校验规则保持不变。📝 变更日志