Skip to content

![high](https://www.gstatic.com/codereviewagent/high-priority.svg) #8

@ebarcly

Description

@ebarcly

high

This function hardcodes the main branch when fetching the repository tree. This will fail for repositories where the default branch is different (e.g., master). To make this more robust, you should first fetch the repository's details to get its default_branch, and then use that branch name in this API call.

Originally posted by @gemini-code-assist[bot] in #7 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions