a service to monitor the staled pull request on github and send remind email to code review group
Environment set up:
-
install the latest version of Ruby: https://www.ruby-lang.org/en/downloads/
-
install the dependencies: mail, openssl, octokit and rake, the command line is: \bin\gem install . For example: C:\Ruby22\bin\gem install mail
-
add a system environment variable: MY_PERSONAL_TOKEN, which valure is the person al access token you created on the github
Start the service:
cd into the location that the codes located, like c:\PRNotifier, and execue ruby PR_Monitor.rb, like this C:\enlistment\PRNotifier>rake monitor_parallel
Terminate the service:
Ctrl+c