Stop using the callback from the `github-api` promises and handle the response through the promise itself, same as for catching the errors.