Skip to content

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

erel213
Copy link

@erel213 erel213 commented May 29, 2025

Closes: #449

@Copilot Copilot AI review requested due to automatic review settings May 29, 2025 19:46
@erel213 erel213 requested a review from a team as a code owner May 29, 2025 19:46
Copy link
Contributor

@Copilot Copilot AI left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support to update the repository
1 participant