fix(#1838): exclude backlog 999.x milestone phases (#1843)

* fix(#1838): exclude backlog 999.x milestone phases

* chore(#1838): add changeset fragment
This commit is contained in:
Tom Boucher
2026-06-30 21:29:35 -04:00
committed by GitHub
parent 88a7500e91
commit be54c0dbf5
3 changed files with 48 additions and 0 deletions

View File

@@ -1189,6 +1189,7 @@ function cmdInitMilestoneOp(cwd: string, raw: boolean): void {
const phasePattern = /#{2,4}\s*Phase\s+(\d+[A-Z]?(?:\.\d+)*)\s*:/gi;
let m: RegExpExecArray | null;
while ((m = phasePattern.exec(currentSection)) !== null) {
if (/^999(?:\.|$)/.test(m[1])) continue;
roadmapPhaseNumbers.push(m[1]);
}
} catch {