Skip to content

Commit 223b4bc

Browse files
nokute78niedbalski
authored andcommitted
workflow: update check-commit.yaml
- allow upper case, space, '.', '.', '/' as prefix. - allow upper case character as message first character - allow '"', ''', '<', '>', '+', '[', ']', '!' '*' '\' character Signed-off-by: Takahiro Yamashita <[email protected]>
1 parent 4faa468 commit 223b4bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Check commit subject complies with https://github.com/fluent/fluent-bit/blob/master/CONTRIBUTING.md#commit-changes
1515
uses: gsactions/commit-message-checker@v1
1616
with:
17-
pattern: '^[a-z0-9\-_]+\:[ ]{0,1}[a-z]+[a-zA-Z0-9 \-\.\:_\#\(\)=\/]+$'
17+
pattern: '^[a-z0-9A-Z\-_\s\,\.\/]+\:[ ]{0,1}[a-zA-Z]+[a-zA-Z0-9 \-\.\:_\#\(\)=\/\'\"\,><\+\[\]\!\*\\]+$'
1818
error: 'Invalid commit subject. Please refer to: https://github.com/fluent/fluent-bit/blob/master/CONTRIBUTING.md#commit-changes'
1919
checkAllCommitMessages: 'false'
2020
excludeDescription: 'true'

0 commit comments

Comments
 (0)