Add github payload adaption to controller