examples/github-webhook: fix function signature