work to allow future expansion to other github hook types