tasks/release.py
def list_major_change(_, milestone):
    """
    List all PR labeled "major_changed" for this release.
    """

    github_token = get_github_token()

    response = _query_github_api(
        github_token,
        f"https://api.github.com/search/issues?q=repo:datadog/datadog-agent+label:major_change+milestone:{milestone}",
    )
    results = response.json()
    if not results["items"]:
        print(f"no major change for {milestone}")
        return

    for pr in results["items"]:
        print(f"#{pr['number']}: {pr['title']} ({pr['html_url']})")

    List all PR labeled "major_changed" for this release.
    
List all PR labeled "major_changed" for this release.
List all PR labeled " major_changed " for this release .
def list_major_change(_, milestone):
    github_token = get_github_token()
    response = _query_github_api(
        github_token,
        f"https://api.github.com/search/issues?q=repo:datadog/datadog-agent+label:major_change+milestone:{milestone}",
    )
    results = response.json()
    if not results["items"]:
        print(f"no major change for {milestone}")
        return
    for pr in results["items"]:
        print(f"#{pr['number']}: {pr['title']} ({pr['html_url']})")
def list_major_change ( _ , milestone ) : github_token = get_github_token ( ) response = _query_github_api ( github_token , f"https://api.github.com/search/issues?q=repo:datadog/datadog-agent+label:major_change+milestone:{milestone}" , ) results = response . json ( ) if not results [ "items" ] : print ( f"no major change for {milestone}" ) return for pr in results [ "items" ] : print ( f"#{pr['number']}: {pr['title']} ({pr['html_url']})" )
List all PR labeled "major_changed" for this release.
List all PR labeled " major_changed " for this release .
"""
    List all PR labeled "major_changed" for this release.
    """
_
milestone