Process github pr info in functions