Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Add create org invitation tool#1226

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

Open
issei-m wants to merge1 commit intogithub:main
base:main
Choose a base branch
Loading
fromissei-m:org

Conversation

@issei-m
Copy link

I've added only the create-invitation, since that’s the only one I need at the moment.
And this is the first pull-req for this repository, so I'm not sure whether other tools for org should be implemented as well. (if so, I can do that)

@issei-missei-m requested a review froma team as acode ownerOctober 15, 2025 12:00
CopilotAI review requested due to automatic review settingsOctober 15, 2025 12:00
Copy link
Contributor

CopilotAI 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 introduces a new GitHub organization invitation tool that allows creating invitations for users to join an organization through the MCP server. The tool supports inviting users by either GitHub user ID or email address and includes comprehensive validation and error handling.

  • AddedCreateOrgInvitation function to create organization invitations via GitHub API
  • Integrated the new tool into the existing toolset framework as a write operation
  • Comprehensive test coverage for various scenarios including success cases, validation errors, and API failures

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

FileDescription
pkg/github/tools.goIntegrates the new CreateOrgInvitation tool into the orgs toolset as a write operation
pkg/github/orgs.goImplements the core CreateOrgInvitation function with parameter validation and GitHub API integration
pkg/github/orgs_test.goProvides comprehensive test coverage for the CreateOrgInvitation functionality
pkg/github/toolsnaps/create_org_invitation.snapContains the tool definition snapshot for testing validation

Tip: Customize your code reviews with copilot-instructions.md.Create the file orlearn how to get started.

@issei-missei-mforce-pushed theorg branch 2 times, most recently from8966fd0 to46389d6CompareOctober 15, 2025 12:28
@issei-missei-m changed the titleCreate org invitation toolfeat: Add create org invitation toolOct 20, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@issei-m

[8]ページ先頭

©2009-2025 Movatter.jp