deal with new github api.