Support github hooks. close #1