Skip to content

Commit 935b754

Browse files
committed
chore(ci): allow '!' for breaking changes in commit messages
1 parent e6bdc7b commit 935b754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check_commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Check first line
1111
uses: gsactions/commit-message-checker@16fa2d5de096ae0d35626443bcd24f1e756cafee
1212
with:
13-
pattern: '^((feat|fix|chore|refactor|style|test|docs|doc)(\([\w\-_]+\))?\:) .+$'
13+
pattern: '^((feat|fix|chore|refactor|style|test|docs|doc)(\([\w\-_]+\))?\!?\:) .+$'
1414
flags: "gs"
1515
error: 'Your first line has to contain a commit type and scope like "feat(my_feature): msg".'
1616
excludeDescription: "true" # optional: this excludes the description body of a pull request

0 commit comments

Comments
 (0)