* add dev dep for GH webhook types * use new types, and remove redundent string coercion * simplify conditional logic