Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_reviews (0.2 sec)

  1. scripts/label_approved.py

    for pr in repo.get_pulls(state="open"):
        logging.info(f"Checking PR: #{pr.number}")
        pr_labels = list(pr.get_labels())
        pr_label_by_name = {label.name: label for label in pr_labels}
        reviews = list(pr.get_reviews())
        review_by_user: dict[str, PullRequestReview] = {}
        for review in reviews:
            if review.user.login in review_by_user:
                stored_review = review_by_user[review.user.login]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 13:58:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top