used octokit for github api
fixed merge issue