def METHOD_NAME(
    repo: github.Repository.Repository,
    release_info: ReleaseInfo,
    release_manager: str,
) -> None:
    title = f"Prepare {release_info.version}"
    branch = f"automation/release/{release_info.version}"
    # starting from HEAD, because we checked out the relevant branch
    git("checkout", "-b", branch)
    git("add", str(VERSION_PATH), str(CONTRIBUTORS_PATH))
    git("commit", "-m", title)
    git("push", "origin", "HEAD")
    pr = repo.create_pull(
        title=title,
        body="",
        base=release_info.branch,
        head=branch,
    )
    pr.add_to_labels("automation:release-prep", "category:internal")
    pr.add_to_assignees(release_manager)