File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 Write-Host "Commits found: $commitCount"
2525
2626 # Regex pattern for Conventional Commits
27- $pattern = '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\.\-]+\))?(!)?: ([\w ])+([\s\S]*)|^(Merged PR \d+: .+)|^(Merge pull request #/ d+ from .+)'
27+ $pattern = '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\.\-]+\))?(!)?: ([\w ])+([\s\S]*)|^(Merged PR \d+: .+)|^(Merge pull request #\ d+ from .+)|^(Merge branch .+)'
2828 Write-Host "Regular Expression: $pattern"
2929
3030 # Validate each commit message
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Prefix your items with `(Template)` if the change is about the template and not
77
88## 0.24.3
99- Update CLI documentation.
10+ - Fix commit validation after a merge.
1011
1112## 0.24.2
1213- General improvements, including sample documentation (see ` src/cli/example/README.md ` ).
You can’t perform that action at this time.
0 commit comments