def add_capability(self, capability_class):
        self.capabilities.append(capability_class(self))
Add log event for commit from webhook payload.
dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_library/src/rosbridge_library/protocol.py/Protocol.add_capability--crossover with--dataset/ETHPy150Open CenterForOpenScience/osf.io/website/addons/github/views.py/add_hook_log