def METHOD_NAME(self):
    '''the ref of the head-commit of the PR
    returns None if unable to determine
    '''
    if (pr_info := self.raw.get('pull_request')):
        if (head_info := pr_info.get('head')):
            if (ref := head_info.get('ref')):
                return ref
    return None