Add status code checking to github post call too