Skip to content

Commit 37aa680

Browse files
fujimotosniedbalski
authored andcommitted
workflows: allow the use of an underscore ('_') in commit message
We needed this in order to allow a commit message like this: out_splunk: prioritize http basic auth over splunk token In general, we refer to each plugin by "(in|out)_[a-z]*", so an underscore should be included in the allowed list. Signed-off-by: Fujimoto Seiji <[email protected]>
1 parent 1938ec8 commit 37aa680

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-z\-]+\:[ ]{0,1}[a-z]+[a-zA-Z0-9 \-\.\:]+$'
17+
pattern: '^[a-z\-_]+\:[ ]{0,1}[a-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)