Skip to content
👀 Ensure your commit messages are formatted based on your commitlint config
JavaScript Makefile Shell CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
docs
scripts
src
website
.babelrc
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.prettierrc.yaml
.yvmrc
LICENSE
Makefile
README.md
package.json
yarn.lock

README.md

CommitWatch

Logo

CommitWatch checks commit messages and ensures they're formatted based on your config preferences.

Getting Started

Install the CommitWatch package:

  • NPM: npm install commit-watch --save-dev
  • Yarn: yarn add commit-watch --dev

You will need to give CommitWatch access to your GitHub Statuses, which can by clicking HERE and copying the code from the URL.

This will give you your COMMITWATCH_GITHUB_TOKEN. You will need to set this as an environment variable in CI.

CI Variables Needed by CommitWatch:

The most efficient way to get this running is to ensure that some environment variables are available for CommitWatch to find.

  • COMMITWATCH_GITHUB_TOKEN
  • CI_REPO_OWNER
  • CI_REPO_NAME
  • CI_BRANCH
  • CI_COMMIT_SHA

In your CI run node ./node_modules/.bin/commit-watch

You can’t perform that action at this time.