/too-large-pull-request

Tag pull request those changes a lot(more than 500 lines).

Primary LanguageJavaScriptMIT LicenseMIT

Too large pull request

License: MIT

This repo is forked from noqcks/pull-request-size.

This is a GitHub App that applies "large diff" label to Pull Requests those change more than 500 lines.

Here is an example PR. I push a commit that contains 501 lines changes. And APP added the label. After that, I deleted some codes. That label is removed by APP.

¹ A generated file is either one of the standard generated files as defined in noqcks/generated or defined with linguist-generated=true in a .gitattributes file. See Customizing how changed files appear on GitHub for more information.

Setup

This GitHub app runs on probot. It makes it very easy to create new GitHub apps. If you want to run or develop pull-request-size just follow the commands below. hit localhost:3000, and follow the probot instructions.

# Install dependencies
npm install

# Run the bot
npm start