diff --git a/.github/workflows/check-commit.yaml b/.github/workflows/check-commit.yaml index 0c1cefe6bef..86296e5155e 100644 --- a/.github/workflows/check-commit.yaml +++ b/.github/workflows/check-commit.yaml @@ -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'