def extract_issue_number(github_reference):

    match = GITHUB_ISSUE_REGEX.match(github_reference)
    if match:
        return int(match.group('issue'))
    else:
        return None
Extracts the issue number from the github reference
dataset/ETHPy150Open zalando/turnstile/turnstile/common/github.py/extract_issue_number