Skip to content

Commit 6c213cd

Browse files
authored
fix(ci): support breaking change indicator (!) in commit-lint pattern (#54)
* Add commit-message prefix config to conform with new convention Signed-off-by: lelia <lelia@socket.dev> * Update PR template with Conventional Commits guidance for titles Signed-off-by: lelia <lelia@socket.dev> * fix(ci): support breaking change indicator (!) in commit-lint pattern Signed-off-by: lelia <lelia@socket.dev> --------- Signed-off-by: lelia <lelia@socket.dev>
1 parent e5a9d3b commit 6c213cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/commit-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
PR_TITLE: ${{ github.event.pull_request.title }}
3131
run: |
3232
VALID_TYPES="feat|fix|docs|chore|ci|refactor|test|perf|revert"
33-
PATTERN="^(${VALID_TYPES})(\(.+\))?: .+"
33+
PATTERN="^(${VALID_TYPES})(\(.+\))?!?: .+"
3434
3535
echo "PR title: $PR_TITLE"
3636

0 commit comments

Comments
 (0)