- Notifications
You must be signed in to change notification settings - Fork958
Support update repo metadata#453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Pull Request Overview
This PR adds support for updating GitHub repository metadata by introducing a new tool called "update_repository". It updates the tool registration in tools.go, provides an implementation in repositories.go, and includes tests in repositories_test.go.
- Added a new toolset registration for "update_repository"
- Implemented the UpdateRepository function in repositories.go
- Added unit tests for UpdateRepository in repositories_test.go
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
pkg/github/tools.go | Registers the new UpdateRepository tool in the toolset list |
pkg/github/repositories.go | Implements the UpdateRepository function with proper API calls |
pkg/github/repositories_test.go | Adds tests for the UpdateRepository tool with duplicate assertions noted |
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Closes:#449