(subject: ParsedSubject)
| 290 | } |
| 291 | |
| 292 | function 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 | |
| 300 | function knownCategoryFor(subject: ParsedSubject) { |
| 301 | return ( |