技能 2026-10-15 11:35 UTC
EverOS
由提交人 gloryfromca 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix(ci): reserve the room a squash merge takes (#506)。
Commit提交信息原文
fix(ci): reserve the room a squash merge takes (#506) The PR title check measured the title an author types. What lands on main is the squash subject GitHub builds from it, "<title> (#<number>)", which is longer. v1.4.2 went out that way: #496's title was a legal 66 chars and the commit on main is 73, over the 72 this policy enforces -- and `commit messages` then failed on every open PR for a commit none of them wrote. Reserve the suffix before comparing. CI now passes PR_NUMBER so the reserve is exact; a local run without it falls back to the width of a four-digit number. 5 of the 29 PRs open today would still land an over-length subject, so this turns them red before the merge rather than after it. Co-authored-by: zhanghui <23442919+gloryfromca@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>