Change pull request API to use octokit