behaviorbot / update-docs

Prompts users to include documentation in pull requests
https://github.com/apps/update-docs
MIT License
32 stars 9 forks source link

Main functionality #1

Closed hiimbex closed 7 years ago

hiimbex commented 7 years ago

update-docs

The goal of this plugin is to check if a pull request doesn't update the README or a file in the docs/ folder, and then prompt the author to include documentation in their pull request. It does so by drawing data from a config.yml file. I also added a whitelist feature, to allow whitelisting through titles that include things such as bug fix, chore, etc. and is also customizable in the config.yml, but is by default empty.

This PR includes the main functionality and some tests. I would love to hear any thoughts/feedback!

cc/ @bkeepers @kytrinyx @jbjonesjr @ihavenotea @dmleong @lindseyb