mayadata-io / CodeSniffy

CodeSniffy would sniff the size of PRs and let you know automatically as well as attach any labels depending on the area the PR is submitted.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodeSniffy

License: MIT

Pull Request Sizing Configurations

Name Description
size/XS Denotes a PR that changes 0-9 lines.
size/S Denotes a PR that changes 10-29 lines.
size/M Denotes a PR that changes 30-99 lines.
size/L Denotes a PR that changes 100-499 lines.
size/XL Denotes a PR that changes 500-999 lines.
size/XXL Denotes a PR that changes 1000+ lines.

CodeSniffy calculates the size of a PR as

total additions + total deletions - (all generated¹ file additions/deletions)

¹ 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 CodeSniffy just follow the commands below. hit localhost:3000, and follow the probot instructions.

# Install dependencies
npm install

# Run the bot
npm start

License

MIT © 2020 Sayan Mondal sayan.mondal@mayadata.io

About

CodeSniffy would sniff the size of PRs and let you know automatically as well as attach any labels depending on the area the PR is submitted.

License:MIT License


Languages

Language:JavaScript 98.8%Language:Shell 1.2%