Skip to content

Commit

Permalink
workflows: allow the use of an underscore ('_') in commit message
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
fujimotos authored and niedbalski committed Mar 23, 2021
1 parent 1938ec8 commit 37aa680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Check commit subject complies with https://github.com/fluent/fluent-bit/blob/master/CONTRIBUTING.md#commit-changes
uses: gsactions/commit-message-checker@v1
with:
pattern: '^[a-z\-]+\:[ ]{0,1}[a-z]+[a-zA-Z0-9 \-\.\:]+$'
pattern: '^[a-z\-_]+\:[ ]{0,1}[a-z]+[a-zA-Z0-9 \-\.\:_]+$'
error: 'Invalid commit subject. Please refer to: https://github.com/fluent/fluent-bit/blob/master/CONTRIBUTING.md#commit-changes'
checkAllCommitMessages: 'false'
excludeDescription: 'true'
Expand Down

0 comments on commit 37aa680

Please sign in to comment.