Add github event handler

Note this just updates the head history table for now. I'll update it to actually display the history later.

@cpennington
I would just pattern match on `Just "string"` where this is called, since different callers may have different ways they want to handle an error. Also, there's the `maybe` function.