-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Github Milestone CRUD #1032
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
yevheniidehtiar
wants to merge
14
commits into
github:main
Choose a base branch
from
yevheniidehtiar:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Github Milestone CRUD #1032
+1,364
−0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This commit adds a new mcp tool command `createMilestone` to create a new milestone in a GitHub repository. The tool is added to the `issues` toolset and includes the following parameters: - owner - repo - title - state - description - due_on A test has been added to verify the functionality of the new tool.
feat: Add createMilestone tool
This commit fixes the `createMilestone` tool by making the `state` parameter required, as it is a required field in the GitHub API. The test for this tool has been updated to reflect this change, and the tool snapshot has been updated accordingly.
fix: Make state parameter required for createMilestone
…repository. The new `edit_milestone` tool allows users to update the title, state, description, and due date of an existing milestone. The implementation includes: - A new `EditMilestone` function in `pkg/github/issues.go` to handle the API logic. - Registration of the new tool in the `issues` toolset in `pkg/github/tools.go`. - A comprehensive unit test for the `EditMilestone` tool in `pkg/github/issues_test.go`, covering success and error cases.
feat: Add Edit Milestone endpoint
This commit introduces the `delete_milestone` tool, which allows users to delete a milestone from a GitHub repository. The new tool includes: - A `DeleteMilestone` function in `pkg/github/issues.go` that calls the GitHub API. - A tool definition for `delete_milestone` with the required parameters. - A unit test for the `DeleteMilestone` function in `pkg/github/issues_test.go`. - Registration of the new tool in the `issues` toolset.
This commit introduces the `delete_milestone` tool, which allows users to delete a milestone from a GitHub repository. The new tool includes: - A `DeleteMilestone` function in `pkg/github/issues.go` that calls the GitHub API. - A tool definition for `delete_milestone` with the required parameters. - A unit test for the `DeleteMilestone` function in `pkg/github/issues_test.go`. - Registration of the new tool in the `issues` toolset. Note: The documentation in `README.md` was not updated automatically. Please run `script/generate-docs` to update it.
This commit introduces the `delete_milestone` tool, which allows users to delete a milestone from a GitHub repository. The new tool includes: - A `DeleteMilestone` function in `pkg/github/issues.go` that calls the GitHub API. - A tool definition for `delete_milestone` with the required parameters. - A unit test for the `DeleteMilestone` function in `pkg/github/issues_test.go`. - Registration of the new tool in the `issues` toolset.
Implement delete milestone endpoint
This commit introduces two new commands for interacting with GitHub milestones: - `list_milestones`: Lists milestones for a repository with options for filtering by state, sorting, and pagination. - `search_milestones`: Searches for milestones in a repository by a query string, filtering by title and description. The changes include: - Implementation of `ListMilestones` and `SearchMilestones` functions in `pkg/github/issues.go`. - Addition of the new tools to the `issues` toolset in `pkg/github/tools.go`. - Unit tests for the new functions in `pkg/github/issues_test.go`. - Updated tool snapshots and generated documentation.
feat: Implement list_milestones and search_milestones commands
Any reason to not merge this? We need this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #258
gemini-milestone-mcp-test.mov