refactor pull request promise chain

now we use a consistent output location for the logs
as compared to console.logs in multiple locations