Update github-hooks to add event emitter