def process_payload_files(payload, github_auth):
    if 'action' in payload and 'pull_request' in payload:
        return process_pullrequest_payload_files(payload, github_auth)
    
    if 'commits' in payload and 'head_commit' in payload:
        return process_pushevent_payload_files(payload, github_auth)
    
    raise ValueError('Unintelligible webhook payload')
Create and return a new Session Token based on the contents
dataset/ETHPy150Open openaddresses/machine/openaddr/ci/__init__.py/process_payload_files--crossover with--dataset/ETHPy150Open darcyliu/storyboard/boto/sts/credentials.py/Credentials.from_json