Conform
Policy enforcement for your pipelines.
Conform is a tool for enforcing policies on your build pipelines.
Some of the policies included are:
- Commits: Enforce commit policies including:
- Commit message header length
- Developer Certificate of Origin
- GPG signature
- Conventional Commits
- Imperative mood
- License Headers: Enforce license headers on source code files.
Getting Started
Create a file named .conform.yaml
with the following contents:
policies:
- type: commit
spec:
headerLength: 89
dco: true
gpg: true
imperative: true
conventional:
types:
- "type"
scopes:
- "scope"
- type: license
spec:
skipPaths:
- .git/
- .build*/
includeSuffixes:
- .ext
excludeSuffixes:
- .exclude-ext-prefix.ext
headerFile: LICENSE_HEADER
In the same directory, run:
$ conform enforce
POLICY STATUS MESSAGE
commit PASS <none>
license PASS <none>
License
![license](https://img.shields.io/github/license/autonomy/conform.svg?style=flat-square)