Bootstrap pull request sanity checker bot
Перейти к файлу
Chris Rebert 9d25078b5d Merge pull request #40 from twbs/other-bump
Travis CI: Bump Scala version
2016-06-30 23:07:27 -07:00
docs Update docs to reflect 15e3ce3 2015-12-22 14:09:03 -07:00
project Update dependencies+tools 2016-06-27 21:50:03 -07:00
src/main Fix #36 2016-01-31 00:34:07 -08:00
.gitattributes add .gitattributes file to enforce Unix newlines 2014-10-09 17:13:03 -07:00
.gitignore Scala gitignore 2014-06-24 01:28:38 -07:00
.travis.yml Travis CI: Bump Scala version 2016-06-27 22:14:57 -07:00
CONTRIBUTING.md add more to CONTRIBUTING.md 2014-10-12 00:37:52 -07:00
Dockerfile Dockerfile: dockerfile/java => java:8 2015-08-12 19:21:10 -07:00
LICENSE.txt Update copyright notice 2016-06-27 22:17:49 -07:00
README.md README: Add new-ish checks to list of checks performed 2016-02-10 17:08:31 -08:00
build.sbt Update dependencies+tools 2016-06-27 21:50:03 -07:00
setup_droplet.sh add --read-only to docker args 2015-02-06 17:48:18 -08:00

README.md

Rorschach

Build Status Development Status :: 5 - Production/Stable MIT License

Rorschach (@twbs-rorschach) is a Bootstrap pull request sanity checker bot.

Rorschach watches for new or modified pull requests, runs sanity checks on them, and if a sanity check fails, it leaves an informative comment on the pull request explaining the mistake and how to fix it, and then closes the pull request.

Rorschach requires Java 8 or higher.

Motivation

You're a member of a popular open source project that involves front-end Web technologies. Cool.

But due to the project's popularity, you will get some pull requests proposed by folks who don't read the contributing guidelines, folks who don't understand asset pipelines, or just plain newbies (hey, everybody's gotta start somewhere).

By automating the process of sanity-checking proposed pull requests:

  • Feedback can be given to the pull requester extremely quickly, decreasing the turnaround time on fixing the pull request and decreasing friction for the requester.
  • The requester can be referred to canonical write-ups explaining the common mistakes in detail, so that they have full context for understanding the reported mistakes.
  • Issue triagers will have less work to deal with, and human error in failing to zealously check every single pull request for every common mistake is eliminated.

Checks performed

GitHub webhook configuration

  • Payload URL: http://your-domain.example/rorschach
  • Content type: application/json
  • Secret: Same as your web-hook-secret-key config value
  • Which events would you like to trigger this webhook?: "Pull Request"

License

Rorschach is released under the MIT License.

Acknowledgments

We all stand on the shoulders of giants and get by with a little help from our friends. Rorschach is written in Scala and built on top of:

See also

  • LMVTFY, Rorschach's sister bot who does HTML validation
  • Savage, Rorschach's sister bot who runs cross-browser JS tests on Sauce Labs
  • NO CARRIER, Rorschach's sister bot who closes old abandoned issues