Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 1, 2020. It is now read-only.
/commitlint-botPublic archive

[NOT MAINTAINED] usehttps://github.com/apps/semantic-pull-requests

License

NotificationsYou must be signed in to change notification settings

z0al/commitlint-bot

Travisnpm

commitlint logo

Built withprobot framework

A GitHub App that runscommitlint against all commits of new or edited pull requestsand sets an appropriate status check.

Usage

  1. Browse toGitHub Apps - commitlint
  2. Accept the permissions
  3. Allow access to repositories

On the next pull request, a status check fromcommitlint will appear:

status-check-screenshot

Problem details will be reported as a comment like this:

status-comment-screenshot

For best results, enable branch protection (in the repository's settings) and require thecommitlint status check to pass before merging:

branch-protection-screenshot

What is missing?

We don't currently support custom configuration (i.e..commitlint.yml or.commitlint.json), butwe will

Development

  1. Setup the repo:
git clone https://github.com/z0al/commitlint-bot.gitcd commitlint-botnpm install
  1. Create your ownGitHub app
  2. Store the private key asprivate-key.pem somewhere safe, and point to its location in.env
  3. Start the app withAPP_ID=1234 npm start where1234 is your GitHub app's ID
  4. Update your GitHub app's Webhook URL to your localtunnel.me URL

Deployment

Seedocs/deploy.md for more info.

Credits

Robot designed byFreepik.

Inspired by the awesome work of Tom Vincent in theirvalidate-commit-msg-bot package.

Like it?

Give it a star(:star:) :point_up_2:

License

MIT ©Ahmed T. Ali

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp