refactor(github) callback