Is it possible to filter pull requests in github by who merged it?
Something like:
is:merged is:pr mergedBy:username
but that doesn't work
EDIT: This was what i came up with (my goal was to create a top list of most active codereviewers in our project):
var result = {};
$.get("/api/v3/repos/atg/atgse/pulls?state=closed&per_page=100", function(pulls){
pulls.forEach(function(listPullItem){
$.get(listPullItem.url, function(pull) {
if (pull && pull.merged_by) {
result[pull.merged_by.login] = result[pull.merged_by.login] || 0;
result[pull.merged_by.login] ++;
}
});
});
});