commit-watch
commit message status check for continuous integration
Last updated 3 months ago by tophat_npm .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install commit-watch 
SYNC missed versions from official npm registry.

CommitWatch

Logo

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

Requirements

Node >= v12

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 found 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

Optional:

  • COMMIT_WATCH_OUTPUT_DIR, defaults to './artifacts/test_results/commitwatch/'.
  • COMMIT_WATCH_OUTPUT_FILENAME, defaults to 'commitwatch.junit.xml'.

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

Current Tags

  • 0.0.10                                ...           latest (3 months ago)

8 Versions

  • 0.0.10                                ...           3 months ago
  • 0.0.7                                ...           4 months ago
  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |