Runs commitlint against your projects PRs
MIT License
You use conventional-changelog, but you squash pull requests (PRs). So you want PR titles to match the same semantics as your conventional changelog requirements. (If you want a bot to lint against your commit messages instead of the PR title, then check out ahmed-taj/commitlint-bot!)
commitlintbot is a bot that will update your pull request's commit status based on your PR's title satisfying the requirements of your conventional-changelog configuration. It runs on now.sh, and receives github webhooks and updates a commit status via the Github API.
commitlint.config.js
in the root of the repo, that will be used instead. The other config formats (.commitlintrc.js, .commitlintrc.json, .commitlintrc.yml) are not supported..cz-config.js
in the root of your repo, that will be used to enforce your custom scopes & types.https://commitlintbot2.vercel.app/api/lint-title
application/json
Pull request
Now, things should be pretty automatic.
The responses of the webhook should be minimally helpful:
code
that's in the URL afterwards.MIT