def update_failing_status(status_url, job_url, bad_files, filenames, github_auth):
    status = dict(context='openaddresses/hooked', state='failure',
                  description=u'Failed on {} from {}'.format(', '.join(bad_files), ', '.join(filenames)),
                  target_url=job_url)
    
    return post_github_status(status_url, status, github_auth)
Push failing status for head commit to Github status API.
dataset/ETHPy150Open openaddresses/machine/openaddr/ci/__init__.py/update_failing_status