# README
GitHub Action: Check commit subject is compliant with HAProxy guidelines
This action checks that the commit subject is compliant with the patch classifying rules of HAProxy contribution guidelines. Also it does minimal check for a meaningful message in the commit subject: no less than 20 characters and at least 3 words.
Examples
Good
- Bug fix:
BUG/MEDIUM: fix set-var parsing bug in config-parser
- New minor feature:
MINOR: Add path-rewrite annotation
- Minor build update:
BUILD/MINOR: Add path-rewrite annotation
Bad
- Incorrect patch type
bug: fix set-var parsing bug in config-parser
- Short commit message
BUG/MEDIUM: fix set-var
- Unkown severity
BUG/MODERATE: fix set-var parsing bug in config-parser
Inputs
None.
Usage
steps:
- name: Check out code
uses: actions/checkout@v1
- name: check-commit
uses: docker://haproxytech/check-commit:TAG