You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature or problem you'd like to solve
The server provides fork_repository to create forks, but lacks a corresponding tool to list forks of a given repository.
In #207 / PR #250, fork listing was directed to search_repositories. While qualifiers like fork:only work for listing a specific user's forks (user:X fork:only), GitHub's Search API has no parent:owner/repo qualifier. As a result, search_repositories cannot reliably list downstream forks of an arbitrary repository without brittle keyword matching against repo names.
Proposed solution
Add a list_forks tool under the repos toolset backed by GET /repos/{owner}/{repo}/forks via go-github's client.Repositories.ListForks:
Activity