You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Commitsar Action
v0.6.3
Tool to make sure your commits are compliant with conventional commits. It is aimed mainly at CIs to prevent branches with commits that don't comply. Usage as a pre-commit hook is also under consideration.
Commitsar is shipped as a Dockerfile. This is the easiest way to add it to your CI.
Important: Commitsar currently needs to be in the same folder as the git repository you want checked
validate-commits:
docker:
- image: fallion/commitsar
steps:
- checkout
- run: commitsar
Adjust for version and distribution. Please check Releases.
- curl -L -O https://github.com/commitsar-app/commitsar/releases/download/v0.0.2/commitsar_v0.0.2_Linux_x86_64.tar.gz
- tar -xzf commitsar_v0.0.2_Linux_x86_64.tar.gz
- ./commitsar