updated stats_pull_requests to use the new utils

interface
This commit is contained in:
Karma Riuk
2025-03-14 09:49:50 +01:00
parent 115e275479
commit c035bfbe77

View File

@ -24,8 +24,8 @@ def move_github_logging_to_file():
github_logger.propagate = False # Prevent logging to standard output github_logger.propagate = False # Prevent logging to standard output
def process_pull(repo, pull): def process_pull(repo, pull):
commits = list(pull.get_commits()) commits = pull.get_commits()
comments = list(pull.get_review_comments()) comments = pull.get_review_comments()
return { return {
"repo": repo.full_name, "repo": repo.full_name,