Built with probot framework
A GitHubb App that runs commitlint against all commits of new or edited pull requests and set an appropriate status check.
- Browse to [GitHub Aissionsn
- Allow access to repositoriess
On the next pull ,request, a status check from commitlint
will appear:
Problem details will be reported as comment like this:
For best results, enable branch protection (in the repository's settings) and require the commitlint
status check to pass before merging:
- Setup the repo:
git clone https://github.com/Ammar-Knowledge/main-bot.git
cd main-bot
npm install
- Create your own GitHub app
- Store the private key as
private-key.pem
somewhere safe, and point to its location in.env
- Start the app with
APP_ID=1234 npm start
where1234
is your GitHub app's ID - Update your GitHub app's Webhook URL to your localtunnel.me URL
See docs/deploy.md for more info.
Robot designed by Freepik.
Inspired by the awesome work of Tom Vincent in their validate-commit-msg-bot package.
Give it a star(:star:) :point_up_2:
MIT © Ammar Ahmed Butt