New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

commit-watch

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commit-watch

commit message status check for continuous integration

  • 2.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
145
increased by66.67%
Maintainers
2
Weekly downloads
 
Created
Source

CommitWatch

npm node-current npm

Overview

CommitWatch checks commit messages and ensures they conform to the Top Hat commitlint config (loosely inspired by conventional commit spec).

Getting Started

yarn dlx commit-watch --help

You can configure commit-watch via CLI args or via environment variables.

Configuration Variables:

NameValueDescription
COMMITWATCH_GITHUB_TOKENRequiredPersonal access token with write access to GitHub status checks, and read access to your repository.
CI_REPO_OWNERRequiredThe "owner" from https://github.com/\<owner>/<name>.
CI_REPO_NAMERequiredThe "name" from https://github.com/\<owner>/<name>. That is, your repository name.
CI_COMMIT_SHARequiredThe commit sha to run the linter against.
CI_BASE_BRANCHDefaults to origin/master.The base branch to compare the commit sha against.
COMMIT_WATCH_OUTPUT_DIRDefaults to ./artifacts/test_results/commitwatch/.Directory to write the junit report to.
COMMIT_WATCH_OUTPUT_FILENAMEDefaults to commitwatch.junit.xml.The name of the junit report.
DEBUGSet to 'commit-watch' to enable verbose mode.

FAQs

Package last updated on 08 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc