make github endpoint configurable