Creates a new GitHubClient.
The connection runtime URL from Azure Portal.
The credential used for authentication.
Optionaloptions: ConnectorClientOptions
Optional connector client options.
Add selected repository to an organization secret
Adds a repository to an organization secret when the visibility for repository access is set to selected. The visibility is set when you Create or update an organization secret. You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the secrets organization permission to use this endpoint.
Check if a user is a repository collaborator
Compare two commits
Both base and head must be branch names in repositoryName. To compare branches across other repositories in the same network as repositoryName, use the format <USERNAME>:branch. The response is equivalent to running the git log base..head command; however, commits are returned in chronological order.
Create an issue
Create a pull request
This operation is to create a pull request in a repository. To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to create a pull request.
Create a reference
Create a repository dispatch event
This operation is to trigger a webhook event called repository_dispatch when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the repository_dispatch event occurs.
Create a repository using a template
Create or update a repository secret
Deletes a GitHub Webhook
Lists the available assignees for issues in a repository
Lists all labels for an issue
Get a particular issue of a repository
Get all issues of a repository
Lists all labels for a repository
Lists all milestones of a repository
Lists all public repositories for an organization
Get a pull request
Get the list of files from a pull request
Get all Pull Requests of A Repository
Get a reference
Lists all public repositories for a user
Get a repository by Id
Get a repository public key
Get the authenticated user
Lists all repositories for the authenticated user
Github MCP Server
List repository collaborators
Merge a pull request
Remove requested reviewers from a pull request
Remove selected repository from an organization secret
Removes a repository from an organization secret when the visibility for repository access is set to selected. The visibility is set when you Create or update an organization secret. You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the secrets organization permission to use this endpoint.
Request reviewers for a pull request
Search Github using Query
Find issues by state and keyword
Update an Issue
Update a milestone
Update a pull request
This operation is used to update a pull request for the repository. To update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
Typed client for the github connector.