Files
probot.github.io/validate-commit-msg-bot.md
2017-09-26 10:08:32 +01:00

1.8 KiB

title, description, slug, screenshots, authors, repository
title description slug screenshots authors repository
validate-commit-msg-bot Runs validate-commit-msg over all commits of new or edited pull requests and sets an appropriate a status check. validate-commit-msg-bot
https://github.com/tlvince/validate-commit-msg-bot/raw/master/docs/status-check-screenshot.png
tlvince
tlvince/validate-commit-msg-bot

validate-commit-msg aaS

Runs validate-commit-msg over all commits of new or edited pull requests and sets an appropriate a status check.

Send a PR to tlvince-sandbox-validate-commit-msg-bot to see it in action.

Usage

  1. Browse to GitHub Apps - validate commit msg
  2. Accept the permissions
  3. Allow access to repositories

On the next pull request, a status check from validate-commit-msg-bot will appear:

status-check-screenshot

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

branch-protection-screenshot

Author

© 2017 Tom Vincent git@tlvince.com (https://tlvince.com)

License

Released under the MIT license.

Robot emoji courtesy of EmojiOne.