You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ever wonder how long your PRs take to get merged... I did.
Grab the data using api.github.com and save it to a file
note: I had to do this in a browser as curl did not get it correctly. (Modify projecthydra/sufia to be your repo)
https://api.github.com/repos/projecthydra/sufia/pulls?per_page=100&state=closed
Parse it in the ruby console
The code below will give you the average PR close time in hours.