(commit: RawCommit)
| 233 | } |
| 234 | |
| 235 | export function shouldSkipCommit(commit: RawCommit) { |
| 236 | const subject = commit.subject.toLowerCase(); |
| 237 | return ( |
| 238 | subject.includes("[skip changelog]") || |
| 239 | /^chore: release v\d+\.\d+\.\d+/.test(subject) || |
| 240 | /^chore: bump version/.test(subject) |
| 241 | ); |
| 242 | } |
| 243 | |
| 244 | export function parseCommit(commit: RawCommit): ParsedCommit { |
| 245 | const prNumber = extractPrNumber(commit.subject); |
no outgoing calls
no test coverage detected