Runs commitlint against your projects PRs
The problemYou 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!)
This solutioncommitlintbot 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.
Configurationcommitlint.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.~ This is broken ATM. <3https://commitlintbot.now.sh
application/json
Pull request
Now, things should be pretty automatic.
Alsonow
with now -e GHTOKEN=yourgithubpersonalaccesstoken
.MIT
Readme Keywordsnone Package Sidebar Install Downloads Weekly Downloads CollaboratorsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4