def get_top_users(
    *,
    counter: Counter,
    min_count: int,
    authors: dict[str, Author],
    skip_users: Container[str],
) -> list[dict[str, Any]]:
    """Get top users based on their contribution counts.

    Args:
        counter: Counter with user contribution counts
        min_count: Minimum count to be included in results
        authors: Dictionary mapping usernames to Author objects
        skip_users: Container of usernames to exclude from results

    Returns:
        List of dictionaries containing:
            - login: Username
            - count: Number of contributions
            - avatarUrl: URL to user's avatar
            - url: URL to user's GitHub profile
    """
    users: list[dict[str, Any]] = []
    for commentor, count in counter.most_common(50):
        if commentor in skip_users:
            continue
        if count >= min_count:
            author = authors[commentor]
            users.append(
                {
                    'login': commentor,
                    'count': count,
                    'avatarUrl': author.avatarUrl,
                    'url': author.url,
                }
            )
    return users
Get top users based on their contribution counts.

    Args:
        counter: Counter with user contribution counts
        min_count: Minimum count to be included in results
        authors: Dictionary mapping usernames to Author objects
        skip_users: Container of usernames to exclude from results

    Returns:
        List of dictionaries containing:
            - login: Username
            - count: Number of contributions
            - avatarUrl: URL to user's avatar
            - url: URL to user's GitHub profile
    
.github/actions/people/people.py