MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / isCatalogChange

Function isCatalogChange

scripts/draft-changelog.ts:292–298  ·  view source on GitHub ↗
(subject: ParsedSubject)

Source from the content-addressed store, hash-verified

290}
291
292function isCatalogChange(subject: ParsedSubject) {
293 const normalizedScope = subject.scope?.toLowerCase() ?? "";
294 const normalizedSummary = subject.summary.toLowerCase();
295 return (
296 ["catalog", "registry"].includes(normalizedScope) || /catalog|registry/.test(normalizedSummary)
297 );
298}
299
300function knownCategoryFor(subject: ParsedSubject) {
301 return (

Callers 1

categorizeCommitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected