Skip to content

carrot/commodus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robinpowered Commodus

A sinatra powered, heroku ready application that will track open pull requests, and search comments for the 👍

Usage

Simply run bundler install and ruby app.rb to startup the sinatra app locally.

Use git push heroku master after cloning to deploy to a heroku server.

Setup a personal access token with repo scope with export ACCESS_TOKEN=token or heroku config:set ACCESS_TOKEN=token.

Setup a Github webhook on your repo/organization that points to https://yourserver.herokuapp.com/hooks with pull_request and issue_comment feeds. Make sure to set your SECRET_TOKEN env variable.

By default, Commodus will look for comments in the open PR for a :+1: or a :-1: and calculate the net change per comment.

If you want to change the default number of 👍s needed for a repository set the required_plus_ones POST parameter in your webhook.

About

Always ensure pull requests have the thumbs up before merging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%