oss-bot-js is a bot for managing PR reviews on OSS GitHub repositories.
Are you maintaining an OSS project and want contributors to follow certain conventions for pull requests? oss-bot saves you valuable time by automating convention checks, reminding contributors when they (unwittingly) violate your project's conventions.
oss-bot-js is the Node.js version of oss-bot.
oss-bot can currently:
Cheat: If your project follows these conventions, skip to the next section and simply set your GitHub webhook to
https://oss-bot-js.herokuapp.com/pull_req
. This bot also enforces the convention that the PR description contains<GitHub-keyword> #<issue-number>
.
teammates-bot
.Settings -> Personal access tokens
.Reveal Config Vars
. Add the following keys:
GITHUB_API_TOKEN : Your bot's GitHub API access token
CONTRIBUTING_GUIDELINES : Your project's contributing guidelines
REGEX_PULL_REQ_TITLE : Javascript regex to validate the PR title
REGEX_PULL_REQ_BODY : Javascript regex to validate the PR description
ENABLE_KEYWORD_CHECKER (optional variable) : Set value to `TRUE` to enable GitHub keyword checking
Settings -> Webhooks
in your GitHub repo.payload URL
to https://<appname>.herokuapp.com/pull_req
.content type
to application/json
.Let me select individual events -> Pull request
.oss-bot-js welcomes contributors! If you have a feature to suggest or would like to contribute code/tests, please create a new issue in the issue tracker! This project has been adopted by the TEAMMATES organization and is being further developed here.