(subject: ParsedSubject)
| 310 | } |
| 311 | |
| 312 | function isDocsChange(subject: ParsedSubject) { |
| 313 | const normalizedFields = [subject.type, subject.scope?.toLowerCase()]; |
| 314 | return normalizedFields.includes("docs") || subject.summary.toLowerCase().includes("example"); |
| 315 | } |
| 316 | |
| 317 | function internalCategoryFor(type: string) { |
| 318 | return INTERNAL_TYPES.has(type) ? "Internal" : undefined; |