logo
0
0
WeChat Login

git-mr-title-lint

Based on Conventional Commits specification, this tool checks whether PR titles comply with the given standards.

Conventional Commits

Consistent with open-source community standards. For details, see https://www.conventionalcommits.org/

Configuration File

A configuration file must exist in the repository root directory. You can copy the example configuration file commitlintrc.yml.

Using in Docker

docker run --rm \ -v $(pwd):$(pwd) \ -w $(pwd) \ -e CNB_PULL_REQUEST_TITLE="feat: add demo for plugins" \ tencentcom/git-mr-title-lint

Using in Cloud Native Build

# Check MR title to ensure it complies with commit message conventions main: pull_request: - stages: - name: git-mr-title-lint image: tencentcom/git-mr-title-lint

About

git-mr-title-lint

644.00 KiB
0 forks0 stars2 branches0 TagREADMEMIT license
Language
JavaScript80.7%
Dockerfile13%
Shell6.3%