Skip to content

Commit 81d7601

Browse files
committed
fix: fix commit validation after a merge
1 parent e023715 commit 81d7601

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

build/templates/validate-commits.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ steps:
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

src/cli/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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`).

0 commit comments

Comments
 (0)