def set_commit_status(self, status, description, repo, sha):
        """Call the Github API to update the commit status for the pull request."""
        data = {
            'state': status,
            'description': description,
            'context': 'review',
        }
        url = self.commit_status_url % {'full_name': repo, 'sha': sha}
        return post(url, json=data, auth=auth_token)
dataset/ETHPy150Open gabrielhora/github_reviewer/reviewer/reviewers.py/Reviewer.set_commit_status/original