Skip to Content

GithubApi

Generic
Arcade Starter

Description: Tools that enable LLMs to interact directly with the GitHub API.

Author: Arcade

Auth: User authorization

PyPI VersionLicensePython VersionsWheel StatusDownloads

GithubApi is a Starter MCP Server: each tool mirrors one HTTP endpoint and offers LLMs a way to interact with the low-level API.


Differently from Optimized MCP Servers, Starter tools are heavily influenced by the original API design, which is not usually optimized for LLM usage. For this reason, we recommend thoroughly evaluating the tools with your Agents or chatbots before using it in production. Read more about Optimized vs Starter tools.

The GitHubApi MCP Server offers a comprehensive suite of tools for interacting with GitHub, enabling users and applications to manage repositories, issues, pull requests, and more. With this server, you can:

Available Tools

Tool NameDescription
GithubApi.GetGithubRootLinksRetrieve Hypermedia links to GitHub's REST API resources.
GithubApi.ListGlobalWebhooksRetrieve a list of global webhooks from GitHub Enterprise.
GithubApi.CreateGlobalWebhookCreate a global webhook in GitHub Enterprise Admin.
GithubApi.DeleteGlobalWebhookDelete a global webhook in GitHub Enterprise.
GithubApi.GetGithubGlobalWebhookRetrieve details of a specific global webhook in GitHub Enterprise.
GithubApi.UpdateGlobalWebhookUpdate a GitHub enterprise global webhook.
GithubApi.TriggerGithubWebhookPingTrigger a ping event to a GitHub webhook.
GithubApi.ListGithubPublicKeysRetrieve GitHub Enterprise Admin public keys.
GithubApi.DeleteGithubPublicKeyDelete a public key from GitHub Enterprise.
GithubApi.UpdateLdapMappingForTeamUpdate the LDAP mapping for a GitHub team.
GithubApi.QueueLdapSyncForTeamQueue an LDAP sync job for a specified team.
GithubApi.UpdateLdapMappingForUserUpdate LDAP mapping for a user in GitHub Enterprise Admin.
GithubApi.SyncGithubLdapUserMappingQueue a sync job for LDAP mapping of a GitHub user.
GithubApi.CreateGithubOrganizationCreate a new organization on GitHub.
GithubApi.UpdateGithubOrgNameUpdates the organization name on GitHub Enterprise.
GithubApi.ListPreReceiveEnvironmentsRetrieve a list of pre-receive environments for GitHub Enterprise.
GithubApi.CreatePreReceiveEnvironmentCreate a new pre-receive environment on GitHub Enterprise.
GithubApi.DeletePreReceiveEnvironmentDelete a specified pre-receive environment in GitHub Enterprise.
GithubApi.GetGithubPreReceiveEnvironmentRetrieve a GitHub pre-receive environment by ID.
GithubApi.UpdateGithubPreReceiveEnvironmentUpdate a pre-receive environment in GitHub Enterprise.
GithubApi.TriggerEnvironmentDownloadStart a new download of the environment tarball.
GithubApi.GetPreReceiveEnvDownloadStatusRetrieve the latest download status for a pre-receive environment.
GithubApi.ListPreReceiveHooksRetrieve the list of pre-receive hooks in GitHub Enterprise.
GithubApi.CreatePreReceiveHookCreate a pre-receive hook for GitHub enterprise administration.
GithubApi.DeletePreReceiveHookDelete a pre-receive hook from GitHub Enterprise Admin.
GithubApi.GetPreReceiveHookRetrieve details of a specific pre-receive hook in GitHub Enterprise Admin.
GithubApi.UpdateGithubPreReceiveHookUpdate a GitHub enterprise pre-receive hook.
GithubApi.ListPersonalAccessTokensRetrieve personal access tokens for all users including admins.
GithubApi.DeleteGithubPersonalAccessTokenDelete a GitHub personal access token.
GithubApi.CreateEnterpriseUserCreates a new user in GitHub enterprise with external authentication.
GithubApi.DeleteGithubEnterpriseUserDelete a GitHub Enterprise user and their data.
GithubApi.UpdateGithubUsernameUpdate a GitHub user's username.
GithubApi.DeleteImpersonationOauthTokenDeletes an impersonation OAuth token for a user in GitHub Enterprise Admin.
GithubApi.CreateImpersonationOauthTokenCreate an impersonation OAuth token for a GitHub user.
GithubApi.GetGithubAppInfoRetrieve details about the authenticated GitHub App.
GithubApi.CompleteGithubAppHandshakeComplete the GitHub App Manifest handshake to retrieve app details.
GithubApi.GetGithubAppWebhookConfigFetches the webhook configuration for a GitHub App.
GithubApi.UpdateGithubAppWebhookConfigUpdate the webhook configuration for a GitHub App.
GithubApi.ListWebhookDeliveriesRetrieve webhook deliveries for a GitHub App.
GithubApi.GetGithubAppWebhookDeliveryRetrieve delivery details for a GitHub App webhook.
GithubApi.RedeliverGithubWebhookDeliveryRedeliver a GitHub App webhook delivery.
GithubApi.ListGithubAppInstallationsRetrieve installations of a GitHub app using a JWT.
GithubApi.UninstallGithubAppUninstall a GitHub App from an account.
GithubApi.GetGithubAppInstallationInfoFetch information of a GitHub App installation by ID.
GithubApi.CreateGithubAppInstallationTokenCreate an installation access token for a GitHub App.
GithubApi.RemoveGithubAppSuspensionUnsuspend a GitHub App installation.
GithubApi.SuspendGithubAppInstallationSuspend a GitHub App's installation for specified accounts.
GithubApi.RevokeGithubOauthGrantRevoke OAuth grant for a GitHub application and user.
GithubApi.RevokeGithubOauthTokenRevoke a GitHub OAuth application's token.
GithubApi.ResetGithubOauthTokenReset an OAuth token for a GitHub application.
GithubApi.CheckGithubTokenValidityCheck GitHub OAuth token validity with reduced rate limits.
GithubApi.CreateGithubScopedTokenCreate a GitHub repository and permission scoped token.
GithubApi.GetGithubAppDetailsBySlugRetrieve GitHub App details using its slug.
GithubApi.GetAllGithubCodesOfConductRetrieve all GitHub codes of conduct.
GithubApi.GetCodeOfConductRetrieve a specific code of conduct from GitHub.
GithubApi.ListGithubEmojisLists all available GitHub emojis.
GithubApi.RemoveEnterpriseAnnouncementRemoves the global announcement banner in your enterprise.
GithubApi.GetEnterpriseAnnouncementBannerRetrieve the global announcement banner for your enterprise.
GithubApi.SetGithubAnnouncementSet the announcement banner message and expiration in GitHub Enterprise.
GithubApi.GetLicenseInformationRetrieve GitHub Enterprise license information.
GithubApi.GetGithubEnterpriseStatsRetrieve all statistics for GitHub Enterprise.
GithubApi.GetCommentStatisticsRetrieve comment statistics from GitHub Enterprise.
GithubApi.GetGitGistStatisticsRetrieve gist statistics from GitHub Enterprise.
GithubApi.GetHooksStatisticsRetrieves statistics about enterprise webhooks on GitHub.
GithubApi.GetGithubIssueStatisticsRetrieve statistics on GitHub issues for an enterprise.
GithubApi.GetMilestoneStatisticsRetrieve GitHub enterprise milestone statistics.
GithubApi.GetGithubOrgStatsRetrieve organization statistics from GitHub Enterprise.
GithubApi.GetGithubPagesStatsRetrieve statistics for GitHub Pages in an enterprise account.
GithubApi.GetPullRequestStatisticsRetrieve pull request statistics from GitHub Enterprise.
GithubApi.GetRepositoryStatisticsRetrieve statistics for GitHub repositories.
GithubApi.GetGithubUserStatsRetrieve user statistics from GitHub Enterprise.
GithubApi.GetGithubActionsCacheUsageForEnterpriseRetrieve GitHub Actions cache usage for an enterprise.
GithubApi.GetGithubActionsCachePolicyRetrieve the GitHub Actions cache usage policy for an enterprise.
GithubApi.SetGithubActionsCachePolicySet GitHub Actions cache usage policy for an enterprise.
GithubApi.GetGithubActionsPermissionsGet GitHub Actions permissions for an enterprise.
GithubApi.SetGithubActionsPermissionsSet GitHub Actions permissions for an enterprise.
GithubApi.ListActionsEnabledOrgsEnterpriseList organizations with GitHub Actions enabled in an enterprise.
GithubApi.SetGithubActionsEnabledOrgsReplace organizations enabled for GitHub Actions in an enterprise.
GithubApi.DisableOrgGithubActionsDisable GitHub Actions for an organization in an enterprise.
GithubApi.EnableGithubActionsForOrgEnable GitHub Actions for a selected organization in an enterprise.
GithubApi.GetAllowedActionsForEnterpriseRetrieve the actions allowed in a GitHub enterprise.
GithubApi.SetAllowedActionsEnterpriseConfigure allowed GitHub Actions for an enterprise.
GithubApi.GetGithubTokenWorkflowPermissionsRetrieve GitHub Actions default workflow permissions for an enterprise.
GithubApi.SetEnterpriseWorkflowPermissionsSet default GitHub Actions permissions for an enterprise.
GithubApi.ListSelfHostedRunnerGroupsRetrieve all self-hosted runner groups for an enterprise.
GithubApi.CreateSelfHostedRunnerGroupCreate a self-hosted runner group for an enterprise.
GithubApi.DeleteSelfHostedRunnerGroupDelete a self-hosted runner group for an enterprise.
GithubApi.GetSelfHostedRunnerGroupRetrieve a specific self-hosted runner group for an enterprise.
GithubApi.UpdateRunnerGroupEnterpriseUpdate the name and visibility of a self-hosted runner group in an enterprise.
GithubApi.ListOrgAccessRunnerGroupList organizations with access to a self-hosted runner group.
GithubApi.SetGhOrgAccessToRunnerGroupUpdate organization access for a GitHub runner group.
GithubApi.RemoveOrgAccessRunnerGroupRemoves an organization's access to a self-hosted runner group.
GithubApi.AddOrgAccessToRunnerGroupAdd organization access to a self-hosted runner group in an enterprise.
GithubApi.ListSelfHostedRunnersInGroupRetrieve self-hosted runners in an enterprise group.
GithubApi.UpdateSelfHostedRunnersInGroupUpdate self-hosted runners in an enterprise group.
GithubApi.RemoveRunnerFromEnterpriseGroupRemove a self-hosted runner from an enterprise group.
GithubApi.AddSelfHostedRunnerToGroupAdd a self-hosted runner to an enterprise group in GitHub.
GithubApi.ListSelfHostedRunnersForEnterpriseRetrieve all self-hosted runners for a GitHub enterprise.
GithubApi.ListRunnerBinariesForEnterpriseRetrieve download links for runner application binaries.
GithubApi.CreateGithubEnterpriseRegistrationTokenGenerate a registration token for GitHub Enterprise runners.
GithubApi.GetRemoveTokenForEnterpriseRunnerGenerates a token to remove a self-hosted runner from an enterprise.
GithubApi.RemoveSelfHostedRunnerFromEnterpriseRemove a self-hosted runner from an enterprise.
GithubApi.GetSelfHostedRunnerInfoRetrieve details of a self-hosted runner in an enterprise.
GithubApi.RemoveCustomLabelsFromRunnerRemove all custom labels from an enterprise's self-hosted runner.
GithubApi.ListLabelsForRunnerRetrieve all labels for a self-hosted runner in an enterprise.
GithubApi.AddCustomLabelsToRunnerAdd custom labels to a self-hosted runner in an enterprise.
GithubApi.SetCustomLabelsForSelfHostedRunnerSet custom labels for a self-hosted runner in an enterprise.
GithubApi.RemoveCustomLabelFromRunnerRemove a custom label from a self-hosted runner in an enterprise.
GithubApi.GetEnterpriseAuditLogRetrieve the audit log for a specified enterprise.
GithubApi.ListEnterpriseCodeScanningAlertsRetrieve code scanning alerts for enterprise repositories.
GithubApi.GetSecurityAnalysisSettingsGet security analysis settings for an enterprise.
GithubApi.UpdateSecuritySettingsEnterpriseUpdate security and scanning settings for enterprise repositories.
GithubApi.ListEnterpriseDependabotAlertsGet Dependabot alerts for enterprise-owned repositories.
GithubApi.ListSecretScanningAlertsForEnterpriseRetrieve secret scanning alerts for enterprise repositories.
GithubApi.GetGithubSecurityBillingInfoRetrieve GitHub Advanced Security billing details for an enterprise.
GithubApi.ManageEnterpriseSecurityFeatureEnable or disable a security feature for an enterprise.
GithubApi.ListRecentGithubEventsRetrieve recent public events from GitHub.
GithubApi.GetGithubFeedsRetrieve available GitHub feeds for an authenticated user.
GithubApi.ListUserGistsLists a user's gists or public gists if unauthenticated.
GithubApi.CreateGistCreate a new gist with one or more files on GitHub.
GithubApi.ListRecentPublicGistsRetrieve the most recently updated public gists.
GithubApi.ListStarredGistsRetrieve the authenticated user's starred gists.
GithubApi.DeleteGithubGistDelete a GitHub gist by its ID.
GithubApi.GetGithubGistRetrieve details of a specific GitHub gist using its ID.
GithubApi.UpdateGithubGistUpdate a GitHub gist's description and files.
GithubApi.ListGistCommentsRetrieve comments for a specific GitHub gist.
GithubApi.CreateGistCommentCreate a comment on a GitHub gist.
GithubApi.DeleteGistCommentDelete a comment from a GitHub gist.
GithubApi.GetGistCommentRetrieve a specific comment from a GitHub gist.
GithubApi.UpdateGistCommentUpdate an existing comment on a GitHub gist.
GithubApi.ListGistCommitsRetrieve the commit history of a specified GitHub gist.
GithubApi.ListGistForksRetrieve a list of forks for a specific gist.
GithubApi.ForkGistFork a GitHub gist to your account.
GithubApi.UnstarGithubGistUnstar a GitHub gist by its ID.
GithubApi.CheckIfGistIsStarredDetermine if a specific gist is starred on GitHub.
GithubApi.StarGithubGistStar a gist on GitHub using its gist ID.
GithubApi.GetGistRevisionRetrieve a specific revision of a GitHub gist.
GithubApi.ListGitignoreTemplatesRetrieve all available .gitignore templates from GitHub.
GithubApi.FetchGitignoreTemplateFetches the raw .gitignore template by name.
GithubApi.ListGithubAppAccessibleReposList repositories accessible to a GitHub app installation.
GithubApi.RevokeGithubInstallationTokenRevoke your GitHub installation access token.
GithubApi.ListGithubIssuesGet issues assigned to you across all GitHub repositories.
GithubApi.GetCommonlyUsedLicensesFetch a list of commonly used software licenses.
GithubApi.GetGithubLicenseRetrieve a specific GitHub license by its key.
GithubApi.RenderMarkdownConvert Markdown content to HTML rendering.
GithubApi.RenderMarkdownPlainConvert Markdown text to rendered plain text format.
GithubApi.GetGithubEnterpriseMetaInfoRetrieve GitHub Enterprise Server meta information.
GithubApi.ListRepoNetworkPublicEventsRetrieve public events for a network of repositories.
GithubApi.ListUserNotificationsRetrieve notifications for the authenticated GitHub user.
GithubApi.MarkGithubNotificationsAsReadMark all GitHub notifications as read for the current user.
GithubApi.GetGithubNotificationThreadRetrieve information about a GitHub notification thread.
GithubApi.MarkGithubThreadAsReadMark a GitHub thread notification as read.
GithubApi.MuteGithubThreadNotificationsMute all future notifications for a GitHub thread.
GithubApi.CheckThreadSubscriptionCheck if the authenticated user is subscribed to a thread.
GithubApi.ManageGithubThreadNotificationsManage GitHub notifications for specific threads.
GithubApi.GetOctocatAsciiArtRetrieve the octocat as ASCII art.
GithubApi.ListGithubOrganizationsRetrieve a list of GitHub organizations.
GithubApi.ListGithubCustomRolesRetrieve custom repository roles for a GitHub organization.
GithubApi.GetGithubOrgInfoRetrieve detailed information about a GitHub organization.
GithubApi.UpdateGithubOrganizationUpdate a GitHub organization's profile and member privileges.
GithubApi.FetchOrgActionsCacheUsageFetches GitHub Actions cache usage for a specified organization.
GithubApi.GetGithubActionsCacheUsageForOrgRetrieve GitHub Actions cache usage for an organization's repositories.
GithubApi.GetOidcCustomSubTemplateForOrgRetrieves the OIDC subject claim customization template for an organization.
GithubApi.UpdateGithubOidcTemplateUpdate OIDC custom subject claim template for GitHub organization.
GithubApi.GetGithubActionsPermissionsForOrganizationRetrieve GitHub Actions permissions for an organization.
GithubApi.ConfigureGithubActionsPermissionsConfigure GitHub Actions permissions for an organization.
GithubApi.ListActionsEnabledReposRetrieve repositories enabled for GitHub Actions in an organization.
GithubApi.SetGithubActionsReposForOrgConfigure selected repositories for GitHub Actions in an organization.
GithubApi.DisableGithubActionsRepoDisable GitHub Actions for a specific repo in an organization.
GithubApi.EnableGithubActionsForRepoEnable a repository for GitHub Actions in an organization.
GithubApi.GetAllowedActionsForOrganizationRetrieve the allowed GitHub Actions for an organization.
GithubApi.SetAllowedActionsForOrganizationSet allowed GitHub Actions for an organization.
GithubApi.GetDefaultGithubActionsWorkflowPermissionsFetches default workflow permissions for an organization's GitHub Actions.
GithubApi.SetDefaultGithubActionsPermissionsConfigure default GitHub Actions permissions for an organization.
GithubApi.ListRequiredWorkflowsRetrieve all required workflows in a GitHub organization.
GithubApi.CreateGithubRequiredWorkflowCreate a required workflow in a GitHub organization.
GithubApi.DeleteGithubRequiredWorkflowDeletes a required workflow in a GitHub organization.
GithubApi.GetRequiredWorkflowRetrieve a required workflow for a GitHub organization.
GithubApi.UpdateGithubRequiredWorkflowUpdate a required workflow in a GitHub organization.
GithubApi.ListRequiredWorkflowRepositoriesList repositories configured for a required workflow.
GithubApi.SetGithubReposForRequiredWorkflowSet repositories for a GitHub required workflow.
GithubApi.RemoveRepoFromRequiredWorkflowRemoves a repository from a GitHub required workflow.
GithubApi.AddRepoToRequiredWorkflowAdds a repository to a GitHub required workflow.
GithubApi.ListRunnerGroupsForOrgRetrieve self-hosted runner groups for a GitHub organization.
GithubApi.CreateRunnerGroupForOrgCreate a self-hosted runner group for an organization.
GithubApi.DeleteRunnerGroupFromOrganizationDelete a self-hosted runner group from an organization.
GithubApi.GetSelfHostedRunnerGroupForOrgRetrieve a specific self-hosted runner group for an organization.
GithubApi.UpdateRunnerGroupSettingsUpdate name and visibility of a runner group in an organization.
GithubApi.ListReposWithRunnerGroupAccessRetrieve repositories with access to a runner group in an organization.
GithubApi.SetGithubRunnerGroupRepoAccessUpdate repository access for a GitHub runner group.
GithubApi.RemoveRepoAccessFromRunnerGroupRemove repository access from a self-hosted runner group.
GithubApi.AddRepoAccessToRunnerGroupAdd repository access to a self-hosted runner group.
GithubApi.ListOrgRunnerGroupRunnersList self-hosted runners in an organization group.
GithubApi.UpdateSelfHostedRunnersForOrgGroupUpdate self-hosted runners in an organization's runner group.
GithubApi.RemoveRunnerFromGroupRemove a self-hosted runner from an organization's group.
GithubApi.AddRunnerToGroupAdd a self-hosted runner to an organization's runner group.
GithubApi.ListOrgSelfHostedRunnersRetrieve self-hosted runners for a GitHub organization.
GithubApi.ListGithubRunnerBinariesForOrgRetrieve downloadable binaries for GitHub runner application.
GithubApi.CreateOrgRunnerRegistrationTokenGenerate a registration token for GitHub organization runners.
GithubApi.GetOrgRunnerRemovalTokenGet a token to remove a self-hosted runner from an organization.
GithubApi.RemoveSelfHostedRunnerFromOrgForcefully remove a self-hosted runner from an organization.
GithubApi.GetOrgSelfHostedRunnerGet details of a self-hosted runner for an organization.
GithubApi.RemoveAllCustomLabelsRunnerOrgRemove all custom labels from an organization's self-hosted runner.
GithubApi.ListRunnerLabelsForOrgRetrieve labels for a self-hosted runner in an organization.
GithubApi.AddLabelsToRunnerAdd custom labels to a self-hosted runner in an organization.
GithubApi.SetCustomLabelsRunnerOrgSet custom labels for a self-hosted runner in an organization.
GithubApi.DeleteCustomRunnerLabelRemove a custom label from a self-hosted runner in an organization.
GithubApi.ListOrganizationSecretsRetrieve all organization secrets without values.
GithubApi.GetOrganizationPublicKeyRetrieve the public key for GitHub organization secrets encryption.
GithubApi.DeleteGithubOrgSecretDeletes a secret from a GitHub organization.
GithubApi.GetGithubOrgSecretRetrieve details of a GitHub organization secret.
GithubApi.CreateOrUpdateOrgSecretCreate or update an organization's secret on GitHub.
GithubApi.ListReposWithOrgSecretRetrieve repositories with access to a specific organization secret.
GithubApi.UpdateOrgSecretReposUpdate repositories for an organization secret.
GithubApi.RemoveRepoFromOrgSecretRemove a repository from an organization's secret access.
GithubApi.AddRepoToOrgSecretAdd a repository to an organization's secret.
GithubApi.ListOrgVariablesRetrieve all variables for a GitHub organization.
GithubApi.CreateGithubOrgVariableCreate an organization variable for GitHub Actions workflows.
GithubApi.DeleteGithubOrgVariableDelete an organization's variable on GitHub.
GithubApi.GetOrganizationVariableRetrieve a specific variable from a GitHub organization.
GithubApi.UpdateGithubOrgActionVariableUpdate an organization variable in GitHub Actions.
GithubApi.ListReposWithOrgVariableAccessRetrieve repos accessing an organization's variable.
GithubApi.SetOrgVariableReposReplace repositories for an organization's variable.
GithubApi.RemoveRepoFromOrgVariableRemove a repository from a GitHub organization variable.
GithubApi.AddRepoToOrgVariableAdd a repository to an organization's selected variables.
GithubApi.RemoveOrgAnnouncementBannerRemove the announcement banner for a GitHub organization.
GithubApi.GetOrgAnnouncementBannerRetrieve the announcement banner for a specific organization.
GithubApi.SetOrgAnnouncementBannerSets the announcement banner for a GitHub organization.
GithubApi.GetOrgAuditLogRetrieve the audit log for a GitHub organization.
GithubApi.ListOrgCodeScanningAlertsRetrieve code scanning alerts for an organization's repositories.
GithubApi.ListDependabotAlertsForOrganizationLists Dependabot alerts for an organization.
GithubApi.ListGithubOrgSecretsRetrieve Dependabot organization secrets from GitHub.
GithubApi.GetOrgPublicKeyRetrieve the public key for encrypting GitHub Dependabot secrets.
GithubApi.RemoveGithubOrgSecretDelete a secret from a GitHub organization.
GithubApi.GetOrgSecretInfoRetrieve details of an organization's secret without revealing the encrypted value.
GithubApi.UpdateGithubOrgSecretCreate or update a GitHub organization secret.
GithubApi.ListSelectedRepositoriesForSecretRetrieve repositories with selected access for an org secret.
GithubApi.SetReposForOrgSecretUpdate selected repos for an organization's Dependabot secret.
GithubApi.DeleteRepoFromOrgSecretRemove a repository from a GitHub organization secret.
GithubApi.AddRepositoryToSecretAdd a repository to a GitHub organization secret.
GithubApi.ListPublicOrgEventsList public events for a GitHub organization.
GithubApi.GetGithubExternalGroupInfoRetrieve information about a GitHub external group's usage.
GithubApi.ListExternalGroupsForOrgRetrieve external groups available in a GitHub organization.
GithubApi.ListOrganizationWebhooksRetrieve the webhooks for a specific organization on GitHub.
GithubApi.CreateGithubOrgWebhookCreate a webhook for a GitHub organization.
GithubApi.DeleteOrgWebhookDelete a webhook from a GitHub organization.
GithubApi.GetOrgWebhookDetailsRetrieve details of a specific organization webhook.
GithubApi.UpdateGithubOrgWebhookUpdate a webhook configured in a GitHub organization.
GithubApi.GetOrgWebhookConfigurationRetrieve webhook configuration for a GitHub organization.
GithubApi.UpdateOrgWebhookConfigUpdate webhook configuration for a GitHub organization.
GithubApi.GetWebhookEventDeliveriesRetrieve webhook deliveries for an organization.
GithubApi.GetGithubWebhookDeliveryRetrieve a webhook delivery for a GitHub organization.
GithubApi.RedeliverWebhookDeliveryRedeliver an organization's webhook delivery attempt.
GithubApi.SendGithubHookPingTriggers a ping event on a GitHub organization webhook.
GithubApi.GetGithubOrgInstallationInfoRetrieve GitHub organization's installation information.
GithubApi.OrganizationAppInstallationsRetrieve GitHub App installations for an organization.
GithubApi.ListOrganizationIssuesForUserRetrieve issues and pull requests for a user in an organization.
GithubApi.ListOrgMembersRetrieve members of a GitHub organization.
GithubApi.RemoveOrganizationMemberRemove a user from an organization's access list.
GithubApi.CheckUserMembershipInOrgChecks if a user is a member of a GitHub organization.
GithubApi.RemoveOrgMemberRemove a user's membership from a GitHub organization.
GithubApi.GetUserOrgMembershipStatusGet a user's membership status in an organization.
GithubApi.UpdateOrgMembershipManage user membership for a GitHub organization.
GithubApi.ListRecentGithubMigrationsRetrieve the latest GitHub migrations for an organization.
GithubApi.StartOrgMigrationInitiates a migration archive for a GitHub organization.
GithubApi.CheckOrgMigrationStatusFetches the status of an organization's migration.
GithubApi.DeleteGithubOrgMigrationArchiveDelete a previous GitHub organization migration archive.
GithubApi.FetchOrgMigrationArchiveUrlFetches the URL to download an organization's migration archive.
GithubApi.UnlockGithubRepoForOrgMigrationUnlock a locked repository after migration for an organization.
GithubApi.ListReposForOrgMigrationList all repositories for an organization's migration.
GithubApi.ListOrgOutsideCollaboratorsRetrieve outside collaborators for a GitHub organization.
GithubApi.RemoveOrgOutsideCollaboratorRemove a user from all organization repositories.
GithubApi.ConvertMemberToOutsideCollaboratorConvert GitHub org member to outside collaborator.
GithubApi.ListOrgPreReceiveHooksRetrieve pre-receive hooks for a GitHub organization.
GithubApi.RemoveOrgPreReceiveHookRemoves pre-receive hook enforcement overrides for an organization.
GithubApi.GetOrgPreReceiveHookRetrieve a pre-receive hook for an organization.
GithubApi.UpdatePreReceiveHookEnforcementUpdate pre-receive hook enforcement for a GitHub organization.
GithubApi.ListOrganizationProjectsRetrieve a list of projects for a given organization on GitHub.
GithubApi.CreateOrgProjectGithubCreate a project board for a GitHub organization.
GithubApi.ListPublicOrgMembersRetrieve public members of a GitHub organization.
GithubApi.RemovePublicOrgMembershipRemove public organization membership for the user.
GithubApi.CheckGithubOrgMembershipChecks if a user is a public member of a GitHub organization.
GithubApi.SetOwnGithubPublicMembershipPublicize your GitHub organization membership.
GithubApi.ListOrganizationRepositoriesRetrieve repositories for a specific organization on GitHub.
GithubApi.CreateGithubOrganizationRepoCreate a new repository in a GitHub organization.
GithubApi.ListOrgSecretScanningAlertsRetrieve secret scanning alerts for an organization's repositories.
GithubApi.ListSecurityManagerTeamsRetrieve teams that are security managers in an organization.
GithubApi.RemoveSecurityManagerRoleRemove security manager role from a team in an organization.
GithubApi.AddSecurityManagerTeamAdd a team as a security manager for an organization.
GithubApi.GetAdvancedSecurityCommittersRetrieve GitHub Advanced Security committers for an organization.
GithubApi.ListOrganizationTeamsRetrieve teams visible to the user in a GitHub organization.
GithubApi.CreateGithubTeamCreate a new team in a GitHub organization.
GithubApi.DeleteTeamInOrgDelete a team in a GitHub organization.
GithubApi.GetTeamBySlugRetrieve team details using organization and team slug.
GithubApi.UpdateGithubTeamUpdate a team's details within a GitHub organization.
GithubApi.ListTeamDiscussionsRetrieve all discussions from a team's page in an organization.
GithubApi.CreateTeamDiscussionGithubCreate a discussion post on a GitHub team's page.
GithubApi.DeleteTeamDiscussionDelete a discussion from a team's page on GitHub.
GithubApi.GetTeamDiscussionRetrieve a specific team discussion from GitHub.
GithubApi.UpdateTeamDiscussionEdits the title and body of a team discussion post.
GithubApi.ListTeamDiscussionCommentsRetrieve comments from a team discussion in an organization.
GithubApi.CreateTeamDiscussionCommentCreate a new comment on a team discussion in an organization.
GithubApi.DeleteTeamDiscussionCommentDeletes a comment on a team discussion in an organization.
GithubApi.GetGithubTeamDiscussionCommentRetrieve a specific comment from a GitHub team discussion.
GithubApi.UpdateGithubDiscussionCommentUpdates a GitHub discussion comment's text.
GithubApi.ListTeamDiscussionCommentReactionsRetrieve reactions for a team discussion comment in an organization.
GithubApi.AddReactionToTeamDiscussionCommentAdd a reaction to a GitHub team discussion comment.
GithubApi.DeleteTeamDiscussionCommentReactionDelete a reaction from a team discussion comment on GitHub.
GithubApi.GetTeamDiscussionReactionsRetrieve reactions to a specific team discussion in a GitHub organization.
GithubApi.AddReactionToGithubTeamDiscussionAdd a reaction to a GitHub team discussion.
GithubApi.DeleteGithubTeamDiscussionReactionDelete a reaction from a GitHub team discussion.
GithubApi.UnlinkExternalIdpGroupFromTeamUnlink an external IdP group from a GitHub team.
GithubApi.ListLinkedExternalGroupsRetrieve connections between a GitHub team and external groups.
GithubApi.LinkExternalGroupToTeamLink an external IDP group to a GitHub team.
GithubApi.ListTeamMembersInOrgRetrieve team members in a specified organization.
GithubApi.RemoveTeamMembershipRemove a user's membership from a GitHub team.
GithubApi.GetUserTeamMembershipInOrgRetrieve a user's team membership status in an organization.
GithubApi.AddUpdateGithubTeamMembershipAdd or update a user's membership in a GitHub team.
GithubApi.ListTeamProjectsInOrgRetrieve a list of projects for a team in an organization.
GithubApi.RemoveProjectFromTeamRemove a project from a team in a GitHub organization.
GithubApi.CheckTeamProjectPermissionsCheck team's permissions for an organization's project.
GithubApi.AddOrUpdateGithubTeamProjectPermissionsAdd or update a GitHub team's permissions on an organization project.
GithubApi.ListTeamRepositoriesRetrieve a list of repositories for a specified team.
GithubApi.RemoveRepoFromTeamRemove a repository from a GitHub team within an organization.
GithubApi.CheckTeamRepoPermissionsCheck a team's permissions for a specific repository within an organization.
GithubApi.UpdateTeamRepoPermissionsManage team repository access and permissions.
GithubApi.ListChildTeamsRetrieves child teams of a specified team in an organization.
GithubApi.ManageOrgSecurityFeaturesToggle security features for all repositories in an organization.
GithubApi.DeleteProjectCardDelete a project card from GitHub projects.
GithubApi.GetProjectCardRetrieve details of a specific project card in GitHub.
GithubApi.UpdateGithubProjectCardUpdate an existing project card on GitHub.
GithubApi.MoveProjectCardMove a project card to a different position within the same column or to a different column.
GithubApi.DeleteGithubProjectColumnDeletes a specific project column on GitHub.
GithubApi.GetGithubProjectColumnRetrieve details of a GitHub project column using its ID.
GithubApi.UpdateProjectColumnUpdate an existing project column on GitHub.
GithubApi.ListProjectCardsRetrieve project cards for a specific column on GitHub projects.
GithubApi.CreateGithubProjectCardCreate a project card in a specified GitHub column.
GithubApi.MoveGithubProjectColumnMove a column within a GitHub project board.
GithubApi.DeleteProjectBoardDeletes a specified project board on GitHub.
GithubApi.GetGithubProjectByIdRetrieve details of a GitHub project by its ID.
GithubApi.UpdateProjectBoardUpdate a project board's information on GitHub.
GithubApi.ListProjectCollaboratorsRetrieve collaborators for a GitHub organization project.
GithubApi.RemoveProjectCollaboratorRemove a collaborator from a GitHub organization project.
GithubApi.AddProjectCollaboratorAdd a collaborator to an organization project.
GithubApi.GetUserProjectPermissionRetrieve a user's permission level for an organization project.
GithubApi.ListGithubProjectColumnsRetrieve columns of a specific GitHub project.
GithubApi.CreateProjectColumnCreate a new column in a GitHub project.
GithubApi.GetGithubRateLimitRetrieve current GitHub API rate limit status.
GithubApi.ListRepoRequiredWorkflowsRetrieve required workflows in a GitHub repository.
GithubApi.GetGithubRepoRequiredWorkflowRetrieve a specific required workflow from a GitHub repository.
GithubApi.DeleteGithubRepositoryDeletes a specified GitHub repository.
GithubApi.GetGithubRepositoryDetailsRetrieve detailed information about a GitHub repository.
GithubApi.UpdateGithubRepositoryUpdate repository details on GitHub.
GithubApi.ListGithubRepoArtifactsRetrieve all artifacts for a GitHub repository.
GithubApi.DeleteGithubArtifactDeletes a specified GitHub artifact.
GithubApi.GetWorkflowArtifactRetrieve a specific artifact from a GitHub workflow run.
GithubApi.GetGithubArtifactDownloadUrlRetrieve a URL to download a GitHub artifact zip file.
GithubApi.GetGithubActionsCacheUsageFetch GitHub Actions cache usage for a repository.
GithubApi.FetchGithubActionsCachePolicyRetrieve the cache usage policy for GitHub Actions in a repository.
GithubApi.ConfigureGithubActionsCacheSet GitHub Actions cache usage policy for a repository.
GithubApi.RemoveActionsCacheKeyDelete GitHub Actions caches by key for a repository.
GithubApi.ListGithubActionsCachesRetrieve the list of GitHub Actions caches for a repository.
GithubApi.DeleteGithubActionsCacheDelete a GitHub Actions cache by ID for a repository.
GithubApi.GetGithubWorkflowJobRetrieve a specific job from a GitHub workflow run.
GithubApi.DownloadGithubWorkflowJobLogsRetrieve a URL to download GitHub workflow job logs.
GithubApi.GithubRerunWorkflowJobRe-run a job in a GitHub workflow.
GithubApi.GetOidcSubjectClaimTemplateRetrieve the OIDC subject claim customization template for a repository.
GithubApi.SetGithubOidcSubjectClaimCustomize OIDC subject claim for a GitHub repository.
GithubApi.FetchGithubActionsPermsRetrieve GitHub Actions permissions for a repository.
GithubApi.UpdateRepoActionsPermissionsSets GitHub Actions permissions for a repository.
GithubApi.GetWorkflowAccessLevelDetermine external workflow access level for a repository.
GithubApi.SetWorkflowAccessSet the access level for workflows in a repository.
GithubApi.GetAllowedActionsForRepoRetrieve allowed GitHub Actions settings for a repository.
GithubApi.SetGithubActionsAllowedInRepoSet allowed GitHub Actions in a repository.
GithubApi.GetDefaultGithubActionsPermissionsRetrieve default GitHub Actions workflow permissions for a repository.
GithubApi.ConfigureGithubTokenPermissionsSet default workflow permissions for a repository's GitHub Actions.
GithubApi.ListRequiredWorkflowRunsRetrieve all workflow runs for a required workflow.
GithubApi.ListSelfHostedRunnersRetrieve self-hosted runners for a GitHub repository.
GithubApi.ListRunnerAppsForRepoRetrieve runner application binaries for a GitHub repository.
GithubApi.CreateRepoRegistrationTokenObtain a registration token for GitHub repository actions.
GithubApi.GenerateGithubRunnerRemoveTokenGenerate a token to remove a GitHub self-hosted runner.
GithubApi.RemoveSelfHostedRunnerRemoves a self-hosted runner from a GitHub repository.
GithubApi.RetrieveRunnerDetailsRetrieve information about a self-hosted runner in a GitHub repo.
GithubApi.RemoveCustomLabelsRunnerRepoRemove all custom labels from a self-hosted runner in a repository.
GithubApi.ListRunnerLabelsRetrieve all labels for a self-hosted runner in a GitHub repo.
GithubApi.LabelRunnerForRepoAdd custom labels to a repository's self-hosted runner.
GithubApi.SetRunnerLabelsUpdate custom labels for a self-hosted runner in a GitHub repo.
GithubApi.RemoveRunnerLabelRemove a custom label from a self-hosted runner in a repository.
GithubApi.ListGithubWorkflowRunsRetrieve all workflow runs for a GitHub repository.
GithubApi.DeleteGithubWorkflowRunDelete a specific GitHub workflow run.
GithubApi.GetGithubWorkflowRunRetrieve details of a specific GitHub workflow run.
GithubApi.GetGithubActionsRunReviewsRetrieve reviews for a GitHub Actions run.
GithubApi.ListWorkflowArtifactsRetrieve artifacts from a GitHub workflow run.
GithubApi.GetGithubWorkflowRunAttemptRetrieve details of a specific GitHub workflow run attempt.
GithubApi.ListWorkflowRunJobsRetrieve jobs from a specific GitHub workflow run attempt.
GithubApi.GetWorkflowRunAttemptLogsUrlRetrieve a URL to download workflow run attempt logs.
GithubApi.CancelGithubWorkflowRunCancels a GitHub workflow run using its ID.
GithubApi.ListGithubWorkflowJobsFetches jobs for a specific GitHub workflow run.
GithubApi.DeleteGithubWorkflowRunLogsDeletes all logs for a specified workflow run on GitHub.
GithubApi.DownloadWorkflowRunLogsGet a redirect URL to download workflow run log files.
GithubApi.GetPendingDeploymentsForRunRetrieve pending deployments for a GitHub workflow run.
GithubApi.ApproveOrRejectPendingDeploymentsApprove or reject pending deployments for a workflow run.
GithubApi.RerunGithubWorkflowInitiates the rerun of a specific GitHub workflow.
GithubApi.RerunFailedGithubWorkflowJobsRe-run failed jobs in a GitHub workflow run.
GithubApi.ListRepoSecretsRetrieve all repository secrets without values.
GithubApi.GetRepoPublicKeyRetrieve the public key for encrypting repository secrets.
GithubApi.DeleteGithubRepoSecretDeletes a secret from a GitHub repository.
GithubApi.GetRepositorySecretInfoRetrieve metadata for a specific GitHub repository secret.
GithubApi.CreateOrUpdateGithubRepoSecretCreate or update a GitHub repository secret with an encrypted value.
GithubApi.ListGithubRepoVariablesRetrieve all variables for a specified GitHub repository.
GithubApi.CreateGithubRepoVariableCreate a variable for a GitHub repository to use in Actions workflows.
GithubApi.DeleteGithubRepoVariableDelete a repository variable on GitHub using its name.
GithubApi.GetGithubRepoVariableRetrieve a specific variable from a GitHub repository.
GithubApi.UpdateGithubRepoVariableUpdate a variable in a GitHub repository for actions workflows.
GithubApi.ListGithubRepoWorkflowsRetrieve GitHub workflows in a repository.
GithubApi.ListGithubIssueAssigneesRetrieve available assignees for GitHub issues.
GithubApi.CheckUserAssignmentPermissionCheck if a user can be assigned to a GitHub issue.
GithubApi.GetRepoAutolinksRetrieve autolinks for a specific GitHub repository.
GithubApi.CreateRepositoryAutolinkCreate an autolink reference in a GitHub repository.
GithubApi.DeleteGithubRepoAutolinkDelete an autolink reference from a GitHub repository.
GithubApi.GetRepositoryAutolinkRetrieve a specific GitHub repository autolink by ID.
GithubApi.ListGithubRepoBranchesRetrieve branches from a specific GitHub repository.
GithubApi.GetGithubRepoBranchRetrieve details of a specific branch from a GitHub repository.
GithubApi.DeleteBranchProtectionRemove protection from a specified GitHub branch.
GithubApi.GetGithubBranchProtectionRetrieve protection settings for a GitHub branch.
GithubApi.UpdateBranchProtectionUpdate GitHub repository branch protection settings.
GithubApi.DeleteAdminBranchProtectionRemove admin enforcement on a protected branch.
GithubApi.GetAdminBranchProtectionStatusGet admin branch protection status on GitHub.
GithubApi.SetAdminBranchProtectionSet admin branch protection in a GitHub repository.
GithubApi.RemovePullRequestReviewProtectionRemove pull request review protection from a branch.
GithubApi.GetPullRequestReviewProtectionGet pull request review protection details for a branch.
GithubApi.UpdatePullRequestReviewProtectionUpdate pull request review protection settings for a branch.
GithubApi.DisableCommitSignatureProtectionDisable required signed commits on a branch.
GithubApi.CheckBranchCommitSignatureStatusCheck if a branch requires signed commits for protection.
GithubApi.RequireSignedCommitsOnBranchEnable signed commit requirement on a GitHub branch.
GithubApi.RemoveStatusCheckProtectionRemove status check protection from a GitHub branch.
GithubApi.GetBranchProtectionStatusChecksRetrieve status check protections for a GitHub branch.
GithubApi.UpdateBranchStatusCheckProtectionUpdate status check protection for a GitHub branch.
GithubApi.RemoveBranchStatusCheckContextsRemove status check contexts from a protected branch.
GithubApi.GetGithubStatusCheckContextsRetrieve status check contexts for a protected GitHub branch.
GithubApi.AddStatusCheckContextsToBranchAdd status check contexts to a protected branch.
GithubApi.SetBranchStatusCheckContextsSet status check contexts for a protected branch.
GithubApi.RemoveBranchAccessRestrictionRemove access restrictions from a GitHub branch.
GithubApi.GetBranchAccessRestrictionsRetrieve access information for a protected branch.
GithubApi.RemoveGithubAppBranchAccessRemove an app's access to a protected GitHub branch.
GithubApi.GetAppsWithBranchAccessRetrieve GitHub Apps with access to a protected branch.
GithubApi.AddAppAccessRestrictionsGrant specified apps push access to a protected branch.
GithubApi.SetBranchAppAccessRestrictionsReplace apps with push access on a protected branch.
GithubApi.RemoveTeamAccessFromBranchRemove a team's push access to a protected GitHub branch.
GithubApi.GetTeamsWithPushAccessToBranchRetrieve teams with push access to a protected branch.
GithubApi.AddTeamAccessToBranchGrant push access to teams for a specific branch.
GithubApi.SetGithubBranchTeamAccessUpdate the team access restrictions on a GitHub branch.
GithubApi.RemoveUserAccessFromBranchRemove users' push access from a GitHub branch.
GithubApi.ListUsersWithBranchAccessRetrieve users with push access to a protected branch on GitHub.
GithubApi.GrantPushAccessGithubBranchGrant push access to specified users for a GitHub branch.
GithubApi.SetBranchUserAccessRestrictionsSet user access restrictions for a GitHub branch.
GithubApi.RenameGithubBranchRename a branch in a GitHub repository.
GithubApi.CreateGithubCheckRunCreate a new check run for a GitHub repository commit.
GithubApi.GetGithubCheckRunRetrieve a specific GitHub check run by its ID.
GithubApi.UpdateCheckRunStatusUpdate a check run for a specific commit in a repository.
GithubApi.ListCheckRunAnnotationsRetrieve annotations for a GitHub check run.
GithubApi.TriggerGithubCheckRerequestTriggers a rerequest for an existing GitHub check run.
GithubApi.CreateGithubCheckSuiteManually create a check suite on GitHub.
GithubApi.SetCheckSuitePreferencesSet preferences for check suite creation in a repository.
GithubApi.GetGithubCheckSuiteRetrieve a GitHub check suite by ID.
GithubApi.ListGithubCheckRunsForSuiteList check runs for a GitHub check suite using its ID.
GithubApi.RerequestGithubCheckSuiteRerequest a check suite on GitHub without code changes.
GithubApi.ListCodeScanningAlertsRetrieve code scanning alerts for a repository.
GithubApi.GetCodeScanningAlertRetrieve a single code scanning alert from a GitHub repo.
GithubApi.UpdateGithubCodeScanningAlertUpdate the status of a GitHub code scanning alert.
GithubApi.ListCodeScanningAlertInstancesRetrieve instances of a specific code scanning alert.
GithubApi.ListRecentCodeScanningAnalysesRetrieve recent code scanning analyses for a repository.
GithubApi.DeleteCodeScanningAnalysisDelete a specific code scanning analysis from a GitHub repository.
GithubApi.GetCodeScanningAnalysisRetrieve detailed code scanning analysis for a GitHub repository.
GithubApi.UploadSarifCodeScanningResultsUpload SARIF data to GitHub for code scanning results.
GithubApi.GetSarifAnalysisInfoRetrieve SARIF upload status and analysis URL.
GithubApi.ListCodeownersErrorsIdentify syntax errors in a repository's CODEOWNERS file.
GithubApi.ListGithubRepoCollaboratorsRetrieve collaborators of a GitHub repository.
GithubApi.RemoveRepoCollaboratorRemove a collaborator from a GitHub repository.
GithubApi.CheckGithubRepoCollaboratorCheck if a user is a collaborator on a GitHub repository.
GithubApi.AddOrUpdateGithubCollaboratorAdd or update a collaborator on a GitHub repository.
GithubApi.CheckRepoCollaboratorPermissionCheck a collaborator's permission level in a GitHub repo.
GithubApi.ListRepoCommitCommentsRetrieve commit comments for a GitHub repository.
GithubApi.DeleteGithubCommitCommentDeletes a specific commit comment on GitHub.
GithubApi.GetGithubCommitCommentRetrieve details of a specific commit comment on GitHub.
GithubApi.UpdateCommitCommentUpdate a comment on a GitHub commit.
GithubApi.ListCommitCommentReactionsRetrieve reactions for a GitHub commit comment.
GithubApi.AddReactionToCommitCommentAdd a reaction to a GitHub commit comment.
GithubApi.DeleteCommitCommentReactionDelete a reaction from a commit comment on GitHub.
GithubApi.CheckCommitSignatureVerificationFetches verification status of a commit's signature on GitHub.
GithubApi.ListBranchesForCommitRetrieve branches for a specific commit in a GitHub repository.
GithubApi.ListCommitCommentsRetrieve comments for a specific commit in a GitHub repo.
GithubApi.CreateGithubCommitCommentCreate a comment on a specific GitHub commit.
GithubApi.ListPullRequestsForCommitRetrieve pull requests linked to a specific commit.
GithubApi.GetCommitDetailsRetrieve details of a single commit reference.
GithubApi.ListCheckRunsForCommitRefLists check runs for a given commit reference.
GithubApi.ListCheckSuitesForRefList check suites for a specific commit reference.
GithubApi.GetCombinedCommitStatusRetrieve the combined status of a commit for a given reference.
GithubApi.GetCommitStatusesRetrieve commit statuses for a specific ref in a repository.
GithubApi.CompareGithubCommitsCompares two commits in a GitHub repository.
GithubApi.DeleteGithubFileDelete a file from a GitHub repository.
GithubApi.GetGithubRepoContentRetrieve file or directory contents from a GitHub repository.
GithubApi.UpdateOrCreateGithubFileCreate or update a file in a GitHub repository.
GithubApi.ListGithubRepoContributorsRetrieve contributors for a specific GitHub repository.
GithubApi.ListDependabotAlertsForRepoRetrieve Dependabot alerts for a specific repository.
GithubApi.GetDependabotAlertRetrieve details of a specific Dependabot alert.
GithubApi.UpdateGithubDependabotAlertUpdate a GitHub Dependabot alert.
GithubApi.ListGitRepoSecretsRetrieve a list of secrets in a GitHub repository.
GithubApi.GetGithubRepoPublicKeyRetrieve the public key for encrypting repository secrets.
GithubApi.RemoveGithubRepoSecretDelete a secret from a GitHub repository.
GithubApi.GetRepoSecretInfoRetrieve metadata of a repository secret from GitHub.
GithubApi.ManageGithubRepoSecretCreate or update an encrypted GitHub repository secret.
GithubApi.CompareDependencyChangesGet dependency changes between two commits of a repository.
GithubApi.CreateRepoDependencySnapshotCreate a snapshot of a repository's dependencies.
GithubApi.ListGithubDeploymentsRetrieve deployments from a GitHub repository.
GithubApi.CreateGithubDeploymentCreate a GitHub deployment for a specified repository ref.
GithubApi.DeleteGithubDeploymentDelete a GitHub repository deployment.
GithubApi.GetGithubDeploymentStatusRetrieve details of a specific GitHub deployment.
GithubApi.ListGithubDeploymentStatusesRetrieve deployment statuses for a specified GitHub deployment.
GithubApi.CreateGithubDeploymentStatusCreate deployment statuses for a GitHub deployment.
GithubApi.FetchDeploymentStatusGithubRetrieve a deployment status from a GitHub repository.
GithubApi.TriggerGithubDispatchEventTriggers a GitHub repository dispatch event.
GithubApi.ListRepositoryEnvironmentsRetrieve environments for a GitHub repository.
GithubApi.DeleteRepoEnvironmentDeletes a specific environment in a GitHub repository.
GithubApi.GetGithubRepoEnvironmentDetailsRetrieve details about a GitHub repository environment.
GithubApi.GithubManageEnvironmentCreate or update a GitHub environment with protection rules.
GithubApi.ListDeploymentBranchPoliciesLists deployment branch policies for a GitHub environment.
GithubApi.CreateGithubDeploymentBranchPolicyCreates a deployment branch policy for a GitHub environment.
GithubApi.DeleteDeploymentBranchPolicyDelete a deployment branch policy for a GitHub environment.
GithubApi.GetDeploymentBranchPolicyRetrieve deployment branch policy for a specific environment.
GithubApi.UpdateDeploymentBranchPolicyUpdate a deployment branch policy for a GitHub environment.
GithubApi.ListGithubRepoEventsRetrieve GitHub repository events.
GithubApi.ListGithubRepoForksFetches the list of forks for a specified GitHub repository.
GithubApi.CreateGithubForkCreate a fork of a GitHub repository for the user.
GithubApi.CreateGithubBlobCreate a new blob in a GitHub repository.
GithubApi.GetGithubBlobContentRetrieve Base64 encoded content of a GitHub blob.
GithubApi.CreateGitCommitCreate a new Git commit on a GitHub repository.
GithubApi.FetchCommitInfoRetrieve details and signature verification for a Git commit.
GithubApi.ListGitMatchingRefsRetrieve Git references matching a specific name pattern.
GithubApi.GetGitReferenceFetch a specific Git reference from a repository.
GithubApi.CreateGitReferenceCreate a new reference in a GitHub repository.
GithubApi.DeleteGitReferenceDeletes a specified Git reference in a repository.
GithubApi.UpdateGitReferenceUpdate a Git reference in a GitHub repository.
GithubApi.CreateGitTagCreate a Git tag object on GitHub.
GithubApi.GetGitTagSignatureVerificationRetrieve verification details of a git tag signature.
GithubApi.CreateGitTreeCreate or modify a git tree in a GitHub repository.
GithubApi.GetGitTreeFetch a git tree by its SHA1 value from a GitHub repo.
GithubApi.ListRepositoryWebhooksRetrieve webhooks for a specified GitHub repository.
GithubApi.CreateGithubRepoWebhookCreate a webhook for a GitHub repository.
GithubApi.DeleteRepoWebhookDelete a webhook from a GitHub repository.
GithubApi.GetRepoWebhookRetrieve the webhook configuration for a specific repository.
GithubApi.UpdateGithubRepoWebhookUpdate a webhook for a GitHub repository.
GithubApi.GetRepoWebhookConfigGet the webhook configuration for a GitHub repository.
GithubApi.UpdateRepoWebhookConfigUpdate GitHub repository webhook configuration settings.
GithubApi.ListGithubWebhookDeliveriesFetch webhook delivery events for a specific GitHub repository.
GithubApi.GetWebhookDeliveryRetrieve a specific webhook delivery from a repository.
GithubApi.RedeliverGithubWebhookRedelivers a webhook delivery for a GitHub repository.
GithubApi.SendPingEventToWebhookTriggers a ping event to a GitHub webhook.
GithubApi.TriggerGithubWebhookTestTrigger a GitHub webhook test with the latest push event.
GithubApi.GetGithubAppRepoInstallationFetches GitHub App installation info for a repository.
GithubApi.ListRepoInvitationsList open invitations for a GitHub repository.
GithubApi.DeleteRepoInvitationDelete a repository invitation on GitHub.
GithubApi.UpdateRepoInvitationUpdate a repository invitation on GitHub.
GithubApi.ListGithubIssuesForRepoRetrieve open issues from a GitHub repository.
GithubApi.CreateGithubIssueCreate a new issue in a GitHub repository.
GithubApi.ListIssueCommentsFetch comments for all issues in a repository.
GithubApi.DeleteGithubIssueCommentDelete a specific comment from a GitHub issue.
GithubApi.GetGithubIssueCommentRetrieve a comment from a GitHub issue.
GithubApi.UpdateGithubIssueCommentUpdate a comment on a GitHub issue.
GithubApi.ListIssueCommentReactionsRetrieve reactions for a GitHub issue comment.
GithubApi.AddReactionToGithubCommentAdd a reaction to a GitHub issue comment.
GithubApi.DeleteGithubIssueCommentReactionDeletes a reaction from a GitHub issue comment.
GithubApi.ListGithubRepoIssueEventsRetrieve events for issues in a GitHub repository.
GithubApi.FetchGithubIssueEventRetrieve details of a specific GitHub issue event.
GithubApi.GetGithubIssueDetailsFetch details of a specific issue or pull request on GitHub.
GithubApi.UpdateGithubIssueUpdate details of a GitHub issue.
GithubApi.RemoveIssueAssigneesRemove assignees from a GitHub issue.
GithubApi.AssignGithubIssueAssign users to a GitHub issue.
GithubApi.CheckUserAssignPermissionCheck if a user can be assigned to a GitHub issue.
GithubApi.ListGithubIssueCommentsRetrieve comments for a specific GitHub issue.
GithubApi.GithubCreateIssueCommentCreate a comment on a GitHub issue.
GithubApi.ListGithubIssueEventsRetrieve events for a specific GitHub issue.
GithubApi.RemoveAllLabelsFromGithubIssueRemove all labels from a GitHub issue.
GithubApi.ListLabelsOnGithubIssueRetrieve all labels associated with a GitHub issue.
GithubApi.AddLabelsToGithubIssueAdd labels to a GitHub issue to categorize it.
GithubApi.SetGithubIssueLabelsSet new labels for a GitHub issue.
GithubApi.RemoveIssueLabelRemove a specified label from a GitHub issue.
GithubApi.UnlockGithubIssueUnlock a locked GitHub issue conversation.
GithubApi.LockGithubIssueLock a GitHub issue or pull request conversation.
GithubApi.ListIssueReactionsRetrieve reactions from a GitHub issue.
GithubApi.AddReactionToGithubIssueAdd a reaction to a GitHub issue.
GithubApi.DeleteGithubIssueReactionDeletes a reaction from a GitHub issue.
GithubApi.GetIssueTimelineEventsRetrieve timeline events for a GitHub issue.
GithubApi.ListGithubDeployKeysRetrieve deploy keys for a specific GitHub repository.
GithubApi.CreateGithubDeployKeyCreate a read-only deploy key for a GitHub repository.
GithubApi.DeleteGithubDeployKeyDelete a deploy key from a GitHub repository.
GithubApi.GetGithubDeployKeyRetrieve a deploy key from a GitHub repository.
GithubApi.ListRepositoryLabelsRetrieve labels for a GitHub repository.
GithubApi.CreateGithubLabelCreates a label in a specified GitHub repository.
GithubApi.DeleteGithubLabelDelete a label from a GitHub repository.
GithubApi.GetGithubLabelRetrieve details of a GitHub repository label.
GithubApi.UpdateGithubLabelUpdate a label on a GitHub repository.
GithubApi.ListRepoLanguagesList programming languages used in a GitHub repository.
GithubApi.DisableLfsForGithubRepoDisable Git LFS for a specified GitHub repository.
GithubApi.EnableGitLfsEnables Git LFS for a specified repository.
GithubApi.GetRepoLicenseFetch the license file of a GitHub repository.
GithubApi.SyncForkWithUpstreamSync a forked repository's branch with the upstream repo.
GithubApi.MergeGithubBranchMerge a branch into a GitHub repository.
GithubApi.ListGithubMilestonesRetrieve milestones from a GitHub repository.
GithubApi.CreateGithubMilestoneCreate a milestone in a GitHub repository.
GithubApi.DeleteGithubMilestoneDelete a milestone from a GitHub repository.
GithubApi.GetGithubMilestoneRetrieve details of a GitHub milestone for a repository.
GithubApi.UpdateGithubMilestoneUpdate a GitHub repository milestone.
GithubApi.ListLabelsForMilestoneRetrieve labels for issues in a specific milestone on GitHub.
GithubApi.GetRepoNotificationsRetrieve notifications for the user in a specific repository.
GithubApi.MarkRepoNotificationsAsReadMark all repository notifications as read for the user.
GithubApi.DeleteGithubPagesSiteDelete a GitHub Pages site from a repository.
GithubApi.GetGithubPagesSiteRetrieve details of a GitHub Pages site for a repository.
GithubApi.ConfigureGithubPagesSiteConfigures a GitHub Pages site for a repository.
GithubApi.UpdateGithubPagesInfoUpdate information for a GitHub Pages site.
GithubApi.ListGithubPagesBuildsRetrieve GitHub Pages build statuses for a repository.
GithubApi.RequestGithubPagesBuildRequest a build for your GitHub Pages site.
GithubApi.GetLatestGithubPagesBuildRetrieve the latest GitHub Pages build information.
GithubApi.GetGithubPagesBuildRetrieve details of a GitHub Pages build for a repository.
GithubApi.CreateGithubPagesDeploymentCreate a GitHub Pages deployment for a repository.
GithubApi.ListRepoPreReceiveHooksList pre-receive hooks for a GitHub repository.
GithubApi.RemoveRepoHookEnforcementRemove overridden pre-receive hook enforcement for a repository.
GithubApi.GetPreReceiveHookForRepoRetrieve a pre-receive hook for a specific repository.
GithubApi.UpdateHookEnforcementForRepoUpdate pre-receive hook enforcement for a GitHub repository.
GithubApi.ListRepositoryProjectsRetrieve projects from a specific GitHub repository.
GithubApi.CreateGithubProjectBoardCreate a project board for a GitHub repository.
GithubApi.ListPullRequestsRetrieve pull requests from a GitHub repository.
GithubApi.CreateGithubPullRequestCreate a draft pull request on GitHub repositories.
GithubApi.ListReviewCommentsForRepoRetrieve review comments for all pull requests in a repository.
GithubApi.DeleteGithubReviewCommentDelete a review comment on a GitHub pull request.
GithubApi.GetGithubReviewCommentDetailsGet details for a specific GitHub review comment.
GithubApi.EditGithubReviewCommentEdit a review comment on a GitHub pull request.
GithubApi.ListPullRequestCommentReactionsRetrieve reactions for a pull request review comment.
GithubApi.AddReactionToPrCommentAdds a reaction to a pull request review comment on GitHub.
GithubApi.DeletePullRequestCommentReactionDelete a reaction from a pull request comment.
GithubApi.GetPullRequestDetailsRetrieve details of a specific GitHub pull request.
GithubApi.UpdatePullRequestUpdate an existing pull request on GitHub.
GithubApi.ListPullRequestReviewCommentsRetrieve all review comments for a pull request.
GithubApi.CreatePullRequestReviewCommentCreate a review comment on a GitHub pull request.
GithubApi.CreateReplyToReviewCommentCreate a reply to a top-level review comment on a pull request.
GithubApi.ListPullRequestCommitsRetrieve up to 250 commits for a specific pull request.
GithubApi.ListGithubPullRequestFilesRetrieve files changed in a GitHub pull request.
GithubApi.CheckPrMergeStatusCheck if a pull request has been merged.
GithubApi.MergeGithubPullRequestMerge a pull request on GitHub.
GithubApi.RemovePullRequestReviewersRemove requested reviewers from a GitHub pull request.
GithubApi.GetRequestedReviewersForPrRetrieve users or teams requested for a pull request review.
GithubApi.RequestGithubPullRequestReviewersRequest reviewers for a GitHub pull request.
GithubApi.ListGithubPullRequestReviewsRetrieve reviews for a specific GitHub pull request.
GithubApi.CreateGithubPullRequestReviewCreate a review for a GitHub pull request.
GithubApi.DeleteGithubPullRequestPendingReviewDelete a pending review for a GitHub pull request.
GithubApi.GetGithubReviewRetrieve details of a specific pull request review from GitHub.
GithubApi.UpdatePullRequestReviewUpdate the review summary comment on a pull request.
GithubApi.GetReviewCommentsRetrieve comments for a specific pull request review.
GithubApi.DismissPullRequestReviewDismiss a pull request review on GitHub.
GithubApi.SubmitPullRequestReviewSubmit a review for a pull request on GitHub.
GithubApi.UpdatePullRequestBranchUpdate a pull request branch with latest upstream changes.
GithubApi.GetRepositoryReadmeRetrieve the preferred README for a GitHub repository.
GithubApi.FetchRepoReadmeRetrieve the README from a specific repository directory.
GithubApi.GetGithubReleasesRetrieve a list of releases for a GitHub repository.
GithubApi.CreateGithubReleaseCreates a new release in a specified GitHub repository.
GithubApi.DeleteReleaseAssetDeletes a specific release asset on GitHub.
GithubApi.DownloadGithubReleaseAssetDownload binary content of a GitHub release asset.
GithubApi.EditGithubReleaseAssetEdit a GitHub release asset with push access.
GithubApi.GenerateGithubReleaseNotesGenerate release notes for a GitHub repository.
GithubApi.GetLatestGithubReleaseRetrieve the latest full release from a GitHub repository.
GithubApi.GetGithubReleaseByTagRetrieve GitHub release details by tag.
GithubApi.DeleteGithubReleaseDelete a GitHub release with push access permissions.
GithubApi.GetGithubReleaseDetailsRetrieve details of a specific GitHub release.
GithubApi.UpdateGithubReleaseEdit a GitHub release with push access.
GithubApi.ListGithubReleaseAssetsRetrieve a list of assets for a GitHub release.
GithubApi.ListGithubReleaseReactionsRetrieve reactions for a GitHub release.
GithubApi.AddGithubReleaseReactionAdd a reaction to a GitHub release.
GithubApi.DeleteReleaseReactionDelete a reaction from a GitHub release.
GithubApi.ListRepoCacheStatusLists the status of each repository cache replica.
GithubApi.ListGithubRepoSecretAlertsRetrieve secret scanning alerts for a GitHub repository.
GithubApi.GetGithubSecretScanningAlertRetrieve a specific secret scanning alert from a GitHub repository.
GithubApi.UpdateSecretScanningAlertStatusUpdate the status of a secret scanning alert on GitHub.
GithubApi.ListSecretScanningAlertLocationsRetrieve locations for a secret scanning alert in a repository.
GithubApi.ListRepoStargazersRetrieve users who starred a specific GitHub repository.
GithubApi.GetRepoCodeFrequencyGet weekly code frequency stats for a GitHub repository.
GithubApi.GetCommitActivityFetch yearly commit activity grouped by week.
GithubApi.GetGithubContributorStatsRetrieve GitHub repository contributor statistics.
GithubApi.GetRepoCommitParticipationRetrieve weekly commit participation stats for a GitHub repo.
GithubApi.GetCommitActivityByHourRetrieve commit activity per hour for a GitHub repository.
GithubApi.CreateGithubCommitStatusCreate a commit status for a specific SHA on GitHub.
GithubApi.ListWatchersForRepoRetrieve the list of users watching a GitHub repository.
GithubApi.UnsubscribeFromRepoStop receiving notifications for a repository.
GithubApi.GetRepoSubscriptionRetrieve subscription status for a GitHub repository.
GithubApi.SetRepoSubscriptionManage your GitHub repository subscription settings.
GithubApi.ListGithubRepoTagsRetrieve tags for a specified GitHub repository.
GithubApi.GetRepositoryTagProtectionStatesFetch the tag protection states of a GitHub repository.
GithubApi.CreateRepositoryTagProtectionCreate tag protection for a GitHub repository.
GithubApi.DeleteRepositoryTagProtectionDeletes a tag protection from a GitHub repository.
GithubApi.DownloadGithubRepoTarballRetrieve a URL to download a GitHub repository tarball.
GithubApi.ListRepositoryTeamsRetrieve a list of teams for a specified GitHub repository.
GithubApi.GetRepoTopicsRetrieve all topics for a specific GitHub repository.
GithubApi.UpdateGithubRepoTopicsReplace topics for a specific GitHub repository.
GithubApi.TransferGithubRepositoryInitiate the transfer of a GitHub repository to a new owner.
GithubApi.DownloadGithubRepoZipRetrieve a URL to download a GitHub repository as a zip file.
GithubApi.CreateRepoFromTemplateCreate a new repository from a template.
GithubApi.ListPublicGithubRepositoriesRetrieve all public GitHub repositories.
GithubApi.ListGithubEnvironmentSecretsRetrieve secrets for a GitHub environment.
GithubApi.GetGithubEnvironmentPublicKeyFetch the public key for a GitHub environment.
GithubApi.DeleteGithubEnvironmentSecretDelete a GitHub environment secret by name.
GithubApi.GetEnvironmentSecretInfoRetrieve details of an environment secret on GitHub.
GithubApi.ManageGithubEnvironmentSecretCreate or update an encrypted environment secret on GitHub.
GithubApi.ListGithubEnvironmentVariablesRetrieve environment variables from a GitHub repository's environment.
GithubApi.CreateGithubEnvVariableCreate an environment variable for GitHub Actions workflows.
GithubApi.DeleteGithubEnvVariableDeletes an environment variable in a GitHub repository environment.
GithubApi.GetGithubEnvVariableRetrieve specific environment variable details from GitHub.
GithubApi.UpdateGithubActionsEnvVarUpdate an environment variable in GitHub Actions workflow.
GithubApi.ListProvisionedGroupsForEnterpriseRetrieve provisioned SCIM groups for an enterprise.
GithubApi.CreateEnterpriseScimGroupCreate a SCIM group for a GitHub enterprise account.
GithubApi.DeleteScimGroupFromEnterpriseDelete a SCIM group from an enterprise.
GithubApi.GetScimGroupInfoRetrieve provisioning information for a SCIM group in an enterprise.
GithubApi.UpdateEnterpriseGroupAttributesUpdate attributes for a provisioned enterprise group.
GithubApi.UpdateEnterpriseGroupInfoReplace all information for a provisioned enterprise group.
GithubApi.ListScimEnterpriseMembersLists provisioned SCIM enterprise members for GitHub enterprises.
GithubApi.ProvisionEnterpriseUserCreate a new SCIM enterprise user identity.
GithubApi.DeleteUserFromEnterprisePermanently delete a SCIM user from an enterprise account.
GithubApi.GetScimUserInfoFetch SCIM user provisioning information.
GithubApi.UpdateEnterpriseUserAttributeUpdate individual attributes for a provisioned enterprise user.
GithubApi.UpdateProvisionedEnterpriseUserInfoUpdate all information for a provisioned enterprise user.
GithubApi.SearchCodeInGithubSearch for code in GitHub repositories.
GithubApi.SearchGithubCommitsSearch for GitHub commits using various criteria.
GithubApi.SearchGithubIssuesAndPrsSearch GitHub issues and pull requests by state and keyword.
GithubApi.FindGithubLabelsSearch for labels in a GitHub repository by keywords.
GithubApi.SearchGithubRepositoriesSearch GitHub repositories using various criteria.
GithubApi.SearchGithubTopicsSearch and retrieve topics from GitHub using specific criteria.
GithubApi.GithubSearchUsersSearch for GitHub users based on specific criteria.
GithubApi.CheckConfigStatusCheck the status of the most recent configuration process.
GithubApi.StartGithubConfigurationInitiate the GitHub configuration process.
GithubApi.CheckMaintenanceStatusRetrieve the maintenance status of your GitHub installation.
GithubApi.ToggleMaintenanceModeToggle GitHub Enterprise maintenance mode.
GithubApi.GetGithubEnterpriseSettingsRetrieve the current settings of your GitHub Enterprise instance.
GithubApi.SetGithubEnterpriseSettingsApply configuration settings to GitHub Enterprise instance.
GithubApi.RemoveAuthorizedSshKeyRemove an authorized SSH key from GitHub Enterprise.
GithubApi.GetAllAuthorizedSshKeysRetrieve all authorized SSH keys for enterprise admin.
GithubApi.AddGithubAuthorizedSshKeyAdd an authorized SSH key to GitHub Enterprise.
GithubApi.GetGithubUserProfileRetrieve authenticated user's GitHub profile information.
GithubApi.UpdateGithubProfileUpdate your authenticated GitHub user profile.
GithubApi.DeleteUserEmailDelete an email for the authenticated GitHub user.
GithubApi.ListUserEmailAddressesRetrieve all email addresses of the authenticated user.
GithubApi.AddEmailToGithubAccountAdd a new email to the authenticated GitHub user's account.
GithubApi.ListFollowersRetrieve followers of the authenticated user on GitHub.
GithubApi.ListFollowedUsersLists the people the authenticated user follows.
GithubApi.UnfollowGithubUserUnfollow a user on GitHub.
GithubApi.CheckIfUserIsFollowedCheck if a user is followed by the authenticated GitHub user.
GithubApi.FollowGithubUserFollow a specified user on GitHub.
GithubApi.ListUserGpgKeysRetrieve authenticated user's GPG keys from GitHub.
GithubApi.AddGpgKeyToGithubAdd a GPG key to your authenticated GitHub account.
GithubApi.RemoveGpgKeyRemove a GPG key from your GitHub account.
GithubApi.GetUserGpgKeyDetailsRetrieve extended details for a user's GPG key.
GithubApi.GetGithubAppInstallationsRetrieve GitHub App installations for the authenticated user.
GithubApi.ListUserAccessibleReposList repositories accessible to the authenticated user.
GithubApi.RemoveRepoFromInstallationRemove a repository from a GitHub app installation.
GithubApi.AddRepositoryToGithubInstallationAdd a repository to a GitHub installation for the authenticated user.
GithubApi.ListUserIssuesFetch issues and pull requests assigned to you.
GithubApi.ListPublicSshKeysRetrieve public SSH keys for the authenticated GitHub user.
GithubApi.AddSshKeyToGithubAccountAdd a public SSH key to your GitHub account.
GithubApi.RemoveGithubSshKeyRemoves a public SSH key from your GitHub account.
GithubApi.GetPublicSshKeyDetailsRetrieve details for a specified public SSH key.
GithubApi.ListOrganizationMembershipsRetrieve organization memberships for the authenticated user.
GithubApi.GetOrgMembershipStatusRetrieve the user's organization membership status.
GithubApi.UpdateGithubOrgMembershipUpdate your GitHub organization membership settings.
GithubApi.ListUserMigrationsLists all migrations a user has started.
GithubApi.InitiateUserMigrationBegin the creation of a user migration archive.
GithubApi.DownloadGithubMigrationArchiveFetch the URL to download a GitHub migration archive.
GithubApi.ListUserMigrationReposRetrieve repositories for a user's migration.
GithubApi.ListUserOrganizationsList organizations for the authenticated GitHub user.
GithubApi.CreateGithubUserProjectBoardCreate a project board for a GitHub user.
GithubApi.ListGithubPublicEmailsRetrieve publicly visible GitHub emails for the authenticated user.
GithubApi.ListUserRepositoriesRetrieve repositories accessible to the authenticated user.
GithubApi.CreateGithubRepoForUserCreate a new GitHub repository for the authenticated user.
GithubApi.FetchOpenRepoInvitationsList open repository invitations for the authenticated user.
GithubApi.DeclineRepoInvitationDecline an invitation to join a GitHub repository.
GithubApi.AcceptGithubRepoInvitationAccept a GitHub repository invitation.
GithubApi.ListSshSigningKeysRetrieve SSH signing keys for the authenticated GitHub user.
GithubApi.CreateSshSigningKeyGithubCreate an SSH signing key for your GitHub account.
GithubApi.DeleteGithubSshSigningKeyDelete an SSH signing key from your GitHub account.
GithubApi.GetSshSigningKeyDetailsRetrieve extended details for an SSH signing key.
GithubApi.ListStarredRepositoriesRetrieve repositories starred by the authenticated user.
GithubApi.UnstarGithubRepoUnstar a GitHub repository for the authenticated user.
GithubApi.CheckRepoStarredByUserCheck if a repository is starred by the authenticated user.
GithubApi.StarGithubRepositoryStar a GitHub repository for the authenticated user.
GithubApi.ListWatchedRepositoriesRetrieve repositories watched by the authenticated user.
GithubApi.ListUserGithubTeamsRetrieve teams the authenticated GitHub user belongs to.
GithubApi.ListGithubUsersRetrieve a list of all GitHub users by signup order.
GithubApi.GetGithubUserInfoFetch public details of a GitHub user using their username.
GithubApi.ListUserGithubEventsRetrieve a user's GitHub events, including private if authenticated.
GithubApi.GetUserOrgEventsRetrieve organization events for an authenticated GitHub user.
GithubApi.ListGithubUserPublicEventsRetrieve a GitHub user's public events.
GithubApi.ListUserFollowersRetrieve a list of followers for a specific GitHub user.
GithubApi.UserFollowingListRetrieve users followed by a specified GitHub user.
GithubApi.CheckUserFollowingStatusVerify if a user follows another GitHub user.
GithubApi.GetUserGistsRetrieve a user's public gists from GitHub.
GithubApi.ListGpgKeysForUserRetrieve public GPG keys for a GitHub user.
GithubApi.GetGithubUserHovercardInfoRetrieve detailed hovercard info for a GitHub user.
GithubApi.GetGithubUserInstallationRetrieve a user's GitHub App installation information.
GithubApi.GetPublicSshKeysRetrieve verified public SSH keys for a specified GitHub user.
GithubApi.ListPublicOrgsForUserRetrieve public organization memberships for a GitHub user.
GithubApi.ListUserProjectsRetrieve a list of GitHub projects for a specific user.
GithubApi.GetUserReceivedGithubEventsRetrieve events received by a GitHub user.
GithubApi.ListUserReceivedPublicEventsRetrieve public events received by a GitHub user.
GithubApi.GetUserReposRetrieve public repositories of a GitHub user.
GithubApi.DemoteGithubSiteAdministratorDemote a GitHub site administrator.
GithubApi.PromoteUserToSiteAdminPromote a user to site administrator on GitHub Enterprise.
GithubApi.ListSshSigningKeysForUserRetrieve SSH signing keys for a specific GitHub user.
GithubApi.ListStarredReposRetrieve repositories starred by a user on GitHub.
GithubApi.ListWatchedReposRetrieve a list of repositories a user watches on GitHub.
GithubApi.UnsuspendGithubUserUnsuspend a user on GitHub Enterprise.
GithubApi.SuspendGithubUserSuspend a user on a GitHub Enterprise instance.
GithubApi.GetRandomGithubZenFetch a random Zen of GitHub sentence.

If you need to perform an action that’s not listed here, you can get in touch with us to request a new tool, or create your own tools.


Retrieve Hypermedia links to GitHub’s REST API resources.

Parameters

This tool does not take any parameters.

GithubApi.ListGlobalWebhooks


Retrieve a list of global webhooks from GitHub Enterprise.

Parameters

  • page_number (integer, optional) Specify the page number of the results to fetch. This is used to navigate through paginated results.
  • results_per_page (integer, optional) The number of results to include in each page, up to a maximum of 100.

GithubApi.CreateGlobalWebhook


Create a global webhook in GitHub Enterprise Admin.

Parameters

  • payload_delivery_url (string, required) The destination URL where the webhook payloads will be delivered. Ensure this URL is accessible and properly configured to handle incoming requests.
  • webhook_type (string, required) Specifies the type of webhook. Must be set to “web”.
  • hmac_key_for_signature (string, optional) The key for generating the HMAC hex digest in the X-Hub-Signature header. Optional.
  • payload_content_type (string, optional) Specifies the media type for payload serialization. Options: ‘json’, ‘form’. Default is ‘form’.
  • send_notifications (boolean, optional) Set to true to send notifications when the webhook is triggered.
  • ssl_verification (string, optional) Set ‘0’ to verify SSL certificate of the host for the URL; ‘1’ to skip verification. Default is ‘0’. Avoid setting to ‘1’ to prevent security risks.
  • trigger_events (array[string], optional) List of events that trigger the webhook. Default events are user and organization.

GithubApi.DeleteGlobalWebhook


Delete a global webhook in GitHub Enterprise.

Parameters

  • webhook_id (integer, required) The unique identifier of the global webhook to be deleted.

GithubApi.GetGithubGlobalWebhook


Retrieve details of a specific global webhook in GitHub Enterprise.

Parameters

  • global_webhook_id (integer, required) The unique identifier for the global webhook in GitHub Enterprise. Provide this ID to retrieve specific webhook details.

GithubApi.UpdateGlobalWebhook


Update a GitHub enterprise global webhook.

Parameters

  • webhook_identifier (integer, required) The unique integer identifier for the webhook that needs to be updated.
  • hmac_secret_key (string, optional) Secret key for generating HMAC hex digest value in X-Hub-Signature header.
  • payload_delivery_url (string, optional) The URL where webhook payloads will be delivered for processing.
  • payload_media_type (string, optional) The media type for payload serialization. Supported values: json, form. Default is form.
  • send_notifications_on_trigger (boolean, optional) Set to true to send notifications when the webhook is triggered.
  • verify_ssl_certificate (string, optional) Determines SSL certificate verification for payload delivery. Use ‘0’ for verification and ‘1’ to skip (not recommended). Default is ‘0’.
  • webhook_trigger_events (array[string], optional) The events that trigger the global webhook. Can include ‘user’, ‘organization’. Defaults to both if not specified.

GithubApi.TriggerGithubWebhookPing


Trigger a ping event to a GitHub webhook.

Parameters

  • webhook_hook_id (integer, required) The unique identifier of the GitHub webhook to ping.

GithubApi.ListGithubPublicKeys


Retrieve GitHub Enterprise Admin public keys.

Parameters

  • filter_keys_accessed_since (string, optional) Specify a timestamp to only list public keys accessed after this time. Use ISO 8601 format.
  • page_number_to_fetch (integer, optional) The specific page number of results to retrieve.
  • results_per_page (integer, optional) The number of results to display per page. Maximum allowed is 100. Use to limit the amount of data retrieved per call.
  • sort_direction (string, optional) The direction to sort the results: ‘asc’ for ascending or ‘desc’ for descending.
  • sort_order (string, optional) Criteria for sorting results. Options: ‘created’, ‘updated’, ‘accessed’.

GithubApi.DeleteGithubPublicKey


Delete a public key from GitHub Enterprise.

Parameters

  • public_key_identifier (string, required) The unique identifier of the public key to delete from GitHub Enterprise.

GithubApi.UpdateLdapMappingForTeam


Update the LDAP mapping for a GitHub team.

Parameters

  • ldap_distinguished_name (string, required) The distinguished name (DN) of the LDAP entry to map to a team. This should be a string following the LDAP DN format.
  • team_id (integer, required) The unique identifier of the GitHub team to update LDAP mapping for.

GithubApi.QueueLdapSyncForTeam


Queue an LDAP sync job for a specified team.

Parameters

  • team_id (integer, required) The unique identifier of the GitHub team for which the LDAP sync job should be queued.

GithubApi.UpdateLdapMappingForUser


Update LDAP mapping for a user in GitHub Enterprise Admin.

Parameters

  • github_user_handle (string, required) The handle for the GitHub user account to update the LDAP mapping for.
  • ldap_distinguished_name (string, required) The distinguished name (DN) of the LDAP entry to map to a team. It should be in a string format as specified here .

GithubApi.SyncGithubLdapUserMapping


Queue a sync job for LDAP mapping of a GitHub user.

Parameters

  • github_user_handle (string, required) The GitHub user account handle to queue LDAP sync for.

GithubApi.CreateGithubOrganization


Create a new organization on GitHub.

Parameters

  • admin_user_login (string, required) The login username of the user designated to manage the new GitHub organization.
  • organization_username (string, required) The username for the organization in GitHub.
  • organization_display_name (string, optional) The display name for the organization to be created on GitHub.

GithubApi.UpdateGithubOrgName


Updates the organization name on GitHub Enterprise.

Parameters

  • current_organization_name (string, required) The current name of the organization to be updated. It is not case sensitive.
  • new_organization_name (string, required) The new name for the organization on GitHub Enterprise. This will be the name you want to update to.

GithubApi.ListPreReceiveEnvironments


Retrieve a list of pre-receive environments for GitHub Enterprise.

Parameters

  • page_number (integer, optional) Specifies the page number of results to fetch. Use this to navigate through paginated data.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.
  • sort (string, optional) Criteria to sort the results: ‘created’, ‘updated’, or ‘name’.
  • sort_direction (string, optional) Specifies the order to sort results: ‘asc’ for ascending or ‘desc’ for descending.

GithubApi.CreatePreReceiveEnvironment


Create a new pre-receive environment on GitHub Enterprise.

Parameters

  • pre_receive_environment_name (string, required) The name of the new pre-receive environment to be created.
  • tarball_download_url (string, required) URL to download the tarball for the pre-receive environment setup.

GithubApi.DeletePreReceiveEnvironment


Delete a specified pre-receive environment in GitHub Enterprise.

Parameters

  • pre_receive_environment_identifier (integer, required) The unique integer identifier of the pre-receive environment to be deleted.

GithubApi.GetGithubPreReceiveEnvironment


Retrieve a GitHub pre-receive environment by ID.

Parameters

  • pre_receive_environment_id (integer, required) The unique identifier for the GitHub pre-receive environment.

GithubApi.UpdateGithubPreReceiveEnvironment


Update a pre-receive environment in GitHub Enterprise.

Parameters

  • pre_receive_environment_id (integer, required) The unique identifier of the pre-receive environment to update.
  • new_environment_name (string, optional) The new name for the pre-receive environment.
  • tarball_download_url (string, optional) The URL to download the tarball for the environment update.

GithubApi.TriggerEnvironmentDownload


Start a new download of the environment tarball.

Parameters

  • pre_receive_environment_id (integer, required) The unique identifier for the pre-receive environment to trigger the download for.

GithubApi.GetPreReceiveEnvDownloadStatus


Retrieve the latest download status for a pre-receive environment.

Parameters

  • pre_receive_environment_identifier (integer, required) The unique identifier for the pre-receive environment to retrieve its download status.

GithubApi.ListPreReceiveHooks


Retrieve the list of pre-receive hooks in GitHub Enterprise.

Parameters

  • results_page_number (integer, optional) The specific page number of results to retrieve, used for pagination.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.
  • sort_direction (string, optional) The direction to sort the results by. Options are ‘asc’ for ascending or ‘desc’ for descending.
  • sort_results_by (string, optional) Specify the property to sort the results by. Options are ‘created’, ‘updated’, or ‘name’.

GithubApi.CreatePreReceiveHook


Create a pre-receive hook for GitHub enterprise administration.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.DeletePreReceiveHook


Delete a pre-receive hook from GitHub Enterprise Admin.

Parameters

  • pre_receive_hook_identifier (integer, required) The unique identifier for the pre-receive hook to delete.

GithubApi.GetPreReceiveHook


Retrieve details of a specific pre-receive hook in GitHub Enterprise Admin.

Parameters

  • pre_receive_hook_id (integer, required) The unique identifier of the pre-receive hook to retrieve details for.

GithubApi.UpdateGithubPreReceiveHook


Update a GitHub enterprise pre-receive hook.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • pre_receive_hook_id (integer, optional) The unique identifier of the pre-receive hook in the GitHub enterprise environment. This is required for updating hook details. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListPersonalAccessTokens


Retrieve personal access tokens for all users including admins.

Parameters

  • results_page_number (integer, optional) The page number of the results to fetch, used for pagination.
  • results_per_page (integer, optional) Number of results to return per page. Maximum value is 100.

GithubApi.DeleteGithubPersonalAccessToken


Delete a GitHub personal access token.

Parameters

  • github_token_id (integer, required) The unique identifier of the GitHub personal access token to delete.

GithubApi.CreateEnterpriseUser


Creates a new user in GitHub enterprise with external authentication.

Parameters

  • user_username (string, required) The user’s username for the GitHub enterprise account. It will be normalized to contain only alphanumeric characters or single hyphens.
  • user_email (string, optional) The email address of the user. Required for built-in authentication but optional for CAS, LDAP, or SAML auth methods.

GithubApi.DeleteGithubEnterpriseUser


Delete a GitHub Enterprise user and their data.

Parameters

  • github_user_handle (string, required) The handle for the GitHub user account to be deleted. Ensure it’s the correct user, as this action is irreversible.

GithubApi.UpdateGithubUsername


Update a GitHub user’s username.

Parameters

  • current_github_username (string, required) The current handle of the GitHub user account to be updated.
  • new_github_username (string, required) The new username for the GitHub user account.

GithubApi.DeleteImpersonationOauthToken


Deletes an impersonation OAuth token for a user in GitHub Enterprise Admin.

Parameters

  • github_user_handle (string, required) The GitHub user account handle for which the impersonation OAuth token will be deleted.

GithubApi.CreateImpersonationOauthToken


Create an impersonation OAuth token for a GitHub user.

Parameters

  • github_user_handle (string, required) The GitHub user account handle for which to create the impersonation OAuth token.
  • oauth_scopes_list (array[string], required) A list of scopes defining the permissions for the OAuth token. Each scope is a string representing a specific set of access rights. Refer to scopes documentation  for valid options.

GithubApi.GetGithubAppInfo


Retrieve details about the authenticated GitHub App.

Parameters

This tool does not take any parameters.

GithubApi.CompleteGithubAppHandshake


Complete the GitHub App Manifest handshake to retrieve app details.

Parameters

  • temporary_code_for_github_app (string, required) The temporary code provided during the GitHub App Manifest flow to retrieve the app’s id, pem, and webhook_secret.

GithubApi.GetGithubAppWebhookConfig


Fetches the webhook configuration for a GitHub App.

Parameters

This tool does not take any parameters.

GithubApi.UpdateGithubAppWebhookConfig


Update the webhook configuration for a GitHub App.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListWebhookDeliveries


Retrieve webhook deliveries for a GitHub App.

Parameters

  • only_redeliveries (boolean, optional) Set to true to include only redeliveries in the results.
  • pagination_cursor (string, optional) Starting point for pagination to fetch a page of deliveries. Use the link header to find next and previous page cursors.
  • results_per_page (integer, optional) The number of webhook deliveries to return per page, up to a maximum of 100.

GithubApi.GetGithubAppWebhookDelivery


Retrieve delivery details for a GitHub App webhook.

Parameters

  • webhook_delivery_id (integer, required) The ID of the webhook delivery to retrieve. Must be an integer.

GithubApi.RedeliverGithubWebhookDelivery


Redeliver a GitHub App webhook delivery.

Parameters

  • webhook_delivery_id (integer, required) The unique integer ID of the webhook delivery to be redelivered.

GithubApi.ListGithubAppInstallations


Retrieve installations of a GitHub app using a JWT.

Parameters

  • include_outdated (string, optional) Include or exclude outdated installations in the results. Pass ‘true’ to include them.
  • notifications_updated_since (string, optional) Specify a timestamp in ISO 8601 format to filter installations updated after this time. Format: YYYY-MM-DDTHH:MM:SSZ.
  • results_page_number (integer, optional) Specify the page number of the results you want to retrieve, allowing pagination through the results. Useful for fetching specific subsets of data.
  • results_per_page (integer, optional) Specify the number of results to return per page. Maximum is 100.

GithubApi.UninstallGithubApp


Uninstall a GitHub App from an account.

Parameters

  • installation_id (integer, required) The unique identifier of the GitHub App installation to uninstall.

GithubApi.GetGithubAppInstallationInfo


Fetch information of a GitHub App installation by ID.

Parameters

  • installation_id (integer, required) The unique identifier of the GitHub App installation to fetch information for.

GithubApi.CreateGithubAppInstallationToken


Create an installation access token for a GitHub App.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • installation_id (integer, optional) The unique identifier for the GitHub App installation. Required to create the access token. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.RemoveGithubAppSuspension


Unsuspend a GitHub App installation.

Parameters

  • installation_id (integer, required) The unique identifier for the GitHub App installation to be unsuspended.

GithubApi.SuspendGithubAppInstallation


Suspend a GitHub App’s installation for specified accounts.

Parameters

  • installation_id (integer, required) The unique identifier of the GitHub App installation to suspend.

GithubApi.RevokeGithubOauthGrant


Revoke OAuth grant for a GitHub application and user.

Parameters

  • github_app_client_id (string, required) The unique client ID for the GitHub app, used for Basic Authentication.
  • oauth_access_token (string, required) The OAuth access token for authenticating the GitHub API and revoking the grant.

GithubApi.RevokeGithubOauthToken


Revoke a GitHub OAuth application’s token.

Parameters

  • github_app_client_id (string, required) The client ID of the GitHub OAuth application to identify the app during token revocation.
  • oauth_access_token (string, required) The OAuth access token used to authenticate to the GitHub API. Required for token revocation.

GithubApi.ResetGithubOauthToken


Reset an OAuth token for a GitHub application.

Parameters

  • github_app_client_id (string, required) The client ID of the GitHub application required for resetting the OAuth token.
  • oauth_access_token (string, required) The access token of the OAuth application to be reset.

GithubApi.CheckGithubTokenValidity


Check GitHub OAuth token validity with reduced rate limits.

Parameters

  • github_app_client_id (string, required) The unique client ID of the GitHub application for OAuth authentication.
  • oauth_access_token (string, required) The OAuth access token to verify its validity with the GitHub API.

GithubApi.CreateGithubScopedToken


Create a GitHub repository and permission scoped token.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • github_client_id (string, optional) The client ID of your GitHub app used for authentication. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.GetGithubAppDetailsBySlug


Retrieve GitHub App details using its slug.

Parameters

  • github_app_slug (string, required) The URL-friendly name of the GitHub App to retrieve details for. Found on the GitHub App settings page.

GithubApi.GetAllGithubCodesOfConduct


Retrieve all GitHub codes of conduct.

Parameters

This tool does not take any parameters.

GithubApi.GetCodeOfConduct


Retrieve a specific code of conduct from GitHub.

Parameters

  • conduct_code_key (string, required) The unique identifier for the specific code of conduct you want to retrieve.

GithubApi.ListGithubEmojis


Lists all available GitHub emojis.

Parameters

This tool does not take any parameters.

GithubApi.RemoveEnterpriseAnnouncement


Removes the global announcement banner in your enterprise.

Parameters

This tool does not take any parameters.

GithubApi.GetEnterpriseAnnouncementBanner


Retrieve the global announcement banner for your enterprise.

Parameters

This tool does not take any parameters.

GithubApi.SetGithubAnnouncement


Set the announcement banner message and expiration in GitHub Enterprise.

Parameters

  • announcement_text_gfm (string, required) The announcement text in GitHub Flavored Markdown. Use for global messages in GitHub Enterprise.
  • announcement_expiration_time (string, optional) Timestamp for when the announcement expires in ISO 8601 format. Use null or an empty string for no expiration.

GithubApi.GetLicenseInformation


Retrieve GitHub Enterprise license information.

Parameters

This tool does not take any parameters.

GithubApi.GetGithubEnterpriseStats


Retrieve all statistics for GitHub Enterprise.

Parameters

This tool does not take any parameters.

GithubApi.GetCommentStatistics


Retrieve comment statistics from GitHub Enterprise.

Parameters

This tool does not take any parameters.

GithubApi.GetGitGistStatistics


Retrieve gist statistics from GitHub Enterprise.

Parameters

This tool does not take any parameters.

GithubApi.GetHooksStatistics


Retrieves statistics about enterprise webhooks on GitHub.

Parameters

This tool does not take any parameters.

GithubApi.GetGithubIssueStatistics


Retrieve statistics on GitHub issues for an enterprise.

Parameters

This tool does not take any parameters.

GithubApi.GetMilestoneStatistics


Retrieve GitHub enterprise milestone statistics.

Parameters

This tool does not take any parameters.

GithubApi.GetGithubOrgStats


Retrieve organization statistics from GitHub Enterprise.

Parameters

This tool does not take any parameters.

GithubApi.GetGithubPagesStats


Retrieve statistics for GitHub Pages in an enterprise account.

Parameters

This tool does not take any parameters.

GithubApi.GetPullRequestStatistics


Retrieve pull request statistics from GitHub Enterprise.

Parameters

This tool does not take any parameters.

GithubApi.GetRepositoryStatistics


Retrieve statistics for GitHub repositories.

Parameters

This tool does not take any parameters.

GithubApi.GetGithubUserStats


Retrieve user statistics from GitHub Enterprise.

Parameters

This tool does not take any parameters.

GithubApi.GetGithubActionsCacheUsageForEnterprise


Retrieve GitHub Actions cache usage for an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise. Can be either the enterprise name in slug format or the enterprise ID.

GithubApi.GetGithubActionsCachePolicy


Retrieve the GitHub Actions cache usage policy for an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug version or ID of the enterprise for GitHub Actions cache policy retrieval.

GithubApi.SetGithubActionsCachePolicy


Set GitHub Actions cache usage policy for an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise for which to set the cache policy.
  • default_repo_cache_size_limit_gb (integer, optional) Default size limit for all caches in a repository, specified in gigabytes.
  • maximum_repository_cache_size_limit_in_gb (integer, optional) Maximum cache size limit for all repository caches in an enterprise, in gigabytes.

GithubApi.GetGithubActionsPermissions


Get GitHub Actions permissions for an enterprise.

Parameters

  • enterprise_identifier (string, required) Identifier for the enterprise, either as a slug version of the name or the enterprise ID.

GithubApi.SetGithubActionsPermissions


Set GitHub Actions permissions for an enterprise.

Parameters

  • enabled_organizations_policy (string, required) Specifies which organizations can run GitHub Actions: ‘all’, ‘none’, or ‘selected’.
  • enterprise_identifier (string, required) The slug or ID of the enterprise for setting GitHub Actions permissions.
  • actions_permission_policy (string, optional) Specifies the actions allowed to run in the enterprise. Possible values: ‘all’, ‘local_only’, ‘selected’.

GithubApi.ListActionsEnabledOrgsEnterprise


List organizations with GitHub Actions enabled in an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise to identify it for listing organizations with GitHub Actions enabled.
  • results_page_number (integer, optional) Specifies which page of results to retrieve, helpful for navigating through multiple pages.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.SetGithubActionsEnabledOrgs


Replace organizations enabled for GitHub Actions in an enterprise.

Parameters

  • enterprise_slug_or_id (string, required) The slug version or ID of the enterprise for which to update enabled GitHub Actions organizations.
  • organization_ids_for_github_actions (array[integer], required) An array of organization IDs to enable GitHub Actions for specific organizations in the enterprise.

GithubApi.DisableOrgGithubActions


Disable GitHub Actions for an organization in an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug version of the enterprise name or the enterprise ID to identify it for the operation.
  • organization_unique_identifier (integer, required) The unique identifier of the organization to disable GitHub Actions for.

GithubApi.EnableGithubActionsForOrg


Enable GitHub Actions for a selected organization in an enterprise.

Parameters

  • enterprise_slug_or_id (string, required) The slug or ID of the enterprise to identify it for GitHub Actions enablement. Accepts slug version or enterprise ID.
  • organization_id (integer, required) The unique identifier for the organization to enable GitHub Actions. Must be an integer.

GithubApi.GetAllowedActionsForEnterprise


Retrieve the actions allowed in a GitHub enterprise.

Parameters

  • enterprise_identifier (string, required) The slug version or ID of the enterprise to fetch allowed actions for.

GithubApi.SetAllowedActionsEnterprise


Configure allowed GitHub Actions for an enterprise.

Parameters

  • allow_github_owned_actions (boolean, required) Set to true to allow GitHub-owned actions in the enterprise, such as those in the ‘actions’ organization.
  • allowed_action_patterns (array[string], required) List of patterns to match specific GitHub Actions to allow. Use wildcards, tags, and SHAs for specification.
  • enterprise_identifier (string, required) The slug version of the enterprise name or the enterprise ID.

GithubApi.GetGithubTokenWorkflowPermissions


Retrieve GitHub Actions default workflow permissions for an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug version of the enterprise name or the enterprise ID.

GithubApi.SetEnterpriseWorkflowPermissions


Set default GitHub Actions permissions for an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise. Use the slug version of the enterprise name or the enterprise ID.
  • allow_approve_pull_request_reviews (boolean, optional) Indicate if GitHub Actions can approve pull requests. Enabling this may pose a security risk.
  • default_workflow_permissions (string, optional) Specify ‘read’ or ‘write’ to set the permissions for the GITHUB_TOKEN when running workflows.

GithubApi.ListSelfHostedRunnerGroups


Retrieve all self-hosted runner groups for an enterprise.

Parameters

  • enterprise_slug (string, required) The slug or ID of the enterprise for which to list self-hosted runner groups. This identifies the enterprise by name or numeric ID.
  • organization_filter (string, optional) Filter results to show runner groups usable by the specified organization.
  • results_page_number (integer, optional) Specifies which page of the self-hosted runner groups results to retrieve. Useful for paginating through large sets of data.
  • results_per_page (integer, optional) The maximum number of results to return per page, up to 100.

GithubApi.CreateSelfHostedRunnerGroup


Create a self-hosted runner group for an enterprise.

Parameters

  • enterprise_name_or_id (string, required) The slug version of the enterprise name or the enterprise ID to identify the enterprise.
  • runner_group_name (string, required) Name of the runner group to be created.
  • allow_public_repository_use (boolean, optional) Set to true to allow the runner group to be used by public repositories.
  • organization_ids_for_access (array[integer], optional) List of IDs for organizations allowed to access the runner group.
  • restrict_to_selected_workflows (boolean, optional) Set to true to restrict the runner group to only the workflows in ‘selected_workflows’.
  • runner_group_visibility (string, optional) Specifies the visibility of the runner group: ‘selected’ for individual organizations or ‘all’ for all organizations.
  • runner_ids (array[integer], optional) List of runner IDs to be added to the new runner group.
  • workflows_allowed_for_runner_group (array[string], optional) List of workflows the runner group can run. Ignored unless restricted_to_workflows is true.

GithubApi.DeleteSelfHostedRunnerGroup


Delete a self-hosted runner group for an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug version of the enterprise name or the enterprise ID to identify which enterprise the runner group belongs to.
  • runner_group_id (integer, required) Unique identifier for the self-hosted runner group to be deleted.

GithubApi.GetSelfHostedRunnerGroup


Retrieve a specific self-hosted runner group for an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug of the enterprise name or substitute with the enterprise ID.
  • runner_group_identifier (integer, required) Unique identifier of the self-hosted runner group, required to retrieve specific group details within an enterprise.

GithubApi.UpdateRunnerGroupEnterprise


Update the name and visibility of a self-hosted runner group in an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise to identify which enterprise the runner group belongs to.
  • runner_group_id (integer, required) Unique identifier of the self-hosted runner group to update.
  • allow_public_repositories (boolean, optional) Set to true if the runner group can be used by public repositories.
  • allowable_workflow_list (array[string], optional) List of workflow names the runner group is allowed to run. Ignored unless restricted_to_workflows is set to true.
  • restrict_to_workflows (boolean, optional) Set to true to restrict the runner group to only the workflows in the selected_workflows array.
  • runner_group_name (string, optional) Name of the self-hosted runner group to be updated.
  • runner_group_visibility (string, optional) Specifies whether the runner group is visible to all organizations or only selected ones. Valid values are ‘selected’ or ‘all’.

GithubApi.ListOrgAccessRunnerGroup


List organizations with access to a self-hosted runner group.

Parameters

  • enterprise_slug_or_id (string, required) The slug or ID of the enterprise. Used to identify the specific enterprise context for the runner group.
  • runner_group_id (integer, required) Unique identifier for the self-hosted runner group.
  • page_number (integer, optional) Specify the page number of results to fetch. Useful for pagination in large datasets.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.SetGhOrgAccessToRunnerGroup


Update organization access for a GitHub runner group.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise. Specify either for identifying the enterprise.
  • organization_ids_for_runner_access (array[integer], required) List of organization IDs permitted to access the self-hosted runner group.
  • runner_group_identifier (integer, required) Unique integer identifier of the self-hosted runner group within the enterprise.

GithubApi.RemoveOrgAccessRunnerGroup


Removes an organization’s access to a self-hosted runner group.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise to identify it for the runner group operation.
  • organization_id (integer, required) The unique identifier for the organization to be removed from the self-hosted runner group.
  • runner_group_id (integer, required) Unique identifier of the self-hosted runner group to modify access for.

GithubApi.AddOrgAccessToRunnerGroup


Add organization access to a self-hosted runner group in an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise. Use either the enterprise name slug or its ID.
  • organization_id (integer, required) The unique identifier of the organization to add access to the self-hosted runner group.
  • runner_group_id (integer, required) Unique identifier for the self-hosted runner group. Required for adding organization access to it.

GithubApi.ListSelfHostedRunnersInGroup


Retrieve self-hosted runners in an enterprise group.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise. Use the slug version of the enterprise name or substitute with the enterprise ID.
  • runner_group_id (integer, required) The unique identifier of the self-hosted runner group within the enterprise.
  • results_page_number (integer, optional) Page number of the results to fetch.
  • results_per_page (integer, optional) The number of results to display per page (maximum 100).

GithubApi.UpdateSelfHostedRunnersInGroup


Update self-hosted runners in an enterprise group.

Parameters

  • enterprise_identifier (string, required) The slug version of the enterprise name or the enterprise ID.
  • runner_group_identifier (integer, required) Unique identifier for the self-hosted runner group. This integer ID specifies which group to update.
  • runner_ids_to_add (array[integer], required) Array of runner IDs to be added to the specified runner group in the enterprise. Each runner ID should be an integer.

GithubApi.RemoveRunnerFromEnterpriseGroup


Remove a self-hosted runner from an enterprise group.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise. Use either the slug version of the enterprise name or the enterprise ID.
  • runner_group_id (integer, required) Unique identifier of the self-hosted runner group to remove a runner from.
  • runner_identifier (integer, required) The unique integer identifier of the self-hosted runner to be removed from the enterprise group.

GithubApi.AddSelfHostedRunnerToGroup


Add a self-hosted runner to an enterprise group in GitHub.

Parameters

  • enterprise_identifier (string, required) Slug version or ID of the enterprise for adding the runner.
  • runner_group_identifier (integer, required) Unique identifier of the self-hosted runner group.
  • self_hosted_runner_id (integer, required) Unique identifier of the self-hosted runner to be added to the group.

GithubApi.ListSelfHostedRunnersForEnterprise


Retrieve all self-hosted runners for a GitHub enterprise.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise for which to list self-hosted runners.
  • results_page_number (integer, optional) Specify the page number of the results to fetch for pagination purposes.
  • results_per_page (integer, optional) The number of results to return per page, with a maximum of 100.

GithubApi.ListRunnerBinariesForEnterprise


Retrieve download links for runner application binaries.

Parameters

  • enterprise_identifier (string, required) The slug or ID for the enterprise to obtain runner binaries.

GithubApi.CreateGithubEnterpriseRegistrationToken


Generate a registration token for GitHub Enterprise runners.

Parameters

  • enterprise_slug_or_id (string, required) The slug version of the enterprise name or the enterprise ID for GitHub Enterprise.

GithubApi.GetRemoveTokenForEnterpriseRunner


Generates a token to remove a self-hosted runner from an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise. Use this to specify the enterprise for which you want to generate a removal token.

GithubApi.RemoveSelfHostedRunnerFromEnterprise


Remove a self-hosted runner from an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise. Use the slug version of the name or the enterprise ID for identification.
  • runner_id (integer, required) Unique identifier for the self-hosted runner to be removed.

GithubApi.GetSelfHostedRunnerInfo


Retrieve details of a self-hosted runner in an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug version of the enterprise name or the enterprise ID.
  • runner_id (integer, required) The unique identifier of the self-hosted runner to retrieve details for.

GithubApi.RemoveCustomLabelsFromRunner


Remove all custom labels from an enterprise’s self-hosted runner.

Parameters

  • enterprise_identifier (string, required) The slug version of the enterprise name or the enterprise ID for identifying the enterprise.
  • runner_id (integer, required) The unique identifier of the self-hosted runner from which to remove custom labels.

GithubApi.ListLabelsForRunner


Retrieve all labels for a self-hosted runner in an enterprise.

Parameters

  • enterprise_slug_or_id (string, required) The slug or ID of the enterprise for identifying self-hosted runner.
  • runner_id (integer, required) Unique identifier of the self-hosted runner for which to list labels.

GithubApi.AddCustomLabelsToRunner


Add custom labels to a self-hosted runner in an enterprise.

Parameters

  • custom_labels (array[string], required) An array of names for the custom labels to add to the self-hosted runner.
  • enterprise_identifier (string, required) The slug or ID of the enterprise for the self-hosted runner. It identifies the enterprise name or ID in GitHub.
  • runner_unique_id (integer, required) The unique integer identifier for the self-hosted runner.

GithubApi.SetCustomLabelsForSelfHostedRunner


Set custom labels for a self-hosted runner in an enterprise.

Parameters

  • custom_labels (array[string], required) List of new custom labels for the runner. Use an empty list to remove all labels.
  • enterprise_identifier (string, required) The slug or ID of the enterprise where the runner is configured. Use the slug version of the enterprise name or the enterprise ID.
  • self_hosted_runner_id (integer, required) The unique identifier of the self-hosted runner to update labels for.

GithubApi.RemoveCustomLabelFromRunner


Remove a custom label from a self-hosted runner in an enterprise.

Parameters

  • enterprise_identifier (string, required) Slug or ID of the enterprise. Use the slug version of the enterprise name or the enterprise ID as an alternative.
  • runner_custom_label_name (string, required) The name of the custom label to be removed from the self-hosted runner.
  • runner_identifier (integer, required) Unique identifier for the self-hosted runner.

GithubApi.GetEnterpriseAuditLog


Retrieve the audit log for a specified enterprise.

Parameters

  • enterprise_slug_or_id (string, required) The slug or ID of the enterprise to fetch the audit log for. Either the slug version of the enterprise name or the enterprise ID can be used.
  • after_cursor (string, optional) A cursor from the Link header to search for events after this point.
  • audit_log_event_order (string, optional) Specify ‘desc’ for newest events first or ‘asc’ for oldest events first. Default is ‘desc’.
  • event_types_to_include (string, optional) Specify event types to include: ‘web’ for web events, ‘git’ for Git events, or ‘all’ for both. Defaults to ‘web’.
  • result_page_number (integer, optional) The page number of audit log results to fetch.
  • results_per_page (integer, optional) Specify the number of results to display per page, with a maximum limit of 100.
  • search_events_before_cursor (string, optional) A cursor to filter events occurring before the specified position in the audit log.
  • search_phrase (string, optional) A search phrase to filter audit log entries. Refer to GitHub Docs  for more details.

GithubApi.ListEnterpriseCodeScanningAlerts


Retrieve code scanning alerts for enterprise repositories.

Parameters

  • enterprise_identifier (string, required) The slug version or ID of the enterprise. Used to specify which enterprise’s alerts to list.
  • alert_state_filter (string, optional) Filter code scanning alerts by their state. Valid values are ‘open’, ‘closed’, ‘dismissed’, ‘fixed’.
  • code_scanning_tool_guid (string, optional) The GUID of a code scanning tool to filter alerts. Use either code_scanning_tool_guid or code_scanning_tool_name, but not both.
  • code_scanning_tool_name (string, optional) The name of a code scanning tool to filter results. Use either this or tool_guid, but not both.
  • query_results_before_cursor (string, optional) The cursor from the Link header to search for alerts before this point.
  • results_page_number (integer, optional) Specify the page number to fetch results from. Used for pagination of code scanning alerts.
  • results_per_page (integer, optional) The number of alerts to return per page, with a maximum of 100.
  • sort_direction (string, optional) Specifies the sorting order of the results, either ascending (‘asc’) or descending (‘desc’).
  • sort_property (string, optional) Specify the property to sort the results by. Valid values are ‘created’ or ‘updated’.
  • start_after_cursor (string, optional) Specifies the cursor to return results after this point. Utilize the cursor from the Link header.

GithubApi.GetSecurityAnalysisSettings


Get security analysis settings for an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug version or ID of the enterprise. Use the enterprise’s slug name or its ID to specify it.

GithubApi.UpdateSecuritySettingsEnterprise


Update security and scanning settings for enterprise repositories.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise. Accepts the enterprise’s slug name or ID for identification.
  • enable_dependabot_alerts_for_new_repositories (boolean, optional) Set to true to automatically enable Dependabot alerts for new repositories.

GithubApi.ListEnterpriseDependabotAlerts


Get Dependabot alerts for enterprise-owned repositories.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise. This identifies the enterprise for which alerts are listed.
  • alert_severities (string, optional) A comma-separated list of alert severities to filter results. Options: low, medium, high, critical.
  • alert_state_filter (string, optional) Comma-separated list of alert states to filter by: dismissed, fixed, open. Only alerts with these states will be returned.
  • before_cursor (string, optional) Specify a cursor to fetch results before this point. Use the format provided in the Link header.
  • cursor_after (string, optional) A cursor to return results after a specific point. Use as given in the Link header for pagination.
  • ecosystem_list (string, optional) A comma-separated list of ecosystems to filter alerts. Options include: composer, go, maven, npm, nuget, pip, pub, rubygems, rust.
  • number_of_results_per_page_starting_first (integer, optional) Deprecated. Specifies the number of results per page (maximum 100), beginning with the first matching result. Avoid using with number_of_results_per_page_starting_last. Use results_per_page with paging_after_cursor instead.
  • package_filter (string, optional) A comma-separated list of package names. Specify to filter alerts by these packages.
  • results_per_page (integer, optional) The number of results to return per page, with a maximum of 100.
  • results_per_page_starting_from_last (integer, optional) Deprecated. Number of results per page (max 100), starting from the last matching result. Avoid using with ‘results_per_page_starting_from_first’.
  • sort_direction (string, optional) Specifies the sorting order of the results, either ascending (‘asc’) or descending (‘desc’).
  • sort_property_for_alerts (string, optional) Specifies the property to sort Dependabot alerts by. Options are ‘created’ (when the alert was created) or ‘updated’ (when the alert’s state last changed).
  • vulnerable_dependency_scope (string, optional) The scope of the vulnerable dependency to filter alerts by. Options: ‘development’, ‘runtime’.

GithubApi.ListSecretScanningAlertsForEnterprise


Retrieve secret scanning alerts for enterprise repositories.

Parameters

  • enterprise_identifier (string, required) The slug or ID of the enterprise. This identifies the specific enterprise to list alerts for.
  • alert_resolution_filters (string, optional) Comma-separated list of alert resolutions to filter by: false_positive, wont_fix, revoked, pattern_edited, pattern_deleted, used_in_tests.
  • alert_state_filter (string, optional) Specify if only ‘open’ or ‘resolved’ secret scanning alerts should be listed.
  • cursor_after (string, optional) A cursor for retrieving results after this point, as specified in the Link header.
  • cursor_before (string, optional) A cursor to fetch results before this point, as specified by the link header.
  • results_per_page (integer, optional) The number of results per page. Maximum is 100.
  • secret_types_to_return (string, optional) A comma-separated list of secret types to return. By default, all secret types are returned. Refer to GitHub’s secret scanning patterns documentation for supported types.
  • sort_by (string, optional) Specify ‘created’ to sort by alert creation date or ‘updated’ to sort by the last update or resolution date.
  • sort_direction (string, optional) Specify the direction (‘asc’ or ‘desc’) to sort the secret scanning alerts results.

GithubApi.GetGithubSecurityBillingInfo


Retrieve GitHub Advanced Security billing details for an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug or ID representing the enterprise name for security billing info.
  • results_page_number (integer, optional) Specify the page number of results to fetch. Use to navigate through paginated data.
  • results_per_page (integer, optional) The number of results per page to return. Maximum is 100.

GithubApi.ManageEnterpriseSecurityFeature


Enable or disable a security feature for an enterprise.

Parameters

  • enterprise_identifier (string, required) The slug version of the enterprise name or the enterprise ID.
  • security_feature (string, required) Specify the security feature to enable or disable. Options: ‘advanced_security’, ‘secret_scanning’, ‘secret_scanning_push_protection’.
  • set_enablement_status (string, required) Specify ‘enable_all’ to activate or ‘disable_all’ to deactivate the security feature for all repositories in the enterprise.

GithubApi.ListRecentGithubEvents


Retrieve recent public events from GitHub.

Parameters

  • page_number (integer, optional) The page number of the GitHub public event results to fetch.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.GetGithubFeeds


Retrieve available GitHub feeds for an authenticated user.

Parameters

This tool does not take any parameters.

GithubApi.ListUserGists


Lists a user’s gists or public gists if unauthenticated.

Parameters

  • page_number_to_fetch (integer, optional) Specify the page number of the results to fetch.
  • results_per_page (integer, optional) Specify the number of gists to return per page. Maximum is 100.
  • show_gists_since (string, optional) Show gists updated after the specified time in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

GithubApi.CreateGist


Create a new gist with one or more files on GitHub.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListRecentPublicGists


Retrieve the most recently updated public gists.

Parameters

  • result_page_number (integer, optional) Page number to fetch the results from. Use for pagination.
  • results_per_page (integer, optional) Specifies the number of gists to display per page. Maximum allowed is 100.
  • updated_since (string, optional) A timestamp in ISO 8601 format to filter gists updated after this time.

GithubApi.ListStarredGists


Retrieve the authenticated user’s starred gists.

Parameters

  • results_page_number (integer, optional) Specifies which page of results to fetch for the user’s starred gists.
  • results_per_page (integer, optional) Specify the number of results per page. Maximum allowed is 100.
  • updated_since_time (string, optional) Only show gists updated after this time. Use ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

GithubApi.DeleteGithubGist


Delete a GitHub gist by its ID.

Parameters

  • gist_identifier (string, required) The unique identifier for the GitHub gist to be deleted.

GithubApi.GetGithubGist


Retrieve details of a specific GitHub gist using its ID.

Parameters

  • gist_identifier (string, required) The unique identifier for the GitHub gist you want to retrieve.

GithubApi.UpdateGithubGist


Update a GitHub gist’s description and files.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • gist_unique_identifier (string, optional) The unique identifier of the GitHub gist to be updated. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListGistComments


Retrieve comments for a specific GitHub gist.

Parameters

  • gist_identifier (string, required) Provide the unique identifier of the gist for which comments are to be listed.
  • result_page_number (integer, optional) Specifies the page number to fetch from the list of gist comments.
  • results_per_page (integer, optional) The number of comments to return per page, with a maximum of 100.

GithubApi.CreateGistComment


Create a comment on a GitHub gist.

Parameters

  • comment_text (string, required) The text content of the comment to be added to the gist.
  • gist_unique_identifier (string, required) The unique identifier of the gist to comment on.

GithubApi.DeleteGistComment


Delete a comment from a GitHub gist.

Parameters

  • comment_identifier (integer, required) The unique identifier of the comment to be deleted.
  • gist_identifier (string, required) The unique identifier for the specific GitHub gist from which the comment is to be deleted.

GithubApi.GetGistComment


Retrieve a specific comment from a GitHub gist.

Parameters

  • comment_id (integer, required) Unique identifier for the gist comment to retrieve details for.
  • gist_unique_id (string, required) The unique identifier for the gist needed to retrieve a specific comment.

GithubApi.UpdateGistComment


Update an existing comment on a GitHub gist.

Parameters

  • comment_identifier (integer, required) The unique identifier of the comment to update.
  • comment_text (string, required) The text content of the gist comment to be updated.
  • gist_identifier (string, required) The unique identifier for the GitHub gist you want to update a comment on.

GithubApi.ListGistCommits


Retrieve the commit history of a specified GitHub gist.

Parameters

  • gist_identifier (string, required) The unique identifier of the gist for which to list commits.
  • results_page_number (integer, optional) Specify the page number of results to fetch for pagination. Useful for accessing more than the default result set.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.

GithubApi.ListGistForks


Retrieve a list of forks for a specific gist.

Parameters

  • gist_unique_identifier (string, required) The unique identifier of the gist to retrieve forks information from.
  • results_page_number (integer, optional) Specify the page number of the results you want to fetch. Used for pagination.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100 allowed.

GithubApi.ForkGist


Fork a GitHub gist to your account.

Parameters

  • gist_unique_identifier (string, required) The unique identifier of the GitHub gist to be forked. This is required to specify which gist to duplicate.

GithubApi.UnstarGithubGist


Unstar a GitHub gist by its ID.

Parameters

  • gist_identifier (string, required) The unique identifier for the GitHub gist to be unstarred.

GithubApi.CheckIfGistIsStarred


Determine if a specific gist is starred on GitHub.

Parameters

  • gist_identifier (string, required) The unique identifier for the gist to check if it is starred.

GithubApi.StarGithubGist


Star a gist on GitHub using its gist ID.

Parameters

  • gist_unique_id (string, required) The unique identifier of the gist to be starred on GitHub.

GithubApi.GetGistRevision


Retrieve a specific revision of a GitHub gist.

Parameters

  • gist_identifier (string, required) The unique identifier of the GitHub gist to retrieve a specific revision.
  • revision_sha (string, required) The SHA hash of the specific gist revision to retrieve.

GithubApi.ListGitignoreTemplates


Retrieve all available .gitignore templates from GitHub.

Parameters

This tool does not take any parameters.

GithubApi.FetchGitignoreTemplate


Fetches the raw .gitignore template by name.

Parameters

  • gitignore_template_name (string, required) The name of the .gitignore template to fetch from GitHub. This is required to specify which template’s raw content to retrieve.

GithubApi.ListGithubAppAccessibleRepos


List repositories accessible to a GitHub app installation.

Parameters

  • results_page_number (integer, optional) Page number of the results to fetch.
  • results_per_page (integer, optional) The number of repositories to include on each page of results. Maximum is 100.

GithubApi.RevokeGithubInstallationToken


Revoke your GitHub installation access token.

Parameters

This tool does not take any parameters.

GithubApi.ListGithubIssues


Get issues assigned to you across all GitHub repositories.

Parameters

  • include_collaborative_repositories (boolean, optional) Include issues from collaborative repositories. Set to true to filter issues where you have collaborative access.
  • include_owned_repositories (boolean, optional) Set to true to include issues from repositories owned by the authenticated user.
  • include_pull_requests (boolean, optional) Set to true to include pull requests in the issues list.
  • issue_filter_type (string, optional) Specifies the type of issues to return: assigned, created, mentioned, subscribed, repos, or all.
  • issue_labels (string, optional) Comma-separated list of label names to filter issues. Example: ‘bug,ui,@high’.
  • issue_state (string, optional) Specifies the state of issues to retrieve: open, closed, or all.
  • organization_repositories (boolean, optional) Include issues from organization repositories when set to true. If false, include issues from all repositories.
  • page_number (integer, optional) The specific page of results to fetch. Use this for pagination to navigate through large list of issues.
  • results_per_page (integer, optional) The number of results per page, maximum is 100.
  • sort_direction (string, optional) Specifies the order of sorting for the results. Use ‘asc’ for ascending and ‘desc’ for descending.
  • sort_issues_by (string, optional) Specify the criteria to sort issues by: ‘created’, ‘updated’, or ‘comments’.
  • updated_since_timestamp (string, optional) Show issues updated after this timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

GithubApi.GetCommonlyUsedLicenses


Fetch a list of commonly used software licenses.

Parameters

  • only_featured_licenses (boolean, optional) Set to true to return only featured licenses.
  • results_page_number (integer, optional) Page number of the results to fetch. Use to navigate through pages of results.
  • results_per_page (integer, optional) Specify the number of licenses to display per page, with a maximum of 100.

GithubApi.GetGithubLicense


Retrieve a specific GitHub license by its key.

Parameters

  • license_key (string, required) The key of the GitHub license to retrieve information about.

GithubApi.RenderMarkdown


Convert Markdown content to HTML rendering.

Parameters

  • markdown_text (string, required) The Markdown text to convert into HTML format.
  • rendering_mode (string, optional) Specifies the rendering mode: ‘markdown’ for plain Markdown or ‘gfm’ for GitHub Flavored Markdown.
  • repository_context (string, optional) The repository context for linking references in gfm mode (e.g., ‘octo-org/octo-repo’).

GithubApi.RenderMarkdownPlain


Convert Markdown text to rendered plain text format.

Parameters

This tool does not take any parameters.

GithubApi.GetGithubEnterpriseMetaInfo


Retrieve GitHub Enterprise Server meta information.

Parameters

This tool does not take any parameters.

GithubApi.ListRepoNetworkPublicEvents


Retrieve public events for a network of repositories.

Parameters

  • repository_name (string, required) The name of the repository. This value is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. This value is not case sensitive.
  • results_page_number (integer, optional) Specify the page number of results to retrieve. Use this to navigate through paginated results.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.ListUserNotifications


Retrieve notifications for the authenticated GitHub user.

Parameters

  • filter_notifications_before_date (string, optional) Only show notifications updated before the specified ISO 8601 timestamp (YYYY-MM-DDTHH:MM:SSZ).
  • include_read_notifications (boolean, optional) Set to true to include notifications marked as read in the results.
  • notifications_since_timestamp (string, optional) Return notifications updated after this timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
  • only_show_participating_notifications (boolean, optional) If true, only shows notifications where the user is directly participating or mentioned.
  • results_page_number (integer, optional) Specify the page number of the notification results to fetch.
  • results_per_page (integer, optional) The number of notifications to display per page, with a maximum limit of 50.

GithubApi.MarkGithubNotificationsAsRead


Mark all GitHub notifications as read for the current user.

Parameters

  • mark_notifications_as_read (boolean, optional) A boolean flag to set notifications as read. True marks notifications as read.
  • notifications_last_read_timestamp (string, optional) A timestamp marking the last time notifications were checked. Notifications updated since this time won’t be marked as read. Use ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. Leave empty to mark all as read.

GithubApi.GetGithubNotificationThread


Retrieve information about a GitHub notification thread.

Parameters

  • notification_thread_id (integer, required) The unique identifier of the notification thread, returned in the id field when retrieving notifications.

GithubApi.MarkGithubThreadAsRead


Mark a GitHub thread notification as read.

Parameters

  • notification_thread_id (integer, required) The unique identifier for the GitHub notification thread to be marked as read. Obtain this from the id field when retrieving notifications.

GithubApi.MuteGithubThreadNotifications


Mute all future notifications for a GitHub thread.

Parameters

  • notification_thread_id (integer, required) The unique identifier for the specific GitHub notification thread to mute. Obtain from the id field of fetched notifications.

GithubApi.CheckThreadSubscription


Check if the authenticated user is subscribed to a thread.

Parameters

  • notification_thread_id (integer, required) The unique identifier of the notification thread, retrieved from notification data.

GithubApi.ManageGithubThreadNotifications


Manage GitHub notifications for specific threads.

Parameters

  • notification_thread_id (integer, required) The unique ID of the notification thread, as retrieved from the GitHub notifications API.
  • ignore_thread_notifications (boolean, optional) Set to true to block all notifications from a thread. Use false to allow notifications.

GithubApi.GetOctocatAsciiArt


Retrieve the octocat as ASCII art.

Parameters

  • speech_bubble_text (string, optional) Text to display in Octocat’s speech bubble. Provide a string with the desired message.

GithubApi.ListGithubOrganizations


Retrieve a list of GitHub organizations.

Parameters

  • organization_id_since (integer, optional) Only return organizations with an ID greater than this value to paginate results.
  • results_per_page (integer, optional) Specifies the number of results to return per page, with a maximum value of 100.

GithubApi.ListGithubCustomRoles


Retrieve custom repository roles for a GitHub organization.

Parameters

  • organization_id (string, required) The unique identifier of the GitHub organization to list custom roles for.

GithubApi.GetGithubOrgInfo


Retrieve detailed information about a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization to retrieve information for. It is not case sensitive.

GithubApi.UpdateGithubOrganization


Update a GitHub organization’s profile and member privileges.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • organization_name (string, optional) The GitHub organization name. This is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.FetchOrgActionsCacheUsage


Fetches GitHub Actions cache usage for a specified organization.

Parameters

  • organization_name (string, required) The name of the organization. It should not be case sensitive.

GithubApi.GetGithubActionsCacheUsageForOrg


Retrieve GitHub Actions cache usage for an organization’s repositories.

Parameters

  • organization_name (string, required) The name of the organization to retrieve cache usage for. This is not case sensitive.
  • page_number (integer, optional) Specify the page number of the results to fetch. This is useful for paginated data retrieval.
  • results_per_page (integer, optional) The number of results to return per page, with a maximum of 100 entries.

GithubApi.GetOidcCustomSubTemplateForOrg


Retrieves the OIDC subject claim customization template for an organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization for which you want to retrieve the OIDC customization template. The name is not case sensitive.

GithubApi.UpdateGithubOidcTemplate


Update OIDC custom subject claim template for GitHub organization.

Parameters

  • include_claim_keys (array[string], required) Array of unique strings for OIDC claim keys with alphanumeric characters and underscores.
  • organization_name (string, required) The name of the GitHub organization. Case insensitive.

GithubApi.GetGithubActionsPermissionsForOrganization


Retrieve GitHub Actions permissions for an organization.

Parameters

  • organization_name (string, required) The organization name for which to retrieve GitHub Actions permissions. The name is not case sensitive.

GithubApi.ConfigureGithubActionsPermissions


Configure GitHub Actions permissions for an organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • repository_execution_policy (string, required) Specifies which repositories in the organization are allowed to run GitHub Actions. Options: ‘all’, ‘none’, ‘selected’.
  • allowed_actions_policy (string, optional) Specifies the permissions policy for actions: ‘all’, ‘local_only’, or ‘selected’.

GithubApi.ListActionsEnabledRepos


Retrieve repositories enabled for GitHub Actions in an organization.

Parameters

  • organization_name (string, required) The name of the organization for which to list GitHub Actions-enabled repositories. This field is not case sensitive.
  • result_page_number (integer, optional) Page number of the results to fetch. Use for paginating through results.
  • results_per_page (integer, optional) The maximum number of repositories to return per page (max 100).

GithubApi.SetGithubActionsReposForOrg


Configure selected repositories for GitHub Actions in an organization.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive.
  • repository_ids_for_github_actions (array[integer], required) An array of repository IDs to enable for GitHub Actions within the organization. Each ID should be an integer.

GithubApi.DisableGithubActionsRepo


Disable GitHub Actions for a specific repo in an organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • repository_unique_id (integer, required) The unique integer identifier of the repository to be disabled for GitHub Actions.

GithubApi.EnableGithubActionsForRepo


Enable a repository for GitHub Actions in an organization.

Parameters

  • organization_name (string, required) The name of the organization to enable GitHub Actions for, not case sensitive.
  • repository_unique_identifier (integer, required) The unique identifier of the repository to enable for GitHub Actions.

GithubApi.GetAllowedActionsForOrganization


Retrieve the allowed GitHub Actions for an organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. This is not case sensitive.

GithubApi.SetAllowedActionsForOrganization


Set allowed GitHub Actions for an organization.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • organization_name (string, optional) The name of the GitHub organization. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.GetDefaultGithubActionsWorkflowPermissions


Fetches default workflow permissions for an organization’s GitHub Actions.

Parameters

  • organization_name (string, required) The organization name for which to fetch the workflow permissions. It is not case sensitive.

GithubApi.SetDefaultGithubActionsPermissions


Configure default GitHub Actions permissions for an organization.

Parameters

  • organization_name (string, required) The name of the organization. Not case sensitive.
  • allow_actions_to_approve_pull_requests (boolean, optional) Allow GitHub Actions to approve pull requests. Enabling this may pose a security risk.
  • default_github_token_permissions (string, optional) The default permissions granted to the GITHUB_TOKEN when running workflows. Options are ‘read’ or ‘write’.

GithubApi.ListRequiredWorkflows


Retrieve all required workflows in a GitHub organization.

Parameters

  • organization_name (string, required) The GitHub organization name. Note: The name is not case sensitive. This identifies which organization’s workflows to list.
  • results_page_number (integer, optional) The specific page number of required workflow results to fetch.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.

GithubApi.CreateGithubRequiredWorkflow


Create a required workflow in a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • repository_identifier (string, required) The ID of the repository that contains the workflow file. Use this to specify which repository’s workflow file should be used.
  • workflow_file_path (string, required) Path of the workflow file to set as required for the organization.
  • repository_ids_for_selected_scope (array[integer], optional) List of repository IDs to enable the workflow when scope is ‘selected’.
  • workflow_scope (string, optional) Specify whether to enable the required workflow for all repositories or only selected ones within the organization. Use ‘all’ for all repositories and ‘selected’ when specifying particular repositories.

GithubApi.DeleteGithubRequiredWorkflow


Deletes a required workflow in a GitHub organization.

Parameters

  • organization_name (string, required) The GitHub organization name. This is case insensitive.
  • workflow_identifier (integer, required) The unique identifier of the required workflow to be deleted.

GithubApi.GetRequiredWorkflow


Retrieve a required workflow for a GitHub organization.

Parameters

  • organization_name (string, required) The GitHub organization name. This name is not case sensitive.
  • workflow_id (integer, required) The unique identifier of the workflow to retrieve for the organization.

GithubApi.UpdateGithubRequiredWorkflow


Update a required workflow in a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • required_workflow_identifier (integer, required) The unique identifier for the required workflow to update in the organization.
  • repository_id_for_workflow (string, optional) The ID of the repository containing the workflow file to be updated.
  • repository_ids_for_workflow (array[integer], optional) List of repository IDs to enable the required workflow. Applicable only if scope is selected.
  • workflow_file_path (string, optional) Path to the workflow file to be set as a required workflow in the organization.
  • workflow_scope (string, optional) Specify the repository scope for enabling the workflow: ‘all’ for all repositories or ‘selected’ for specific ones within the organization.

GithubApi.ListRequiredWorkflowRepositories


List repositories configured for a required workflow.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive and identifies the organization within GitHub.
  • workflow_unique_identifier (integer, required) The unique identifier of the required workflow for which the repositories are to be listed.

GithubApi.SetGithubReposForRequiredWorkflow


Set repositories for a GitHub required workflow.

Parameters

  • organization_name (string, required) The GitHub organization name. Input is not case sensitive.
  • repository_ids_for_required_workflow (array[integer], required) An array of repository IDs for which the workflow is required. Provide each repository’s ID as an integer.
  • required_workflow_identifier (integer, required) The unique identifier for the required workflow you want to set for the repositories.

GithubApi.RemoveRepoFromRequiredWorkflow


Removes a repository from a GitHub required workflow.

Parameters

  • organization_name (string, required) The name of the organization. This is not case sensitive.
  • repository_identifier (integer, required) The unique identifier of the repository to be removed from the required workflow.
  • required_workflow_identifier (integer, required) The unique identifier of the required workflow to be removed.

GithubApi.AddRepoToRequiredWorkflow


Adds a repository to a GitHub required workflow.

Parameters

  • organization_name (string, required) The organization name for GitHub. It is not case sensitive.
  • repository_unique_identifier (integer, required) The unique identifier for the GitHub repository to be added to the required workflow.
  • required_workflow_identifier (integer, required) The unique integer ID of the required workflow to which the repository will be added.

GithubApi.ListRunnerGroupsForOrg


Retrieve self-hosted runner groups for a GitHub organization.

Parameters

  • organization_name (string, required) The GitHub organization’s name. This is not case sensitive.
  • repository_visibility_filter (string, optional) Specify the repository to filter runner groups that they are allowed to be used by.
  • results_page_number (integer, optional) Specify the page number of the results to fetch. Use an integer value.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.CreateRunnerGroupForOrg


Create a self-hosted runner group for an organization.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive.
  • runner_group_name (string, required) Name of the self-hosted runner group to be created. This should be a descriptive and distinct name within your organization.
  • accessible_repository_ids (array[integer], optional) List of repository IDs that can access the runner group.
  • allow_public_repositories (boolean, optional) Set to true to allow the runner group to be used by public repositories.
  • allowed_workflows (array[string], optional) List of workflows names the runner group is permitted to run. Considered only if ‘restricted_to_workflows’ is true.
  • restrict_to_selected_workflows (boolean, optional) Set to true to restrict the runner group to run only the workflows in the selected_workflows array.
  • runner_group_visibility (string, optional) Specify the visibility of the runner group: ‘selected’ for individual repositories, ‘all’ for all repositories, or ‘private’ for private repositories only.
  • runner_ids_to_add (array[integer], optional) List of runner IDs to include in the newly created runner group for the organization.

GithubApi.DeleteRunnerGroupFromOrganization


Delete a self-hosted runner group from an organization.

Parameters

  • organization_name (string, required) The name of the organization on GitHub. This is not case-sensitive.
  • runner_group_id (integer, required) The unique integer ID of the self-hosted runner group to delete.

GithubApi.GetSelfHostedRunnerGroupForOrg


Retrieve a specific self-hosted runner group for an organization.

Parameters

  • organization_name (string, required) The organization name on GitHub. It is not case sensitive.
  • runner_group_identifier (integer, required) Unique identifier for the self-hosted runner group. It should be an integer.

GithubApi.UpdateRunnerGroupSettings


Update name and visibility of a runner group in an organization.

Parameters

  • organization_name (string, required) The name of the organization. The name is not case sensitive.
  • runner_group_id (integer, required) Unique identifier of the self-hosted runner group being updated.
  • runner_group_name (string, required) The new name for the self-hosted runner group in the organization.
  • allow_public_repository_usage (boolean, optional) Set to true to allow the runner group to be used by public repositories.
  • allowed_workflow_list (array[string], optional) List of workflows the runner group can run. Ignored unless workflows are restricted.
  • restrict_runner_group_to_workflows (boolean, optional) Set to true to restrict the runner group to running only the workflows specified in selected_workflows.
  • runner_group_visibility (string, optional) Specifies the visibility of the runner group. Options: ‘selected’ for individual repositories, ‘all’ for all repositories, ‘private’ for all private repositories.

GithubApi.ListReposWithRunnerGroupAccess


Retrieve repositories with access to a runner group in an organization.

Parameters

  • organization_name (string, required) The case-insensitive name of the organization.
  • runner_group_id (integer, required) Unique identifier of the self-hosted runner group to fetch repository access details.
  • result_page_number (integer, optional) Page number of the results to fetch.
  • results_per_page (integer, optional) The number of results to retrieve per page, with a maximum of 100.

GithubApi.SetGithubRunnerGroupRepoAccess


Update repository access for a GitHub runner group.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • repository_ids_for_access (array[integer], required) List of repository IDs allowed to access the self-hosted runner group.
  • runner_group_id (integer, required) Unique identifier for the self-hosted runner group in the organization.

GithubApi.RemoveRepoAccessFromRunnerGroup


Remove repository access from a self-hosted runner group.

Parameters

  • organization_name (string, required) The name of the organization. This input is not case sensitive.
  • repository_unique_id (integer, required) The unique identifier of the repository to remove access from the runner group. Must be an integer.
  • runner_group_unique_id (integer, required) Unique identifier of the self-hosted runner group. This is required to specify which runner group’s access will be modified.

GithubApi.AddRepoAccessToRunnerGroup


Add repository access to a self-hosted runner group.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive.
  • repository_unique_id (integer, required) The unique identifier of the repository to add access for.
  • runner_group_identifier (integer, required) Provide the unique integer identifier for the self-hosted runner group.

GithubApi.ListOrgRunnerGroupRunners


List self-hosted runners in an organization group.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive.
  • runner_group_id (integer, required) Unique identifier of the self-hosted runner group to fetch runners for.
  • result_page_number (integer, optional) Specifies the page number of results to be fetched. Used for pagination.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.

GithubApi.UpdateSelfHostedRunnersForOrgGroup


Update self-hosted runners in an organization’s runner group.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive.
  • runner_group_id (integer, required) Unique identifier for the self-hosted runner group to update.
  • runner_ids_to_add (array[integer], required) Array of integer IDs representing the runners to be added to the organization runner group.

GithubApi.RemoveRunnerFromGroup


Remove a self-hosted runner from an organization’s group.

Parameters

  • organization_name (string, required) The name of the GitHub organization. This value is not case sensitive.
  • runner_group_identifier (integer, required) Unique identifier of the self-hosted runner group for removal action.
  • runner_id (integer, required) Unique identifier of the self-hosted runner to remove from the group.

GithubApi.AddRunnerToGroup


Add a self-hosted runner to an organization’s runner group.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • runner_group_identifier (integer, required) The unique integer identifier of the self-hosted runner group to which the runner will be added.
  • runner_identifier (integer, required) Unique identifier of the self-hosted runner to be added to the group.

GithubApi.ListOrgSelfHostedRunners


Retrieve self-hosted runners for a GitHub organization.

Parameters

  • organization_name (string, required) The GitHub organization’s name. This is case insensitive.
  • results_page_number (integer, optional) Specify the page number of the results to fetch. For paginated data retrieval.
  • results_per_page (integer, optional) Specify the number of results to return per page, with a maximum of 100.

GithubApi.ListGithubRunnerBinariesForOrg


Retrieve downloadable binaries for GitHub runner application.

Parameters

  • organization_name (string, required) The name of the GitHub organization. The organization name is not case sensitive.

GithubApi.CreateOrgRunnerRegistrationToken


Generate a registration token for GitHub organization runners.

Parameters

  • organization_name (string, required) The name of the GitHub organization. This is not case-sensitive.

GithubApi.GetOrgRunnerRemovalToken


Get a token to remove a self-hosted runner from an organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.

GithubApi.RemoveSelfHostedRunnerFromOrg


Forcefully remove a self-hosted runner from an organization.

Parameters

  • organization_name (string, required) The GitHub organization’s name. This input is not case sensitive.
  • runner_id (integer, required) Unique identifier of the self-hosted GitHub runner to be removed.

GithubApi.GetOrgSelfHostedRunner


Get details of a self-hosted runner for an organization.

Parameters

  • organization_name (string, required) The GitHub organization name (not case sensitive).
  • runner_id (integer, required) Unique integer identifier of the self-hosted runner within the organization.

GithubApi.RemoveAllCustomLabelsRunnerOrg


Remove all custom labels from an organization’s self-hosted runner.

Parameters

  • organization_name (string, required) The GitHub organization name, not case sensitive.
  • runner_id (integer, required) The unique identifier of the self-hosted runner. This is required to target the specific runner for label removal in an organization.

GithubApi.ListRunnerLabelsForOrg


Retrieve labels for a self-hosted runner in an organization.

Parameters

  • organization_name (string, required) The name of the organization. This parameter is not case sensitive.
  • runner_unique_id (integer, required) The unique identifier for the self-hosted runner. It must be an integer.

GithubApi.AddLabelsToRunner


Add custom labels to a self-hosted runner in an organization.

Parameters

  • custom_labels_to_add (array[string], required) An array of strings representing the custom labels to add to the self-hosted runner. Each label is a string.
  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • runner_id (integer, required) Unique identifier of the self-hosted runner to which labels are added.

GithubApi.SetCustomLabelsRunnerOrg


Set custom labels for a self-hosted runner in an organization.

Parameters

  • custom_labels (array[string], required) An array of custom label names to assign to the runner. Pass an empty array to remove all labels.
  • organization_name (string, required) The name of the organization. This is not case sensitive.
  • runner_identifier (integer, required) Unique identifier of the self-hosted runner to set custom labels.

GithubApi.DeleteCustomRunnerLabel


Remove a custom label from a self-hosted runner in an organization.

Parameters

  • custom_label_name (string, required) The name of the custom label to remove from the self-hosted runner.
  • organization_name (string, required) The case-insensitive name of the organization.
  • runner_identifier (integer, required) Unique identifier of the self-hosted runner. Must be an integer.

GithubApi.ListOrganizationSecrets


Retrieve all organization secrets without values.

Parameters

  • organization_name (string, required) The GitHub organization name to list secrets for. This name is not case-sensitive.
  • page_number (integer, optional) Page number of the results to fetch for pagination purposes.
  • results_per_page (integer, optional) Specify the number of secrets to list per page, with a maximum of 100.

GithubApi.GetOrganizationPublicKey


Retrieve the public key for GitHub organization secrets encryption.

Parameters

  • organization_name (string, required) The GitHub organization name. This is not case sensitive.

GithubApi.DeleteGithubOrgSecret


Deletes a secret from a GitHub organization.

Parameters

  • organization_name (string, required) The GitHub organization name, not case sensitive.
  • secret_name (string, required) The name of the secret to be deleted from the GitHub organization. Ensure the name is correct and case insensitive.

GithubApi.GetGithubOrgSecret


Retrieve details of a GitHub organization secret.

Parameters

  • organization_name (string, required) The GitHub organization name. This name is not case sensitive.
  • secret_name (string, required) The name of the secret within the GitHub organization. It identifies which secret’s details to retrieve.

GithubApi.CreateOrUpdateOrgSecret


Create or update an organization’s secret on GitHub.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • repository_visibility (string, required) Specifies which type of organization repositories have access to the organization secret. Choices are ‘all’, ‘private’, or ‘selected’.
  • secret_name (string, required) The name of the secret. It’s used to identify the secret within the organization.
  • encrypted_secret_value (string, optional) The secret’s encrypted value using LibSodium and a GitHub org public key.
  • encryption_key_id (string, optional) The ID of the public key used to encrypt the secret. This must match the key used during encryption.
  • repository_ids_for_secret_access (array[integer], optional) Array of repository ids allowed access to the secret. Provide only when visibility is selected.

GithubApi.ListReposWithOrgSecret


Retrieve repositories with access to a specific organization secret.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive.
  • secret_name (string, required) The name of the secret for which to list selected repositories. Case insensitive.
  • result_page_number (integer, optional) Page number of the results to fetch for pagination.
  • results_per_page (integer, optional) The number of repositories to return per page, with a maximum of 100 allowed.

GithubApi.UpdateOrgSecretRepos


Update repositories for an organization secret.

Parameters

  • organization_name (string, required) The organization’s name for the secret. It is not case sensitive.
  • repository_ids_for_access (array[integer], required) An array of repository IDs allowed to access the organization secret when visibility is set to ‘selected’.
  • secret_name (string, required) The name of the organization secret to update repositories for. This value is case-insensitive.

GithubApi.RemoveRepoFromOrgSecret


Remove a repository from an organization’s secret access.

Parameters

  • organization_name (string, required) The organization name. It is not case sensitive.
  • repository_id (integer, required) The unique ID of the repository to be removed from the organization’s secret.
  • secret_name (string, required) The name of the organization secret to remove the repository from.

GithubApi.AddRepoToOrgSecret


Add a repository to an organization’s secret.

Parameters

  • organization_name (string, required) The organization’s name. It is not case sensitive.
  • repository_id (integer, required) The unique integer ID of the repository to be added to the organization secret. This ID specifies which repository you want to include.
  • secret_name (string, required) The name of the organization secret to which the repository will be added.

GithubApi.ListOrgVariables


Retrieve all variables for a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • result_page_number (integer, optional) Specify the page number of the organization variables to retrieve.
  • results_per_page (integer, optional) The number of results to display per page, up to a maximum of 30.

GithubApi.CreateGithubOrgVariable


Create an organization variable for GitHub Actions workflows.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive.
  • repository_access_visibility (string, required) Type of repositories in the organization that can access the variable: ‘all’, ‘private’, or ‘selected’.
  • variable_name (string, required) The name of the organization variable to be created. This name will be used to reference the variable in workflows.
  • variable_value (string, required) The value assigned to the organization variable in GitHub.
  • repository_ids_with_variable_access (array[integer], optional) List of repository IDs allowed to access the organization variable. Required when ‘visibility’ is ‘selected’.

GithubApi.DeleteGithubOrgVariable


Delete an organization’s variable on GitHub.

Parameters

  • organization_name (string, required) The name of the GitHub organization. This is not case sensitive.
  • variable_name (string, required) The name of the organization variable to delete. It should be a string matching the variable’s identifier.

GithubApi.GetOrganizationVariable


Retrieve a specific variable from a GitHub organization.

Parameters

  • organization_name (string, required) The GitHub organization name. This value is not case sensitive.
  • variable_name (string, required) The exact name of the specific variable to retrieve from the organization.

GithubApi.UpdateGithubOrgActionVariable


Update an organization variable in GitHub Actions.

Parameters

  • organization_name (string, required) The GitHub organization’s name. This name is not case sensitive.
  • repository_ids_for_selected_visibility (array[integer], optional) An array of repository IDs that can access the organization variable. Only provide when visibility is set to selected.
  • repository_visibility_type (string, optional) Specifies which repositories in the organization can access the variable. Options: all, private, selected.
  • var_name (string, optional) Specify the name of the GitHub organization variable to update.
  • variable_name (string, optional) The name of the organization variable to update. This is case-insensitive.
  • variable_value (string, optional) The new value to assign to the organization variable. It must be a string.

GithubApi.ListReposWithOrgVariableAccess


Retrieve repos accessing an organization’s variable.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive.
  • variable_name (string, required) The name of the organization variable to check for repository access.
  • result_page_number (integer, optional) The page number of repository results to retrieve. Use this to navigate through results.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.SetOrgVariableRepos


Replace repositories for an organization’s variable.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive.
  • repository_ids_for_access (array[integer], required) An array of integers representing the repository IDs that can access the organization variable. Ensure the IDs are valid and accessible.
  • variable_name (string, required) The name of the organization variable to be updated.

GithubApi.RemoveRepoFromOrgVariable


Remove a repository from a GitHub organization variable.

Parameters

  • organization_name (string, required) The name of the GitHub organization. This is not case sensitive.
  • repository_id (integer, required) The ID of the repository to be removed from the organization variable. This should be an integer value identifying the repository.
  • variable_name (string, required) The name of the organization variable to remove the repository from.

GithubApi.AddRepoToOrgVariable


Add a repository to an organization’s selected variables.

Parameters

  • organization_name (string, required) The name of the organization. This is not case sensitive.
  • repository_id (integer, required) The integer ID of the repository to be added to the organization variable. This is a required field.
  • variable_name (string, required) The name of the organization variable to which the repository will be added.

GithubApi.RemoveOrgAnnouncementBanner


Remove the announcement banner for a GitHub organization.

Parameters

  • organization_name (string, required) The GitHub organization’s name. This is not case sensitive.

GithubApi.GetOrgAnnouncementBanner


Retrieve the announcement banner for a specific organization.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive.

GithubApi.SetOrgAnnouncementBanner


Sets the announcement banner for a GitHub organization.

Parameters

  • announcement_text (string, required) The announcement text formatted in GitHub Flavored Markdown. See GitHub’s basic writing syntax for details.
  • organization_name (string, required) The name of the GitHub organization. The name is not case sensitive.
  • announcement_expiry_time (string, optional) The expiry time for the announcement, in ISO 8601 format. Use null or empty for no expiry.

GithubApi.GetOrgAuditLog


Retrieve the audit log for a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • event_order (string, optional) Specify the order of audit log events. Use ‘desc’ for newest first or ‘asc’ for oldest first. Default is ‘desc’.
  • event_types_to_include (string, optional) Specify the event types to include: ‘web’ for web events, ‘git’ for Git events, or ‘all’ for both. Default is ‘web’.
  • results_page_number (integer, optional) Specify the page number of results to fetch. Useful for navigating through paginated audit log entries.
  • results_per_page (integer, optional) Defines the number of audit log events returned per page, with a maximum of 100.
  • search_events_after_cursor (string, optional) Cursor for searching events after a specific point, as given in the Link header.
  • search_events_before_cursor (string, optional) A cursor to search for events before this point. Use to limit results to events occurring before a specific reference.
  • search_phrase (string, optional) A string to filter audit log events based on specific criteria. This can help in retrieving older events. Refer to the GitHub documentation for more details on searching the audit log.

GithubApi.ListOrgCodeScanningAlerts


Retrieve code scanning alerts for an organization’s repositories.

Parameters

  • organization_name (string, required) The name of the organization. This field is not case sensitive.
  • alert_severity (string, optional) Specifies the severity of code scanning alerts to be returned. Acceptable values include ‘critical’, ‘high’, ‘medium’, ‘low’, ‘warning’, ‘note’, and ‘error’.
  • alert_state (string, optional) Filter code scanning alerts by their state: ‘open’, ‘closed’, ‘dismissed’, or ‘fixed’.
  • code_scanning_tool_guid (string, optional) The GUID of a specific code scanning tool. Use this to filter alerts by the tool. Must not use with tool_name.
  • cursor_before (string, optional) A cursor used to fetch results occurring before this point in the data timeline.
  • filter_by_tool_name (string, optional) Specify the name of a code scanning tool to filter results. Only alerts from this tool will be listed. Ensure not to use tool_guid if this is specified.
  • results_after_cursor (string, optional) A cursor indicating the point after which to retrieve results. Used for pagination.
  • results_page_number (integer, optional) The page number of the results to fetch from the list of code scanning alerts.
  • results_per_page (integer, optional) The number of results per page, with a maximum limit of 100.
  • sort_direction (string, optional) Specifies the sort order of the results. Use ‘asc’ for ascending or ‘desc’ for descending.
  • sort_results_by (string, optional) Specifies the property by which to sort the results. Options are ‘created’ or ‘updated’.

GithubApi.ListDependabotAlertsForOrganization


Lists Dependabot alerts for an organization.

Parameters

  • organization_name (string, required) The organization name for which to list Dependabot alerts. This name is not case sensitive.
  • alert_severity_filter (string, optional) Comma-separated severities to filter alerts. Options: low, medium, high, critical.
  • alert_states (string, optional) Comma-separated list of alert states to filter by. Options: dismissed, fixed, open.
  • deprecated_first_results_page_size (integer, optional) Deprecated. Use per_page with after instead. Specifies the number of results per page, up to 100, starting from the first matching result. Avoid using with last.
  • deprecated_last_results_per_page (integer, optional) Deprecated. Use this to specify the number of results per page (max 100) from the last matching result. Cannot be used with ‘first’.
  • ecosystem_list (string, optional) Comma-separated ecosystems to filter alerts. Options: composer, go, maven, npm, nuget, pip, pub, rubygems, rust.
  • package_names (string, optional) A comma-separated list of package names. Only alerts for these specified packages will be returned.
  • paginate_after_cursor (string, optional) A cursor indicating the point to continue the listing from, based on the Link header.
  • results_before_cursor (string, optional) A cursor indicating to search for Dependabot alerts before this position.
  • results_per_page (integer, optional) Specifies the number of Dependabot alerts to return per page, with a maximum of 100.
  • sort_by_property (string, optional) Sort results by created (alert creation) or updated (state change).
  • sort_direction (string, optional) The order to sort the results, either ascending (‘asc’) or descending (‘desc’).
  • vulnerable_dependency_scope (string, optional) Specify the scope of the vulnerable dependency as either ‘development’ or ‘runtime’. Only alerts with this scope will be returned.

GithubApi.ListGithubOrgSecrets


Retrieve Dependabot organization secrets from GitHub.

Parameters

  • organization_name (string, required) The GitHub organization name. It is not case sensitive.
  • results_page_number (integer, optional) Page number to fetch results from in the paginated list of organization secrets.
  • results_per_page (integer, optional) The number of secrets to list per page, with a maximum of 100.

GithubApi.GetOrgPublicKey


Retrieve the public key for encrypting GitHub Dependabot secrets.

Parameters

  • organization_name (string, required) The GitHub organization name, not case sensitive.

GithubApi.RemoveGithubOrgSecret


Delete a secret from a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. This is not case sensitive.
  • secret_name_to_delete (string, required) The name of the secret to delete from the GitHub organization.

GithubApi.GetOrgSecretInfo


Retrieve details of an organization’s secret without revealing the encrypted value.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • organization_secret_name (string, required) The name of the secret for the organization. It is required to identify the specific secret without revealing its encrypted value. This name is not case sensitive.

GithubApi.UpdateGithubOrgSecret


Create or update a GitHub organization secret.

Parameters

  • organization_name (string, required) The name of the GitHub organization, not case sensitive.
  • repository_access_type (string, required) Determines which organization repositories can access the secret: ‘all’, ‘private’, or ‘selected’ (which requires specifying selected_repository_ids).
  • secret_name (string, required) The name of the secret to create or update. This should be a unique identifier for the secret within the organization.
  • encrypted_secret_value (string, optional) The secret value encrypted using LibSodium with the organization public key.
  • encryption_key_id (string, optional) The ID of the key used to encrypt the organization secret, required for security verification.
  • selected_repository_ids_to_include (array[string], optional) Array of repository IDs allowed to access the secret. Used when visibility is set to ‘selected’.

GithubApi.ListSelectedRepositoriesForSecret


Retrieve repositories with selected access for an org secret.

Parameters

  • organization_name (string, required) The name of the GitHub organization. This is not case sensitive. Required to identify the organization whose secret’s repository access is being queried.
  • secret_name (string, required) The name of the secret for which you wish to list selected repositories. It is case insensitive.
  • results_page_number (integer, optional) The page number of the results to fetch, used for pagination.
  • results_per_page (integer, optional) Number of results per page, up to a maximum of 100.

GithubApi.SetReposForOrgSecret


Update selected repos for an organization’s Dependabot secret.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • secret_name (string, required) The name of the organization secret to update the repository access for. This should match the name of an existing Dependabot secret.
  • selected_repository_ids (array[integer], required) List of repository IDs that can access the org secret. Use only when visibility is ‘selected’.

GithubApi.DeleteRepoFromOrgSecret


Remove a repository from a GitHub organization secret.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • repository_id (integer, required) The unique identifier of the repository to be removed from the organization secret.
  • secret_name (string, required) The name of the GitHub organization secret to remove the repository from.

GithubApi.AddRepositoryToSecret


Add a repository to a GitHub organization secret.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • repository_id_for_org_secret (integer, required) The ID of the repository to be added to the organization secret. This ID should be an integer.
  • secret_name (string, required) The name of the organization secret to which a repository will be added. This is case-insensitive.

GithubApi.ListPublicOrgEvents


List public events for a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • results_page_number (integer, optional) Page number of the results to fetch. Determines which set of results to return.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.

GithubApi.GetGithubExternalGroupInfo


Retrieve information about a GitHub external group’s usage.

Parameters

  • group_id (integer, required) The unique identifier of the group. Must be an integer.
  • organization_name (string, required) The name of the GitHub organization. The name is not case sensitive.

GithubApi.ListExternalGroupsForOrg


Retrieve external groups available in a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • group_name_filter (string, optional) Filter results to include only groups with names containing this text.
  • pagination_token (integer, optional) Token to specify the starting point for the next set of results.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum value of 100.

GithubApi.ListOrganizationWebhooks


Retrieve the webhooks for a specific organization on GitHub.

Parameters

  • organization_name (string, required) The GitHub organization name. This parameter is case insensitive.
  • result_page_number (integer, optional) The specific page number of results to retrieve from the list of organization webhooks.
  • results_per_page (integer, optional) The number of webhook results to display per page, with a maximum of 100.

GithubApi.CreateGithubOrgWebhook


Create a webhook for a GitHub organization.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • organization_name (string, optional) The name of the GitHub organization. This value is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.DeleteOrgWebhook


Delete a webhook from a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is case insensitive.
  • webhook_identifier (integer, required) The unique identifier of the webhook to be deleted. It should be provided as an integer.

GithubApi.GetOrgWebhookDetails


Retrieve details of a specific organization webhook.

Parameters

  • organization_name (string, required) The name of the GitHub organization, not case sensitive.
  • webhook_id (integer, required) The unique identifier for the organization’s webhook. This is an integer value used to specify which webhook details to retrieve.

GithubApi.UpdateGithubOrgWebhook


Update a webhook configured in a GitHub organization.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • organization_name (string, optional) The name of the GitHub organization; not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • webhook_identifier (integer, optional) The unique identifier of the webhook to be updated. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.GetOrgWebhookConfiguration


Retrieve webhook configuration for a GitHub organization.

Parameters

  • organization_name (string, required) The non-case-sensitive name of the GitHub organization.
  • webhook_hook_id (integer, required) The unique identifier of the organization’s webhook, provided as an integer.

GithubApi.UpdateOrgWebhookConfig


Update webhook configuration for a GitHub organization.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • organization_name (string, optional) The name of the GitHub organization to update. Case insensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • webhook_identifier (integer, optional) The unique identifier of the webhook to be updated. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.GetWebhookEventDeliveries


Retrieve webhook deliveries for an organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • webhook_hook_id (integer, required) The unique identifier of the webhook in the organization.
  • include_redeliveries (boolean, optional) Indicate whether to include repeated webhook deliveries in the results. Set to true to include.
  • pagination_start_cursor (string, optional) A cursor to indicate the starting delivery for fetching the page of deliveries. Useful for pagination purposes.
  • results_per_page (integer, optional) Specifies the number of webhook deliveries to be returned per page (maximum 100).

GithubApi.GetGithubWebhookDelivery


Retrieve a webhook delivery for a GitHub organization.

Parameters

  • hook_identifier (integer, required) The unique identifier of the webhook hook. This is an integer value used to specify which webhook’s delivery details to retrieve for the organization.
  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • webhook_delivery_id (integer, required) The unique identifier of the specific delivery to be retrieved. This should be an integer.

GithubApi.RedeliverWebhookDelivery


Redeliver an organization’s webhook delivery attempt.

Parameters

  • organization_name (string, required) The name of the organization. This is not case sensitive.
  • webhook_delivery_id (integer, required) The unique identifier of the webhook delivery to be redelivered.
  • webhook_hook_id (integer, required) The unique identifier of the webhook hook. Provide an integer value.

GithubApi.SendGithubHookPing


Triggers a ping event on a GitHub organization webhook.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • webhook_hook_id (integer, required) The unique integer ID of the GitHub organization webhook to ping.

GithubApi.GetGithubOrgInstallationInfo


Retrieve GitHub organization’s installation information.

Parameters

  • organization_name (string, required) The GitHub organization name. It is not case-sensitive.

GithubApi.OrganizationAppInstallations


Retrieve GitHub App installations for an organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • page_number_to_fetch (integer, optional) Page number of the results to fetch. Used for pagination in retrieving GitHub App installations.
  • results_per_page (integer, optional) The number of GitHub App installations to return per page, with a maximum of 100.

GithubApi.ListOrganizationIssuesForUser


Retrieve issues and pull requests for a user in an organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • issue_filter (string, optional) Specifies the type of issues to return: ‘assigned’, ‘created’, ‘mentioned’, ‘subscribed’, ‘all’, or ‘repos’.
  • issue_labels (string, optional) Comma-separated list of label names to filter issues. Example: bug,ui,@high.
  • issues_state (string, optional) Specify the state of issues to return: ‘open’, ‘closed’, or ‘all’.
  • result_page_number (integer, optional) Page number of results to fetch, used for pagination. Starts from 1.
  • results_per_page (integer, optional) The number of results to display per page (maximum 100).
  • sort_criteria (string, optional) Defines the attribute to sort the issues by. Options are ‘created’, ‘updated’, or ‘comments’.
  • sort_direction (string, optional) The direction to sort the results by. Accepted values are ‘asc’ for ascending and ‘desc’ for descending.
  • updated_since (string, optional) Filter to show notifications updated after this timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

GithubApi.ListOrgMembers


Retrieve members of a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization to list members from. It is not case sensitive.
  • filter_members (string, optional) Filter the list of members. Use ‘2fa_disabled’ to list members without two-factor authentication.
  • member_role_filter (string, optional) Filter members by their role in the organization (‘all’, ‘admin’, ‘member’).
  • page_number (integer, optional) Page number of the results to fetch. Use this to navigate through paginated results.
  • results_per_page (integer, optional) Number of results per page, with a maximum of 100.

GithubApi.RemoveOrganizationMember


Remove a user from an organization’s access list.

Parameters

  • github_user_handle (string, required) The GitHub user’s handle to be removed from the organization.
  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.

GithubApi.CheckUserMembershipInOrg


Checks if a user is a member of a GitHub organization.

Parameters

  • github_user_handle (string, required) The username or handle for the GitHub user account being checked for organization membership.
  • organization_name (string, required) The case-insensitive name of the GitHub organization to check membership against.

GithubApi.RemoveOrgMember


Remove a user’s membership from a GitHub organization.

Parameters

  • github_username (string, required) The GitHub username to remove from the organization; it is not case-sensitive.
  • organization_name (string, required) The case-insensitive name of the GitHub organization.

GithubApi.GetUserOrgMembershipStatus


Get a user’s membership status in an organization.

Parameters

  • github_user_handle (string, required) The handle for the GitHub user account to check membership status.
  • organization_name (string, required) The GitHub organization name. It is not case sensitive.

GithubApi.UpdateOrgMembership


Manage user membership for a GitHub organization.

Parameters

  • github_user_handle (string, required) The handle for the GitHub user account to be added or updated in the organization.
  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • user_role_in_organization (string, optional) Specify the user’s role in the organization. Options are ‘admin’ for organization owner, or ‘member’ for non-owner.

GithubApi.ListRecentGithubMigrations


Retrieve the latest GitHub migrations for an organization.

Parameters

  • organization_name (string, required) The GitHub organization name. This value is not case sensitive. Use to specify which organization’s migrations to list.
  • exclude_attributes (array[string], optional) A list of attributes to exclude from the API response to enhance performance.
  • results_page_number (integer, optional) Page number to fetch specific results from the list of migrations.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum value of 100.

GithubApi.StartOrgMigration


Initiates a migration archive for a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. The name is not case sensitive.
  • repositories_to_migrate (array[string], required) A list of repository names to be included in the migration process.
  • exclude_attachments (boolean, optional) Set to true to exclude attachments from the migration, reducing archive file size.
  • exclude_git_data (boolean, optional) Set to true to exclude repository git data from the migration, reducing archive size. Useful for metadata-only migrations.
  • exclude_items (array[string], optional) Specify related items to exclude from the response for performance optimization, e.g., [“repositories”].
  • exclude_metadata (boolean, optional) Set to true to exclude metadata, including only git source. Useful for reducing file complexity.
  • exclude_owner_projects (boolean, optional) Indicate whether projects owned by the organization or users should be excluded from the migration.
  • exclude_releases (boolean, optional) Set to true to exclude releases from the migration archive, reducing file size.
  • lock_repositories (boolean, optional) Set to true to lock repositories during migration, preventing changes.
  • only_include_org_metadata (boolean, optional) Specify whether only organization metadata is included, keeping the repositories array empty and ignoring other flags.

GithubApi.CheckOrgMigrationStatus


Fetches the status of an organization’s migration.

Parameters

  • migration_id (integer, required) The unique identifier of the migration. Expected as an integer.
  • organization_name (string, required) The name of the organization, not case sensitive, for which to fetch migration status.
  • exclude_attributes (array[string], optional) List of attribute names to exclude from the API response for improved performance.

GithubApi.DeleteGithubOrgMigrationArchive


Delete a previous GitHub organization migration archive.

Parameters

  • migration_identifier (integer, required) The unique identifier of the migration archive to delete.
  • organization_name (string, required) The GitHub organization name. The name is not case sensitive.

GithubApi.FetchOrgMigrationArchiveUrl


Fetches the URL to download an organization’s migration archive.

Parameters

  • migration_identifier (integer, required) The unique identifier for the specific migration. This should be an integer value.
  • organization_name (string, required) The name of the organization. This value is not case sensitive.

GithubApi.UnlockGithubRepoForOrgMigration


Unlock a locked repository after migration for an organization.

Parameters

  • migration_unique_identifier (integer, required) The unique identifier for the migration process.
  • organization_name (string, required) The GitHub organization name, which is not case sensitive.
  • repository_name (string, required) The name of the repository to be unlocked. This is required and should match the exact repository name used during the migration. Case sensitivity does not matter.

GithubApi.ListReposForOrgMigration


List all repositories for an organization’s migration.

Parameters

  • migration_unique_identifier (integer, required) The unique identifier for the organization migration in GitHub.
  • organization_name (string, required) The name of the organization. This name is not case sensitive and identifies the GitHub organization for which the migration repositories will be listed.
  • results_page_number (integer, optional) Page number of the results to fetch, used for pagination.
  • results_per_page (integer, optional) Number of results per page, with a maximum of 100.

GithubApi.ListOrgOutsideCollaborators


Retrieve outside collaborators for a GitHub organization.

Parameters

  • organization_name (string, required) The GitHub organization name, not case sensitive.
  • filter_outside_collaborators (string, optional) Specify ‘2fa_disabled’ to filter for collaborators without two-factor authentication, or ‘all’ for all collaborators.
  • result_page_number (integer, optional) Specify the page number to fetch results from the list of outside collaborators.
  • results_per_page (integer, optional) Specify the number of results to display per page, with a maximum of 100.

GithubApi.RemoveOrgOutsideCollaborator


Remove a user from all organization repositories.

Parameters

  • github_user_handle (string, required) The GitHub user account handle to remove from the organization’s repositories.
  • organization_name (string, required) The name of the organization from which to remove the user. It is not case sensitive.

GithubApi.ConvertMemberToOutsideCollaborator


Convert GitHub org member to outside collaborator.

Parameters

  • github_user_handle (string, required) The GitHub user handle to be converted to an outside collaborator.
  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • perform_asynchronously (boolean, optional) Set to true to perform the request asynchronously, queuing the job with a 202 status code.

GithubApi.ListOrgPreReceiveHooks


Retrieve pre-receive hooks for a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case-sensitive.
  • page_number (integer, optional) Page number of the results to fetch. Use this to navigate through paginated results.
  • results_per_page (integer, optional) The number of results to return per page. The maximum allowed is 100.
  • sort_direction (string, optional) The direction to sort the results by. Accepts ‘asc’ or ‘desc’.
  • sort_order (string, optional) Specify the sort order for the response: options are ‘created’, ‘updated’, or ‘name’.

GithubApi.RemoveOrgPreReceiveHook


Removes pre-receive hook enforcement overrides for an organization.

Parameters

  • organization_name (string, required) The name of the organization where the pre-receive hook enforcement override will be removed. It is not case sensitive.
  • pre_receive_hook_id (integer, required) The unique identifier for the pre-receive hook to be removed.

GithubApi.GetOrgPreReceiveHook


Retrieve a pre-receive hook for an organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization; case insensitive.
  • pre_receive_hook_unique_id (integer, required) The unique identifier of the pre-receive hook. Must be an integer.

GithubApi.UpdatePreReceiveHookEnforcement


Update pre-receive hook enforcement for a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It’s not case sensitive.
  • pre_receive_hook_id (integer, required) The unique identifier of the pre-receive hook to be updated.
  • allow_downstream_configuration (boolean, optional) Boolean indicating whether repositories can override the enforcement settings of the pre-receive hook.
  • enforcement_state (string, optional) Specify the state of enforcement for the hook on this repository. Possible values may include ‘enabled’, ‘disabled’, etc.

GithubApi.ListOrganizationProjects


Retrieve a list of projects for a given organization on GitHub.

Parameters

  • organization_name (string, required) The case-insensitive name of the GitHub organization for which to list projects.
  • project_state (string, optional) Specifies the state of projects to return: ‘open’, ‘closed’, or ‘all’.
  • results_page_number (integer, optional) Specifies the page number of the results to fetch for organization projects.
  • results_per_page (integer, optional) The number of project results to display per page, with a maximum of 100.

GithubApi.CreateOrgProjectGithub


Create a project board for a GitHub organization.

Parameters

  • organization_name (string, required) The GitHub organization name. Not case sensitive.
  • project_name (string, required) The name of the project board to be created. It will serve as the identifier for the project within the organization. Must be a string.
  • project_description (string, optional) The description of the project to be created for the GitHub organization. This should be a clear and concise explanation of the project’s purpose.

GithubApi.ListPublicOrgMembers


Retrieve public members of a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • results_page_number (integer, optional) The page number of the results to fetch, used for pagination.
  • results_per_page (integer, optional) Specify the number of results to return per page, up to a maximum of 100.

GithubApi.RemovePublicOrgMembership


Remove public organization membership for the user.

Parameters

  • github_user_handle (string, required) The GitHub user account handle for which to remove public organization membership.
  • organization_name (string, required) The name of the GitHub organization. This name is not case sensitive.

GithubApi.CheckGithubOrgMembership


Checks if a user is a public member of a GitHub organization.

Parameters

  • github_user_handle (string, required) The GitHub user account handle to check for public organization membership.
  • organization_name (string, required) The case-insensitive name of the GitHub organization.

GithubApi.SetOwnGithubPublicMembership


Publicize your GitHub organization membership.

Parameters

  • github_user_handle (string, required) The GitHub user account handle to publicize the membership for.
  • organization_name (string, required) The GitHub organization name to make membership public. Case insensitive.

GithubApi.ListOrganizationRepositories


Retrieve repositories for a specific organization on GitHub.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • page_number (integer, optional) Page number of the results to fetch, used for pagination.
  • repository_type (string, optional) Specify the type of repositories to return, such as ‘all’, ‘public’, ‘private’, etc. Note: ‘internal’ is unsupported with an installation access token.
  • results_per_page (integer, optional) The number of repository results to display per page, with a maximum limit of 100.
  • sort_order (string, optional) Specifies the sorting order of the results. Use ‘asc’ for ascending or ‘desc’ for descending.
  • sort_property (string, optional) Specifies the property to sort the repository results by, such as created, updated, pushed, or full_name.

GithubApi.CreateGithubOrganizationRepo


Create a new repository in a GitHub organization.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • organization_name (string, optional) The name of the GitHub organization where the repository will be created. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListOrgSecretScanningAlerts


Retrieve secret scanning alerts for an organization’s repositories.

Parameters

  • organization_name (string, required) The name of the organization for which secret scanning alerts are to be listed. This value is not case-sensitive.
  • alert_resolution_filter (string, optional) A comma-separated list of resolutions to filter secret scanning alerts. Valid options are false_positive, wont_fix, revoked, pattern_edited, pattern_deleted, and used_in_tests.
  • alert_state (string, optional) Specify ‘open’ or ‘resolved’ to filter secret scanning alerts by their state.
  • results_page_number (integer, optional) The page number of results to retrieve, starting from 1. Determines which subset of results will be returned.
  • results_per_page (integer, optional) The number of results to return per page, with a maximum of 100.
  • search_after_cursor (string, optional) A cursor for paginating results, provided in the Link header. Use an empty string for the initial request to receive a starting cursor.
  • search_before_cursor (string, optional) A cursor indicating that the query should only look for events before this point. Use an empty string to get an initial cursor.
  • secret_types (string, optional) Comma-separated list of secret types to return. Defaults to all secret types. Refer to the GitHub documentation for details on secret types.
  • sort_by_property (string, optional) Choose ‘created’ to sort by alert creation date or ‘updated’ to sort by last update or resolution.
  • sort_direction (string, optional) Specifies the order to sort the results: ascending (‘asc’) or descending (‘desc’).

GithubApi.ListSecurityManagerTeams


Retrieve teams that are security managers in an organization.

Parameters

  • organization_name (string, required) The GitHub organization’s name. It is not case sensitive.

GithubApi.RemoveSecurityManagerRole


Remove security manager role from a team in an organization.

Parameters

  • organization_name (string, required) The organization’s name. It is not case sensitive.
  • team_identifier (string, required) The unique slug identifying the team by name. This is required to specify the team whose security manager role is to be removed.

GithubApi.AddSecurityManagerTeam


Add a team as a security manager for an organization.

Parameters

  • organization_name (string, required) The name of the organization. This is not case sensitive. Required for adding a team as a security manager.
  • team_slug (string, required) The slug of the team name to be added as a security manager. This is case-insensitive.

GithubApi.GetAdvancedSecurityCommitters


Retrieve GitHub Advanced Security committers for an organization.

Parameters

  • organization_name (string, required) The organization name for which to retrieve security committers. It is not case sensitive.
  • results_page_number (integer, optional) The page number of the results to fetch. Useful for paginating through large sets of results.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum limit of 100.

GithubApi.ListOrganizationTeams


Retrieve teams visible to the user in a GitHub organization.

Parameters

  • organization_name (string, required) The GitHub organization name. It is not case sensitive.
  • results_page_number (integer, optional) Page number of the results to fetch from the list of teams.
  • results_per_page (integer, optional) Specify the number of results per page, up to a maximum of 100.

GithubApi.CreateGithubTeam


Create a new team in a GitHub organization.

Parameters

  • organization_name (string, required) The case-insensitive name of the GitHub organization where the team will be created.
  • team_name (string, required) The name of the team to be created. It should be a string.
  • deprecated_repository_permission (string, optional) Specifies the permission for new repositories, though it is deprecated. Options are pull or push.
  • ldap_distinguished_name (string, optional) The distinguished name (DN) of the LDAP entry to map to a team. Ensure LDAP synchronization is enabled.
  • parent_team_id (integer, optional) The numerical ID of the team to assign as the parent for the new team.
  • repository_names_to_add_to_team (array[string], optional) Array of full repository names (e.g., “organization-name/repository-name”) to associate with the team.
  • team_description (string, optional) A brief description of the team being created. This helps specify the team’s purpose or role within the organization.
  • team_maintainers_github_ids (array[string], optional) List of GitHub IDs for organization members who will become team maintainers.
  • team_privacy_level (string, optional) Specifies if the team is ‘secret’ or ‘closed’. Defaults: ‘secret’ for non-nested teams, ‘closed’ for parent/child teams.

GithubApi.DeleteTeamInOrg


Delete a team in a GitHub organization.

Parameters

  • organization_name (string, required) The case-insensitive name of the GitHub organization containing the team to be deleted.
  • team_slug (string, required) The unique slug identifier of the team within the organization to be deleted.

GithubApi.GetTeamBySlug


Retrieve team details using organization and team slug.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • team_slug (string, required) The slug of the team name. This is a URL-friendly version, typically all lowercase with special characters and spaces replaced by hyphens.

GithubApi.UpdateGithubTeam


Update a team’s details within a GitHub organization.

Parameters

  • organization_name (string, required) The name of the organization. This is not case sensitive.
  • team_slug (string, required) The slug of the team name, used to uniquely identify the team within the organization.
  • parent_team_id (integer, optional) The ID of the team to set as the parent team for nesting purposes.
  • team_description (string, optional) The description of the team. Provide a concise summary or details for team identification.
  • team_name (string, optional) The new name for the GitHub team within the organization.
  • team_privacy_level (string, optional) Specifies the team’s privacy level. Options: ‘secret’ (visible only to owners and team members) or ‘closed’ (visible to all organization members). Parent teams cannot be ‘secret’.
  • team_repository_permission (string, optional) Deprecated. Specifies the default permission for newly added repositories. Options: ‘pull’, ‘push’, ‘admin’.

GithubApi.ListTeamDiscussions


Retrieve all discussions from a team’s page in an organization.

Parameters

  • organization_name (string, required) The case-insensitive name of the GitHub organization.
  • team_slug (string, required) The slug of the team’s name to identify which team’s discussions to retrieve in the organization.
  • pinned_discussions_only (string, optional) Filter to retrieve only pinned discussions. Use ‘true’ for pinned only, ‘false’ for all.
  • results_page_number (integer, optional) The specific page number of discussion results to retrieve.
  • results_per_page (integer, optional) The number of results per page, with a maximum of 100.
  • sort_direction (string, optional) Specify the sorting direction for the results. Use ‘asc’ for ascending or ‘desc’ for descending order.

GithubApi.CreateTeamDiscussionGithub


Create a discussion post on a GitHub team’s page.

Parameters

  • discussion_body_text (string, required) The content of the discussion post. Provide detailed text for the discussion body.
  • discussion_post_title (string, required) The title for the discussion post on the team’s page.
  • organization_name (string, required) The organization name, not case-sensitive, for which the team discussion will be created.
  • team_slug (string, required) The unique slug of the team name. This is required to specify which team’s page the discussion will be posted on.
  • create_private_post (boolean, optional) Set to true to create a private post visible only to team members and maintainers, or false for a public post visible to all organization members.

GithubApi.DeleteTeamDiscussion


Delete a discussion from a team’s page on GitHub.

Parameters

  • discussion_number (integer, required) The unique number identifying the discussion to be deleted.
  • organization_name (string, required) The organization name on GitHub. It is not case sensitive.
  • team_slug (string, required) The slug identifier of the team name on GitHub. This is required to specify which team’s discussion is to be deleted.

GithubApi.GetTeamDiscussion


Retrieve a specific team discussion from GitHub.

Parameters

  • discussion_identifier_number (integer, required) The unique number identifying the discussion to retrieve.
  • organization_name (string, required) The name of the GitHub organization. This is not case sensitive.
  • team_slug (string, required) The slug of the GitHub team name, used to specify the team.

GithubApi.UpdateTeamDiscussion


Edits the title and body of a team discussion post.

Parameters

  • discussion_id (integer, required) The unique number identifying the discussion to be updated.
  • organization_name (string, required) The name of the organization. It is not case sensitive and uniquely identifies the organization on GitHub.
  • team_slug (string, required) Provide the slug (URL-friendly version) of the team’s name. Case sensitivity is ignored.
  • discussion_body_text (string, optional) The updated body text of the discussion post. Provide the new content you want for the discussion.
  • discussion_title (string, optional) The new title for the discussion post. Only the provided title will be updated.

GithubApi.ListTeamDiscussionComments


Retrieve comments from a team discussion in an organization.

Parameters

  • discussion_id (integer, required) The unique number identifying the discussion to retrieve comments from.
  • organization_name (string, required) The name of the organization. It is not case sensitive.
  • team_slug (string, required) The identifier for the team, typically a URL-friendly version of the team name.
  • results_page_number (integer, optional) The specific page of discussion comments to retrieve, starting with 1 for the first page.
  • results_per_page (integer, optional) The number of discussion comments to return per page, maximum of 100.
  • sort_direction (string, optional) Specify the sort order for results: ‘asc’ for ascending or ‘desc’ for descending.

GithubApi.CreateTeamDiscussionComment


Create a new comment on a team discussion in an organization.

Parameters

  • comment_body_text (string, required) The text content of the comment to be added to the team discussion.
  • discussion_number (integer, required) The number that identifies the specific discussion within the team to which you want to add a comment.
  • organization_name (string, required) The name of the organization where the team discussion is located. This is not case sensitive.
  • team_slug (string, required) The slug identifier for the team name within the organization, used to specify which team’s discussion to comment on.

GithubApi.DeleteTeamDiscussionComment


Deletes a comment on a team discussion in an organization.

Parameters

  • comment_identifier (integer, required) The unique number identifying the comment to be deleted.
  • discussion_identifier (integer, required) The unique number identifying the discussion for the comment to be deleted.
  • organization_name (string, required) The name of the organization. It is not case sensitive.
  • team_slug (string, required) The slug of the team name in the organization. Case insensitive.

GithubApi.GetGithubTeamDiscussionComment


Retrieve a specific comment from a GitHub team discussion.

Parameters

  • comment_identifier (integer, required) The specific number identifying the comment in the discussion.
  • discussion_id (integer, required) The unique number identifying the specific discussion on GitHub.
  • organization_name (string, required) The name of the GitHub organization. This is not case sensitive.
  • team_slug (string, required) The slug (URL-friendly version) of the GitHub team’s name. It is not case sensitive.

GithubApi.UpdateGithubDiscussionComment


Updates a GitHub discussion comment’s text.

Parameters

  • comment_identifier (integer, required) A unique integer identifying the comment to be updated in the discussion.
  • discussion_comment_body (string, required) The new text for the discussion comment to be updated.
  • discussion_id (integer, required) The unique number identifying the GitHub discussion to update the comment in.
  • organization_name (string, required) The name of the GitHub organization. It is not case-sensitive.
  • team_slug (string, required) The slug of the team name. This is used to specify the team in the organization.

GithubApi.ListTeamDiscussionCommentReactions


Retrieve reactions for a team discussion comment in an organization.

Parameters

  • comment_identifier (integer, required) The unique number identifying the discussion comment.
  • discussion_number (integer, required) The number identifying the specific discussion in the team.
  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • team_slug (string, required) The slug of the team name, case-insensitive, used to identify the team in the organization.
  • filter_by_reaction_type (string, optional) Specify a single reaction type to filter results. Options: ‘+1’, ‘-1’, ‘laugh’, ‘confused’, ‘heart’, ‘hooray’, ‘rocket’, ‘eyes’. Omit to list all reactions.
  • results_page_number (integer, optional) The page number of the comments reactions to fetch from the results.
  • results_per_page (integer, optional) The number of results per page to return (maximum 100).

GithubApi.AddReactionToTeamDiscussionComment


Add a reaction to a GitHub team discussion comment.

Parameters

  • comment_identifier (integer, required) The unique number identifying the team discussion comment to react to.
  • discussion_identifier (integer, required) The number identifying the discussion within the team.
  • organization_name (string, required) The name of the organization. This value is not case sensitive.
  • reaction_type (string, required) The type of reaction emoji to add to the team discussion comment. Accepted values are: ‘+1’, ‘-1’, ‘laugh’, ‘confused’, ‘heart’, ‘hooray’, ‘rocket’, ‘eyes’.
  • team_slug (string, required) The slug of the team name within the organization, used to identify the team.

GithubApi.DeleteTeamDiscussionCommentReaction


Delete a reaction from a team discussion comment on GitHub.

Parameters

  • comment_identifier (integer, required) The number that identifies the comment in the team discussion.
  • discussion_identifier (integer, required) The number identifying the specific discussion in the team.
  • organization_name (string, required) The organization name on GitHub. It is not case sensitive.
  • reaction_id (integer, required) The unique identifier of the reaction to be deleted. This should be an integer value.
  • team_slug (string, required) The slug of the team name, used to identify the team in the organization.

GithubApi.GetTeamDiscussionReactions


Retrieve reactions to a specific team discussion in a GitHub organization.

Parameters

  • discussion_identifier (integer, required) The number identifying the team discussion to retrieve reactions for.
  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • team_slug (string, required) The slug of the team’s name in the specified GitHub organization. It identifies the team for which reactions are being retrieved.
  • reaction_type (string, optional) Specify the type of reaction to retrieve (e.g., ‘+1’, ‘-1’, ‘laugh’). Omit to retrieve all reactions.
  • results_page_number (integer, optional) The page number of the results to fetch. Use to navigate through paginated responses.
  • results_per_page (integer, optional) Specify the number of results per page, maximum of 100.

GithubApi.AddReactionToGithubTeamDiscussion


Add a reaction to a GitHub team discussion.

Parameters

  • discussion_id (integer, required) The unique identifier number for the team discussion.
  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • reaction_type (string, required) The reaction type to add to the team discussion. Valid options include: ‘+1’, ‘-1’, ‘laugh’, ‘confused’, ‘heart’, ‘hooray’, ‘rocket’, ‘eyes’.
  • team_slug (string, required) The URL-friendly version of the team’s name.

GithubApi.DeleteGithubTeamDiscussionReaction


Delete a reaction from a GitHub team discussion.

Parameters

  • discussion_number (integer, required) The number that identifies the GitHub team discussion to delete a reaction from. Must be an integer.
  • organization_name (string, required) The organization name. This value is not case sensitive and identifies the GitHub organization.
  • reaction_unique_identifier (integer, required) The unique identifier for the specific reaction to be deleted from the discussion.
  • team_slug (string, required) The slug (URL-friendly version) of the team name in GitHub, used to identify a team within an organization.

GithubApi.UnlinkExternalIdpGroupFromTeam


Unlink an external IdP group from a GitHub team.

Parameters

  • organization_name (string, required) The name of the organization. This is not case sensitive.
  • team_slug (string, required) The slug of the team’s name. It identifies the team within the organization.

GithubApi.ListLinkedExternalGroups


Retrieve connections between a GitHub team and external groups.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • team_slug (string, required) Slug of the team name to identify the specific GitHub team.

GithubApi.LinkExternalGroupToTeam


Link an external IDP group to a GitHub team.

Parameters

  • external_group_id (integer, required) The ID of the external group to be linked with the GitHub team.
  • organization_name (string, required) The GitHub organization name. This value is not case sensitive.
  • team_slug (string, required) The slug of the team name to connect with an external group. It is case insensitive.

GithubApi.ListTeamMembersInOrg


Retrieve team members in a specified organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • team_slug (string, required) The slug of the team name within the organization. Used to identify the specific team.
  • filter_by_role (string, optional) Filters team members by their role: ‘member’, ‘maintainer’, or ‘all’.
  • result_page_number (integer, optional) The page number of results to fetch. Use this for pagination.
  • results_per_page (integer, optional) Specifies the number of team members to return per page, up to a maximum of 100.

GithubApi.RemoveTeamMembership


Remove a user’s membership from a GitHub team.

Parameters

  • github_user_handle (string, required) The handle for the GitHub user account to be removed from the team.
  • organization_name (string, required) The GitHub organization name. This input is not case sensitive.
  • team_slug (string, required) The slug identifier for the GitHub team’s name. This is used to specify the team you want to modify.

GithubApi.GetUserTeamMembershipInOrg


Retrieve a user’s team membership status in an organization.

Parameters

  • github_username (string, required) The GitHub username of the account whose team membership status is being retrieved. This username is not case sensitive.
  • organization_name (string, required) The case-insensitive name of the GitHub organization.
  • team_slug (string, required) The slug of the team name. It uniquely identifies the team within the organization. Case insensitive.

GithubApi.AddUpdateGithubTeamMembership


Add or update a user’s membership in a GitHub team.

Parameters

  • github_team_slug (string, required) The slug identifier of the team’s name within the organization. This is not case-sensitive.
  • github_user_handle (string, required) The GitHub user account handle to add or update in the organization team.
  • organization_name (string, required) The name of the GitHub organization (case insensitive) to which the team belongs.
  • user_team_role (string, optional) Specifies the role for the user in the team, either ‘member’ or ‘maintainer’.

GithubApi.ListTeamProjectsInOrg


Retrieve a list of projects for a team in an organization.

Parameters

  • organization_name (string, required) The case-insensitive name of the organization for which to list team projects.
  • team_slug (string, required) The team’s unique slug identifier. This is used to specify which team’s projects to list.
  • results_page_number (integer, optional) The page number for the results you wish to retrieve. Used for paginating through results.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum limit of 100.

GithubApi.RemoveProjectFromTeam


Remove a project from a team in a GitHub organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. This value is not case sensitive.
  • project_unique_identifier (integer, required) The unique identifier of the project to be removed from the team.
  • team_slug (string, required) The slug identifier for the team name in the organization. Case insensitive.

GithubApi.CheckTeamProjectPermissions


Check team’s permissions for an organization’s project.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive.
  • project_unique_identifier (integer, required) The unique integer ID of the project to check permissions for.
  • team_slug (string, required) The slug of the team name used to identify the team within the organization. It is not case sensitive.

GithubApi.AddOrUpdateGithubTeamProjectPermissions


Add or update a GitHub team’s permissions on an organization project.

Parameters

  • organization_name (string, required) The GitHub organization name. This is not case sensitive.
  • project_id (integer, required) The unique identifier of the project to update or add to the team.
  • team_slug (string, required) The slug representation of the GitHub team’s name within the organization. This is used to identify the team in the request.
  • project_permission_level (string, optional) Permission level to grant the team for the project. Options: ‘read’, ‘write’, ‘admin’. Default uses the team’s current level.

GithubApi.ListTeamRepositories


Retrieve a list of repositories for a specified team.

Parameters

  • organization_name (string, required) The organization name. Case insensitivity applies.
  • team_slug (string, required) The slug of the team name (case-insensitive).
  • results_page_number (integer, optional) The page number of the results to fetch for pagination.
  • results_per_page (integer, optional) Number of results to return per page, with a maximum of 100.

GithubApi.RemoveRepoFromTeam


Remove a repository from a GitHub team within an organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case-sensitive.
  • repository_name (string, required) The name of the repository to remove from the team. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive.
  • team_slug (string, required) The slug of the team name to identify which team’s repository link should be removed. This is required and case insensitive.

GithubApi.CheckTeamRepoPermissions


Check a team’s permissions for a specific repository within an organization.

Parameters

  • organization_name (string, required) The organization name on GitHub. It is not case sensitive. Required to check team permissions.
  • repository_name (string, required) The name of the repository for which you want to check permissions. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.
  • team_slug (string, required) The slug of the team name. Used to identify the team whose permissions you are checking.

GithubApi.UpdateTeamRepoPermissions


Manage team repository access and permissions.

Parameters

  • organization_name (string, required) The name of the organization. This parameter is not case sensitive.
  • repository_name (string, required) The name of the repository to be managed. The name is not case sensitive.
  • repository_owner_account (string, required) The account owner of the repository. The name is not case sensitive.
  • team_slug (string, required) The slug identifier of the team within the organization. It is not case-sensitive.
  • team_repo_permission (string, optional) Permission to grant the team on this repository. Options: pull, triage, push, maintain, admin, or a custom role name defined by the organization. Defaults to team’s current permission if unspecified.

GithubApi.ListChildTeams


Retrieves child teams of a specified team in an organization.

Parameters

  • organization_name (string, required) The organization’s name. It’s case insensitive and used to specify which organization’s team structure to query.
  • team_identifier_slug (string, required) The slug of the team name for which to list child teams. This is used to uniquely identify the team within the organization.
  • page_number (integer, optional) The page number to retrieve in the list of child teams. Use to paginate the results.
  • results_per_page (integer, optional) Specify the number of results to return per page, with a maximum of 100.

GithubApi.ManageOrgSecurityFeatures


Toggle security features for all repositories in an organization.

Parameters

  • organization_name (string, required) The name of the GitHub organization. This value is not case sensitive.
  • security_feature (string, required) Specifies the security feature to enable or disable. Options include: dependency_graph, dependabot_alerts, dependabot_security_updates, advanced_security, secret_scanning, secret_scanning_push_protection.
  • security_feature_action (string, required) Specifies whether to enable or disable the security feature for all organization repositories. Use ‘enable_all’ to activate and ‘disable_all’ to deactivate.

GithubApi.DeleteProjectCard


Delete a project card from GitHub projects.

Parameters

  • card_id (integer, required) The unique identifier of the project card to delete.

GithubApi.GetProjectCard


Retrieve details of a specific project card in GitHub.

Parameters

  • project_card_id (integer, required) The unique ID of the GitHub project card to retrieve details for.

GithubApi.UpdateGithubProjectCard


Update an existing project card on GitHub.

Parameters

  • card_identifier (integer, required) The unique identifier of the GitHub project card to be updated.
  • card_note (string, optional) The text note associated with the project card. It can include details or remarks.
  • set_card_archived_status (boolean, optional) Specify true to archive the card or false to unarchive it.

GithubApi.MoveProjectCard


Move a project card to a different position within the same column or to a different column.

Parameters

  • card_identifier (integer, required) The unique identifier for the card to be moved within the project.
  • card_position (string, required) Specify where to place the card within the column: ‘top’, ‘bottom’, or ‘after:<card_id>’.
  • destination_column_id (integer, optional) The unique identifier of the column to which the card should be moved. If not provided, the card is moved within its current column.

GithubApi.DeleteGithubProjectColumn


Deletes a specific project column on GitHub.

Parameters

  • project_column_id (integer, required) The unique integer identifier of the GitHub project column to be deleted.

GithubApi.GetGithubProjectColumn


Retrieve details of a GitHub project column using its ID.

Parameters

  • project_column_id (integer, required) The unique identifier for the project column to retrieve.

GithubApi.UpdateProjectColumn


Update an existing project column on GitHub.

Parameters

  • column_identifier (integer, required) The unique identifier of the project column to update.
  • project_column_name (string, required) The new name for the project column on GitHub.

GithubApi.ListProjectCards


Retrieve project cards for a specific column on GitHub projects.

Parameters

  • column_identifier (integer, required) The unique identifier for the specified project column, used to list its cards.
  • filter_by_archived_state (string, optional) Filters project cards by their archived state. Options are ‘all’, ‘archived’, or ‘not_archived’.
  • results_page_number (integer, optional) Specifies the page number of the project cards results to fetch. Useful for navigating through paginated results.
  • results_per_page (integer, optional) Number of project cards returned per page, up to a maximum of 100.

GithubApi.CreateGithubProjectCard


Create a project card in a specified GitHub column.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • column_identifier (integer, optional) The unique identifier of the GitHub project column where the card will be added. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.MoveGithubProjectColumn


Move a column within a GitHub project board.

Parameters

  • column_position (string, required) Specifies where to move the project column. Use first, last, or after:<column_id> to position after a specific column.
  • project_column_id (integer, required) The unique identifier of the column to be moved in the GitHub project.

GithubApi.DeleteProjectBoard


Deletes a specified project board on GitHub.

Parameters

  • project_identifier (integer, required) The unique identifier of the GitHub project board to be deleted.

GithubApi.GetGithubProjectById


Retrieve details of a GitHub project by its ID.

Parameters

  • project_id (integer, required) The unique identifier for the GitHub project to retrieve.

GithubApi.UpdateProjectBoard


Update a project board’s information on GitHub.

Parameters

  • project_unique_identifier (integer, required) The unique identifier of the GitHub project board to update.
  • is_private (boolean, optional) A boolean indicating if the project is private. Set to true for private (not visible to everyone) and false for public.
  • organization_permission_level (string, optional) Sets the baseline permission for all organization members on this project. Options are ‘read’, ‘write’, ‘admin’, or ‘none’.
  • project_description (string, optional) A detailed description or content of the project board.
  • project_name (string, optional) The new name for the project board. Must be a string.
  • project_state (string, optional) Specify the state of the project; use ‘open’ or ‘closed’.

GithubApi.ListProjectCollaborators


Retrieve collaborators for a GitHub organization project.

Parameters

  • project_id (integer, required) The unique identifier for the GitHub organization project to retrieve collaborators for.
  • collaborator_affiliation_filter (string, optional) Specifies how to filter collaborators: outside, direct, or all.
  • results_page_number (integer, optional) The page number to retrieve from the list of collaborators.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.RemoveProjectCollaborator


Remove a collaborator from a GitHub organization project.

Parameters

  • github_user_handle (string, required) The GitHub user’s handle to be removed as a collaborator.
  • project_unique_identifier (integer, required) The unique numeric identifier of the GitHub organization project.

GithubApi.AddProjectCollaborator


Add a collaborator to an organization project.

Parameters

  • collaborator_username (string, required) The GitHub username of the collaborator to be added to the project.
  • project_id (integer, required) The unique identifier of the project to which a collaborator is being added. This ID is required to specify the exact project for collaboration.
  • collaborator_permission_level (string, optional) The permission level to assign to the collaborator. Options are: ‘read’, ‘write’, or ‘admin’.

GithubApi.GetUserProjectPermission


Retrieve a user’s permission level for an organization project.

Parameters

  • github_user_handle (string, required) The GitHub username of the user whose project permission level is being queried.
  • project_id (integer, required) The unique identifier of the GitHub project for which to fetch the user’s permission.

GithubApi.ListGithubProjectColumns


Retrieve columns of a specific GitHub project.

Parameters

  • project_identifier (integer, required) The unique identifier of the GitHub project to list columns for.
  • page_number (integer, optional) The specific page number of the results to fetch from the GitHub project columns list.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.

GithubApi.CreateProjectColumn


Create a new column in a GitHub project.

Parameters

  • column_name (string, required) The name of the column to be created in the GitHub project.
  • project_id (integer, required) The unique integer identifier for the GitHub project where the column will be created.

GithubApi.GetGithubRateLimit


Retrieve current GitHub API rate limit status.

Parameters

This tool does not take any parameters.

GithubApi.ListRepoRequiredWorkflows


Retrieve required workflows in a GitHub repository.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive.
  • repository_name (string, required) The name of the GitHub repository you want to query. This is not case sensitive.
  • page_number (integer, optional) The specific page of workflow results to retrieve. Use this for pagination.
  • results_per_page (integer, optional) Specify the number of results to return per page, with a maximum of 100.

GithubApi.GetGithubRepoRequiredWorkflow


Retrieve a specific required workflow from a GitHub repository.

Parameters

  • organization_name (string, required) The name of the GitHub organization. It is not case sensitive.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • required_workflow_id (integer, required) The unique ID of the required workflow that has executed at least once in the repository.

GithubApi.DeleteGithubRepository


Deletes a specified GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository you want to delete. This is not case sensitive.
  • repository_owner_name (string, required) The account owner of the repository; not case sensitive.

GithubApi.GetGithubRepositoryDetails


Retrieve detailed information about a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) Specify the account owner of the repository. This name is not case sensitive.

GithubApi.UpdateGithubRepository


Update repository details on GitHub.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository to update, not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListGithubRepoArtifacts


Retrieve all artifacts for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository to retrieve artifacts from. This input is not case sensitive.
  • repository_owner (string, required) The username or organization name of the repository owner. This is not case sensitive.
  • filter_artifacts_by_name (string, optional) Filters artifacts by providing an exact match for the artifact name. Use a string to specify the artifact name.
  • result_page_number (integer, optional) Specify the page number of results to fetch for paginated artifact listings.
  • results_per_page (integer, optional) Specify the number of artifacts to return per page, with a maximum limit of 100.

GithubApi.DeleteGithubArtifact


Deletes a specified GitHub artifact.

Parameters

  • artifact_unique_identifier (integer, required) The unique identifier of the artifact to be deleted. Must be an integer value.
  • repository_name (string, required) The name of the GitHub repository where the artifact resides. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository, case-insensitive.

GithubApi.GetWorkflowArtifact


Retrieve a specific artifact from a GitHub workflow run.

Parameters

  • artifact_identifier (integer, required) The unique identifier for the artifact to retrieve from a workflow run.
  • repository_name (string, required) The name of the repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Not case sensitive.

GithubApi.GetGithubArtifactDownloadUrl


Retrieve a URL to download a GitHub artifact zip file.

Parameters

  • archive_format_zip (string, required) Specify the archive format as ‘zip’. This is required for the download link.
  • artifact_id (integer, required) The unique identifier of the artifact to be downloaded.
  • repository_name (string, required) The name of the GitHub repository (not case sensitive).
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.GetGithubActionsCacheUsage


Fetch GitHub Actions cache usage for a repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Case insensitive name.

GithubApi.FetchGithubActionsCachePolicy


Retrieve the cache usage policy for GitHub Actions in a repository.

Parameters

  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.ConfigureGithubActionsCache


Set GitHub Actions cache usage policy for a repository.

Parameters

  • repository_cache_size_limit_gb (integer, required) Specify the size limit for all GitHub Actions caches in the repository, in gigabytes.
  • repository_name (string, required) The name of the GitHub repository. This field is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is the GitHub username or organization name and is not case sensitive.

GithubApi.RemoveActionsCacheKey


Delete GitHub Actions caches by key for a repository.

Parameters

  • cache_key (string, required) The key used to identify and delete a specific GitHub Actions cache.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Not case sensitive.
  • git_reference_for_cache_deletion (string, optional) Specify the Git reference to restrict cache deletion. Use refs/heads/<branch> for branches or refs/pull/<number>/merge for pull requests.

GithubApi.ListGithubActionsCaches


Retrieve the list of GitHub Actions caches for a repository.

Parameters

  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This value is not case sensitive.
  • cache_key_or_prefix (string, optional) Explicit key or prefix to identify the cache. Use this to filter caches by specific keys or prefixes.
  • git_reference (string, optional) Specify the Git reference for the results to list. Use refs/heads/<branch> for branches or refs/pull/<number>/merge for pull requests.
  • results_page_number (integer, optional) The page number of the results to fetch, used for pagination.
  • results_per_page (integer, optional) Specify the number of results to return per page, with a maximum of 100.
  • sort_by_property (string, optional) The property to sort results by. Options are ‘created_at’, ‘last_accessed_at’, or ‘size_in_bytes’.
  • sort_direction (string, optional) Specify ‘asc’ for ascending or ‘desc’ for descending order of results.

GithubApi.DeleteGithubActionsCache


Delete a GitHub Actions cache by ID for a repository.

Parameters

  • github_actions_cache_id (integer, required) The unique identifier for the GitHub Actions cache to be deleted.
  • repository_name (string, required) The name of the repository. Not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.GetGithubWorkflowJob


Retrieve a specific job from a GitHub workflow run.

Parameters

  • job_identifier (integer, required) Unique integer identifier of the workflow job to retrieve.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Case insensitive.

GithubApi.DownloadGithubWorkflowJobLogs


Retrieve a URL to download GitHub workflow job logs.

Parameters

  • repository_name (string, required) The name of the GitHub repository (case insensitive).
  • repository_owner (string, required) The account owner of the GitHub repository. Provide the name in a non-case sensitive format.
  • workflow_job_id (integer, required) The unique identifier of the GitHub workflow job to download logs for.

GithubApi.GithubRerunWorkflowJob


Re-run a job in a GitHub workflow.

Parameters

  • job_identifier (integer, required) The unique integer identifier of the job to be re-run. This is required to specify which job in the workflow needs to be restarted.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • enable_debug_logging (boolean, optional) Set to true to enable debug logging for the re-run.

GithubApi.GetOidcSubjectClaimTemplate


Retrieve the OIDC subject claim customization template for a repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive.

GithubApi.SetGithubOidcSubjectClaim


Customize OIDC subject claim for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This value is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Not case sensitive.
  • use_default_template (boolean, required) Set to true to use the default template, which ignores include_claim_keys.
  • claim_keys_to_include (array[string], optional) Array of unique strings for claim keys, containing only alphanumeric characters and underscores.

GithubApi.FetchGithubActionsPerms


Retrieve GitHub Actions permissions for a repository.

Parameters

  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive.

GithubApi.UpdateRepoActionsPermissions


Sets GitHub Actions permissions for a repository.

Parameters

  • enable_github_actions (boolean, required) Boolean flag indicating if GitHub Actions should be enabled on the repository. True enables, False disables.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • actions_permission_policy (string, optional) Defines the policy for actions allowed to run: ‘all’, ‘local_only’, or ‘selected’.

GithubApi.GetWorkflowAccessLevel


Determine external workflow access level for a repository.

Parameters

  • repository_name (string, required) The name of the repository (case insensitive).
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive.

GithubApi.SetWorkflowAccess


Set the access level for workflows in a repository.

Parameters

  • repository_name (string, required) The name of the repository. This is not case sensitive.
  • repository_owner (string, required) The GitHub username or organization name that owns the repository. This is not case sensitive.
  • workflow_access_level (string, required) Specifies access level for workflows outside the repository: ‘none’, ‘user’, or ‘organization’.

GithubApi.GetAllowedActionsForRepo


Retrieve allowed GitHub Actions settings for a repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The username or organization name of the repository owner. Case insensitive.

GithubApi.SetGithubActionsAllowedInRepo


Set allowed GitHub Actions in a repository.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository. This is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.GetDefaultGithubActionsPermissions


Retrieve default GitHub Actions workflow permissions for a repository.

Parameters

  • repository_name (string, required) The name of the repository, which is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.ConfigureGithubTokenPermissions


Set default workflow permissions for a repository’s GitHub Actions.

Parameters

  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive.
  • default_workflow_permissions (string, optional) Specify the default permissions (‘read’ or ‘write’) for the GITHUB_TOKEN when running workflows.
  • enable_pull_request_approval (boolean, optional) Set to true to allow GitHub Actions to approve pull requests. Enabling this may pose a security risk.

GithubApi.ListRequiredWorkflowRuns


Retrieve all workflow runs for a required workflow.

Parameters

  • repository_name (string, required) The name of the GitHub repository. Case sensitivity is ignored.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • required_workflow_id (integer, required) The ID of the required workflow that has run at least once in a repository.
  • branch_name (string, optional) Specify the branch name to filter workflow runs associated with it. Use the name of the branch from the push.
  • check_suite_identifier (integer, optional) Specify the Check Suite ID to filter workflow runs associated with this specific ID.
  • exclude_pull_requests (boolean, optional) If true, pull requests are omitted from the response.
  • results_page_number (integer, optional) The page number of the results to fetch, used for pagination of the workflow runs.
  • results_per_page (integer, optional) The number of workflow run results to display per page, with a maximum limit of 100.
  • sha_for_head_commit (string, optional) Returns workflow runs associated with the specified head SHA (commit identifier).
  • trigger_event (string, optional) Specify the event type that triggers the workflow run, such as push, pull_request, or issue.
  • workflow_actor_username (string, optional) Specify the username of the actor whose workflow runs you want to retrieve. Use the GitHub login for the user who initiated the push.
  • workflow_run_status (string, optional) Specify the workflow run status or conclusion to filter results. Options include ‘completed’, ‘in_progress’, ‘success’, etc.
  • workflow_runs_created_date_range (string, optional) Specify the date-time range to filter workflow runs based on their creation date. Use GitHub’s date search syntax for formatting.

GithubApi.ListSelfHostedRunners


Retrieve self-hosted runners for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository (case-insensitive) for which to list self-hosted runners.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.
  • results_page_number (integer, optional) Page number of the results to fetch for listing self-hosted runners.
  • results_per_page (integer, optional) The number of results to return per page, with a maximum of 100.

GithubApi.ListRunnerAppsForRepo


Retrieve runner application binaries for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. Case insensitive.
  • repository_owner (string, required) The account owner of the repository on GitHub. The name is not case sensitive.

GithubApi.CreateRepoRegistrationToken


Obtain a registration token for GitHub repository actions.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Provide the GitHub username or organization name. It is not case sensitive.

GithubApi.GenerateGithubRunnerRemoveToken


Generate a token to remove a GitHub self-hosted runner.

Parameters

  • repository_name (string, required) The name of the repository. This should match exactly as it appears on GitHub but is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive.

GithubApi.RemoveSelfHostedRunner


Removes a self-hosted runner from a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • runner_unique_identifier (integer, required) Unique identifier of the self-hosted runner to be removed.

GithubApi.RetrieveRunnerDetails


Retrieve information about a self-hosted runner in a GitHub repo.

Parameters

  • repository_name (string, required) The name of the repository. This corresponds to the GitHub repository name and is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This name is not case sensitive.
  • runner_identifier (integer, required) Unique identifier of the self-hosted runner. Required to fetch specific runner details.

GithubApi.RemoveCustomLabelsRunnerRepo


Remove all custom labels from a self-hosted runner in a repository.

Parameters

  • repository_name (string, required) The name of the repository. It is not case-sensitive.
  • repository_owner (string, required) The account owner of the repository. Case insensitive.
  • runner_unique_identifier (integer, required) Unique identifier of the self-hosted runner to remove custom labels from.

GithubApi.ListRunnerLabels


Retrieve all labels for a self-hosted runner in a GitHub repo.

Parameters

  • repository_name (string, required) The name of the repository. This is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. Case insensitive.
  • self_hosted_runner_id (integer, required) The unique integer identifier of the self-hosted runner in the repository.

GithubApi.LabelRunnerForRepo


Add custom labels to a repository’s self-hosted runner.

Parameters

  • custom_labels_to_add (array[string], required) The names of the custom labels to add to the self-hosted runner. Provide as an array of strings.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Case insensitive.
  • runner_id (integer, required) Unique identifier for the self-hosted runner in the repository.

GithubApi.SetRunnerLabels


Update custom labels for a self-hosted runner in a GitHub repo.

Parameters

  • custom_labels_for_runner (array[string], required) An array of custom labels to set for the self-hosted runner. Pass an empty array to clear all labels.
  • repository_name (string, required) The name of the GitHub repository. This is not case-sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. This name is not case sensitive.
  • runner_id (integer, required) The unique integer identifier of the self-hosted runner to update labels for.

GithubApi.RemoveRunnerLabel


Remove a custom label from a self-hosted runner in a repository.

Parameters

  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This name is not case sensitive.
  • runner_custom_label_name (string, required) The name of the custom label on the self-hosted runner to be removed.
  • runner_unique_identifier (integer, required) The unique ID number of the self-hosted runner to identify which runner to remove the label from.

GithubApi.ListGithubWorkflowRuns


Retrieve all workflow runs for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository (case insensitive).
  • repository_owner (string, required) The GitHub username or organization name that owns the repository. It is case-insensitive.
  • actor_username (string, optional) Specify the username of the user whose workflow runs you want to retrieve. Use the login of the user who initiated the run.
  • branch_name (string, optional) Specify the branch name to filter workflow runs associated with that branch.
  • check_suite_id (integer, optional) Returns workflow runs with the specified check suite ID.
  • filter_by_head_sha (string, optional) Only returns workflow runs associated with the specified commit SHA (head_sha).
  • omit_pull_requests (boolean, optional) If true, pull requests are excluded from the workflow runs response.
  • results_page_number (integer, optional) Page number of the results to fetch, used for paginating results.
  • results_per_page (integer, optional) The number of results to return per page, with a maximum limit of 100.
  • triggering_event (string, optional) Specify the event that triggers the workflow run, such as ‘push’, ‘pull_request’, or ‘issue’.
  • workflow_created_date_range (string, optional) Specify a date-time range to filter workflow runs by creation date. Use GitHub’s specific date syntax for format.
  • workflow_run_status (string, optional) Specifies the desired status or conclusion of the workflow runs to retrieve, such as ‘success’, ‘in_progress’, etc.

GithubApi.DeleteGithubWorkflowRun


Delete a specific GitHub workflow run.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. The name is not case sensitive.
  • workflow_run_id (integer, required) The unique identifier of the GitHub workflow run to be deleted. This should be an integer value.

GithubApi.GetGithubWorkflowRun


Retrieve details of a specific GitHub workflow run.

Parameters

  • repository_name (string, required) The name of the repository. It is not case sensitive and is used to identify the repo for the workflow run.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.
  • workflow_run_id (integer, required) The unique identifier of the GitHub workflow run. Must be an integer.
  • omit_pull_requests (boolean, optional) If true, omits pull requests from the response, resulting in an empty array.

GithubApi.GetGithubActionsRunReviews


Retrieve reviews for a GitHub Actions run.

Parameters

  • repository_name (string, required) The name of the repository. The input is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Not case sensitive.
  • workflow_run_id (integer, required) The unique identifier of the GitHub Actions workflow run. This integer is required to fetch the reviews.

GithubApi.ListWorkflowArtifacts


Retrieve artifacts from a GitHub workflow run.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • workflow_run_id (integer, required) The unique identifier of the specific workflow run to retrieve artifacts from.
  • page_number_to_fetch (integer, optional) The page number of the artifacts results to retrieve.
  • results_per_page (integer, optional) Number of results to return per page, up to a maximum of 100.

GithubApi.GetGithubWorkflowRunAttempt


Retrieve details of a specific GitHub workflow run attempt.

Parameters

  • repository_name (string, required) The name of the repository, not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This value is not case sensitive.
  • workflow_attempt_number (integer, required) The numeric identifier for the specific attempt of the workflow run to be retrieved.
  • workflow_run_id (integer, required) The unique identifier of the GitHub workflow run. This integer specifies the exact run to retrieve information for.
  • omit_pull_requests (boolean, optional) Set to true to omit pull requests from the response.

GithubApi.ListWorkflowRunJobs


Retrieve jobs from a specific GitHub workflow run attempt.

Parameters

  • repository_name (string, required) The name of the GitHub repository to fetch jobs from. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.
  • workflow_run_attempt_number (integer, required) The attempt number of the specific workflow run to retrieve jobs for. This is typically used to distinguish between multiple attempts of the same run.
  • workflow_run_id (integer, required) The unique identifier of the workflow run to list jobs for.
  • results_page_number (integer, optional) Specify the page number of the results to fetch, used for pagination.
  • results_per_page (integer, optional) Specifies the number of job results to return per page, with a maximum of 100.

GithubApi.GetWorkflowRunAttemptLogsUrl


Retrieve a URL to download workflow run attempt logs.

Parameters

  • repository_name (string, required) The name of the repository. It is not case sensitive and identifies the repository for which to retrieve logs.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • workflow_attempt_number (integer, required) The specific attempt number of the workflow run to fetch logs for.
  • workflow_run_id (integer, required) The unique identifier of the workflow run. Used to specify which workflow’s logs to download.

GithubApi.CancelGithubWorkflowRun


Cancels a GitHub workflow run using its ID.

Parameters

  • repository_name (string, required) The name of the repository. This is not case sensitive and should match the repository where the workflow run is located.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • workflow_run_id (integer, required) The unique identifier of the GitHub workflow run to be canceled. This should be an integer value.

GithubApi.ListGithubWorkflowJobs


Fetches jobs for a specific GitHub workflow run.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. It is not case sensitive and identifies whose account owns the repository.
  • workflow_run_id (integer, required) The unique identifier of the GitHub workflow run to fetch jobs for.
  • job_filter_by_completion_time (string, optional) Filter jobs by their completed_at timestamp. Use ‘latest’ for the most recent execution or ‘all’ for all executions.
  • results_page_number (integer, optional) Page number for paginated results to fetch from the workflow jobs list.
  • results_per_page (integer, optional) Specify the number of job results to return per page, with a maximum of 100.

GithubApi.DeleteGithubWorkflowRunLogs


Deletes all logs for a specified workflow run on GitHub.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case-sensitive.
  • repository_owner_name (string, required) The account owner of the repository. This name is not case sensitive.
  • workflow_run_id (integer, required) The unique identifier of the workflow run to delete logs for.

GithubApi.DownloadWorkflowRunLogs


Get a redirect URL to download workflow run log files.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This field is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is case-insensitive.
  • workflow_run_id (integer, required) The unique identifier of the workflow run to download logs for.

GithubApi.GetPendingDeploymentsForRun


Retrieve pending deployments for a GitHub workflow run.

Parameters

  • repository_name (string, required) The name of the repository. This name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • workflow_run_id (integer, required) The unique identifier of the workflow run to fetch pending deployments for.

GithubApi.ApproveOrRejectPendingDeployments


Approve or reject pending deployments for a workflow run.

Parameters

  • deployment_review_comment (string, required) A comment to accompany the approval or rejection of the deployment review.
  • deployment_review_state (string, required) Specify ‘approved’ to approve or ‘rejected’ to reject deployments to the environments.
  • environment_ids (array[integer], required) List of environment IDs to approve or reject. Each ID must be an integer.
  • repository_name (string, required) The name of the repository. This value is not case-sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • workflow_run_id (integer, required) The unique identifier of the workflow run to be approved or rejected.

GithubApi.RerunGithubWorkflow


Initiates the rerun of a specific GitHub workflow.

Parameters

  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. The name is not case sensitive.
  • workflow_run_id (integer, required) The unique identifier of the workflow run to be re-run.
  • enable_debug_logging (boolean, optional) Enable debug logging for the workflow re-run by setting to true.

GithubApi.RerunFailedGithubWorkflowJobs


Re-run failed jobs in a GitHub workflow run.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. This is not case sensitive.
  • workflow_run_id (integer, required) The unique identifier of the GitHub workflow run to re-run failed jobs for.
  • enable_debug_logging (boolean, optional) Enable debug logging for the re-run of failed workflow jobs.

GithubApi.ListRepoSecrets


Retrieve all repository secrets without values.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. It is not case sensitive.
  • results_page_number (integer, optional) Specifies the page number of the secrets list to fetch.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.GetRepoPublicKey


Retrieve the public key for encrypting repository secrets.

Parameters

  • repository_name (string, required) The name of the repository. This value is not case sensitive. Provide the repository name for which you want to retrieve the public key.
  • repository_owner (string, required) The account owner of the repository. Enter a case-insensitive string specifying the owner’s account name.

GithubApi.DeleteGithubRepoSecret


Deletes a secret from a GitHub repository.

Parameters

  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • secret_name (string, required) The specific name of the secret to delete from the repository.

GithubApi.GetRepositorySecretInfo


Retrieve metadata for a specific GitHub repository secret.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Not case sensitive.
  • secret_name (string, required) The name of the secret to retrieve metadata for.

GithubApi.CreateOrUpdateGithubRepoSecret


Create or update a GitHub repository secret with an encrypted value.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • secret_name (string, required) The name of the secret to create or update in the repository.
  • encrypted_secret_value (string, optional) The secret’s value encrypted with LibSodium using a repository’s public key.
  • encryption_key_id (string, optional) Provide the ID of the key used to encrypt the secret.

GithubApi.ListGithubRepoVariables


Retrieve all variables for a specified GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository, case insensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • page_number (integer, optional) Page number to fetch in the list of repository variables. Use for paginating results.
  • results_per_page (integer, optional) Specify the number of results to return per page, with a maximum of 30.

GithubApi.CreateGithubRepoVariable


Create a variable for a GitHub repository to use in Actions workflows.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This value is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. Case insensitive.
  • variable_name (string, required) The name of the repository variable to create.
  • variable_value (string, required) The content or data for the repository variable.

GithubApi.DeleteGithubRepoVariable


Delete a repository variable on GitHub using its name.

Parameters

  • repository_name (string, required) The name of the repository to delete the variable from. It is not case-sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • variable_name (string, required) The name of the variable to delete from the repository. It should match exactly as stored.

GithubApi.GetGithubRepoVariable


Retrieve a specific variable from a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • variable_name (string, required) The name of the variable to retrieve from the repository. This is case-sensitive and must match the variable’s exact name.

GithubApi.UpdateGithubRepoVariable


Update a variable in a GitHub repository for actions workflows.

Parameters

  • repository_name (string, required) The name of the repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This name is not case sensitive.
  • env_variable_name (string, optional) The name of the variable to update in the GitHub repository.
  • repository_variable_value (string, optional) The new value for the specified repository variable.
  • variable_name (string, optional) The name of the variable in the repository.

GithubApi.ListGithubRepoWorkflows


Retrieve GitHub workflows in a repository.

Parameters

  • repository_name (string, required) The name of the repository. This field is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. Case insensitive.
  • results_page_number (integer, optional) The page number for pagination, used to fetch specific sets of results.
  • results_per_page (integer, optional) The number of workflow results to display per page, with a maximum limit of 100.

GithubApi.ListGithubIssueAssignees


Retrieve available assignees for GitHub issues.

Parameters

  • repository_name (string, required) The name of the GitHub repository, case insensitive.
  • repository_owner (string, required) The owner of the repository. Input is not case sensitive.
  • results_page_number (integer, optional) Page number of the results to fetch. Use to paginate through results.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum limit of 100.

GithubApi.CheckUserAssignmentPermission


Check if a user can be assigned to a GitHub issue.

Parameters

  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. Input is not case sensitive.
  • user_assignee (string, required) The username of the GitHub user to check for issue assignment permissions.

Retrieve autolinks for a specific GitHub repository.

Parameters

  • repository_name (string, required) The name of the repository. It is case insensitive.
  • repository_owner (string, required) The account owner of the repository. This name is not case sensitive.
  • results_page_number (integer, optional) Specify the page number to retrieve results from when fetching autolinks for a repository.

Create an autolink reference in a GitHub repository.

Parameters

  • autolink_key_prefix (string, required) The prefix that triggers link creation when found in issues, pull requests, or commits.
  • repository_name (string, required) The name of the repository. This is not case sensitive.
  • repository_owner_account (string, required) The account owner of the repository. The name is not case sensitive.
  • url_template_for_autolink (string, required) URL containing <num> for reference. It should match the characters based on is_alphanumeric value.
  • match_alphanumeric_characters (boolean, optional) Determines if the autolink reference matches alphanumeric characters. True includes A-Z, 0-9, ’-’, false matches only numeric characters.

Delete an autolink reference from a GitHub repository.

Parameters

  • autolink_identifier (integer, required) The unique integer identifier of the autolink to be deleted from the repository.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

Retrieve a specific GitHub repository autolink by ID.

Parameters

  • autolink_id (integer, required) The unique identifier of the autolink configured in the GitHub repository.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.ListGithubRepoBranches


Retrieve branches from a specific GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case-sensitive.
  • results_page_number (integer, optional) Page number of the results to fetch from the list of branches.
  • results_per_page (integer, optional) Specify the number of branch results per page (maximum 100).
  • return_only_protected_branches (boolean, optional) Set to true to return only protected branches, false for only unprotected, or omit to return all branches.

GithubApi.GetGithubRepoBranch


Retrieve details of a specific branch from a GitHub repository.

Parameters

  • branch_name (string, required) The name of the GitHub branch. Avoid using wildcard characters. For wildcard support, refer to the GitHub GraphQL API.
  • repository_name (string, required) The name of the GitHub repository (case-insensitive).
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.DeleteBranchProtection


Remove protection from a specified GitHub branch.

Parameters

  • branch_name (string, required) The name of the branch to remove protection from. Cannot contain wildcard characters.
  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.GetGithubBranchProtection


Retrieve protection settings for a GitHub branch.

Parameters

  • branch_name (string, required) The specific name of the GitHub branch to retrieve protection settings for. Must not contain wildcard characters.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. The name is not case sensitive.

GithubApi.UpdateBranchProtection


Update GitHub repository branch protection settings.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository on GitHub. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository, which is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The name of the branch to update protection settings for. It cannot contain wildcard characters. For wildcard support, use the GraphQL API. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.DeleteAdminBranchProtection


Remove admin enforcement on a protected branch.

Parameters

  • branch_name (string, required) The exact name of the branch for which admin enforcement will be removed. Wildcards are not allowed.
  • repository_name (string, required) The name of the repository. It is not case sensitive and should not include any special characters.
  • repository_owner (string, required) The GitHub account owner of the repository. This is not case sensitive.

GithubApi.GetAdminBranchProtectionStatus


Get admin branch protection status on GitHub.

Parameters

  • branch_name (string, required) The exact name of the branch. Wildcards are not allowed; use GraphQL API for wildcards.
  • repository_name (string, required) The name of the GitHub repository. This name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.SetAdminBranchProtection


Set admin branch protection in a GitHub repository.

Parameters

  • branch_name (string, required) The exact name of the branch to set admin protection. Wildcards not supported.
  • repository_name (string, required) The case-insensitive name of the repository to set admin branch protection for.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.RemovePullRequestReviewProtection


Remove pull request review protection from a branch.

Parameters

  • branch_name (string, required) The specific name of the branch to remove pull request review protection from. Wildcard characters are not allowed.
  • repository_name (string, required) The case-insensitive name of the repository from which to remove pull request review protection.
  • repository_owner (string, required) The account owner of the repository. It’s not case sensitive.

GithubApi.GetPullRequestReviewProtection


Get pull request review protection details for a branch.

Parameters

  • branch_name (string, required) The name of the branch. Cannot contain wildcard characters. For wildcard usage, refer to the GraphQL API.
  • repository_name (string, required) The name of the repository to retrieve pull request review protection details for. This name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. It is not case sensitive and identifies who owns the repository.

GithubApi.UpdatePullRequestReviewProtection


Update pull request review protection settings for a branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner_name (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. This value is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The name of the branch to update. It must not contain wildcard characters. For wildcard support, use the GraphQL API. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.DisableCommitSignatureProtection


Disable required signed commits on a branch.

Parameters

  • branch_name (string, required) The name of the branch where you want to disable commit signature protection. Wildcards are not allowed.
  • repository_name (string, required) The name of the GitHub repository, case insensitive.
  • repository_owner (string, required) The account owner of the repository. Not case sensitive.

GithubApi.CheckBranchCommitSignatureStatus


Check if a branch requires signed commits for protection.

Parameters

  • branch_name (string, required) The name of the branch to check. It cannot contain wildcard characters.
  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The username of the repository owner. It is not case sensitive.

GithubApi.RequireSignedCommitsOnBranch


Enable signed commit requirement on a GitHub branch.

Parameters

  • branch_name (string, required) The name of the branch for which to require signed commits. It cannot contain wildcard characters. For using wildcards, refer to the GitHub GraphQL API.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. Name is not case sensitive.

GithubApi.RemoveStatusCheckProtection


Remove status check protection from a GitHub branch.

Parameters

  • branch_name (string, required) The name of the branch from which you want to remove status check protection. Wildcard characters are not allowed. Use the GraphQL API for wildcard support.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The GitHub username or organization name that owns the repository, case insensitive.

GithubApi.GetBranchProtectionStatusChecks


Retrieve status check protections for a GitHub branch.

Parameters

  • branch_name (string, required) The name of the branch. It must not contain wildcard characters.
  • repository_name (string, required) The name of the GitHub repository to check. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.UpdateBranchStatusCheckProtection


Update status check protection for a GitHub branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The name of the branch for which to update status check protection. Wildcard characters are not allowed. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.RemoveBranchStatusCheckContexts


Remove status check contexts from a protected branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. Enter a GitHub username, which is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository, case insensitive, to target for status check context removal. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The name of the branch from which to remove status check contexts. Cannot contain wildcard characters. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.GetGithubStatusCheckContexts


Retrieve status check contexts for a protected GitHub branch.

Parameters

  • branch_name (string, required) The name of the branch. Cannot include wildcard characters.
  • repository_name (string, required) The name of the GitHub repository. This value is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. The name is not case sensitive.

GithubApi.AddStatusCheckContextsToBranch


Add status check contexts to a protected branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository to add status check contexts to. This is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The name of the branch to add status check contexts to. Cannot contain wildcard characters. Use GraphQL API for wildcards. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.SetBranchStatusCheckContexts


Set status check contexts for a protected branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The name of the branch. It cannot contain wildcard characters. Use the GraphQL API for wildcard support. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.RemoveBranchAccessRestriction


Remove access restrictions from a GitHub branch.

Parameters

  • branch_name (string, required) The name of the branch to remove access restrictions from. Cannot contain wildcard characters.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. The value is not case-sensitive.

GithubApi.GetBranchAccessRestrictions


Retrieve access information for a protected branch.

Parameters

  • branch_name (string, required) The exact name of the branch to retrieve access information for. Wildcard characters are not allowed.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.RemoveGithubAppBranchAccess


Remove an app’s access to a protected GitHub branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner_account (string, optional) The account owner of the repository, case insensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository, not case-sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The name of the branch to remove app access from. Wildcards are not allowed. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.GetAppsWithBranchAccess


Retrieve GitHub Apps with access to a protected branch.

Parameters

  • branch_name (string, required) The name of the branch. Wildcard characters are not allowed; use exact names only.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.

GithubApi.AddAppAccessRestrictions


Grant specified apps push access to a protected branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The repository account owner. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. This is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The name of the branch to grant push access. Cannot contain wildcard characters. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.SetBranchAppAccessRestrictions


Replace apps with push access on a protected branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The exact name of the branch to update app access restrictions for. Wildcard characters are not allowed. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.RemoveTeamAccessFromBranch


Remove a team’s push access to a protected GitHub branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. This is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The exact name of the branch from which to remove team access. Wildcard characters are not allowed. For wildcard usage, employ the GraphQL API. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.GetTeamsWithPushAccessToBranch


Retrieve teams with push access to a protected branch.

Parameters

  • branch_name (string, required) The name of the branch to retrieve teams with push access. Wildcard characters are not allowed.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The GitHub username or organization name that owns the repository. It is not case sensitive.

GithubApi.AddTeamAccessToBranch


Grant push access to teams for a specific branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) Specify the branch name to grant team access. Wildcard characters are not allowed. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.SetGithubBranchTeamAccess


Update the team access restrictions on a GitHub branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository. This value is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The name of the branch. It cannot contain wildcard characters. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.RemoveUserAccessFromBranch


Remove users’ push access from a GitHub branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. This value is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The name of the branch to remove user access from. It must not contain wildcard characters. For using wildcards, refer to the GitHub GraphQL API. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListUsersWithBranchAccess


Retrieve users with push access to a protected branch on GitHub.

Parameters

  • branch_name (string, required) The exact name of the branch to check for push access. Wildcard characters are not allowed.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.GrantPushAccessGithubBranch


Grant push access to specified users for a GitHub branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The name of the branch to grant push access. Cannot contain wildcard characters. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.SetBranchUserAccessRestrictions


Set user access restrictions for a GitHub branch.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository. Note that it is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • branch_name (string, optional) The name of the branch for which to set user access restrictions. Cannot contain wildcard characters. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.RenameGithubBranch


Rename a branch in a GitHub repository.

Parameters

  • current_branch_name (string, required) The current name of the branch to be renamed. Cannot include wildcard characters.
  • new_branch_name (string, required) The new name for the branch. Ensure it doesn’t contain wildcard characters.
  • repository_name (string, required) The name of the GitHub repository. It is case insensitive.
  • repository_owner (string, required) The GitHub account owner of the repository, not case sensitive.

GithubApi.CreateGithubCheckRun


Create a new check run for a GitHub repository commit.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.GetGithubCheckRun


Retrieve a specific GitHub check run by its ID.

Parameters

  • check_run_identifier (integer, required) The unique identifier of the GitHub check run to retrieve.
  • repository_name (string, required) The name of the GitHub repository, not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. The name is not case sensitive.

GithubApi.UpdateCheckRunStatus


Update a check run for a specific commit in a repository.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. This is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository to update the check run. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • check_run_identifier (integer, optional) The unique identifier of the check run to update. This should be an integer value. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListCheckRunAnnotations


Retrieve annotations for a GitHub check run.

Parameters

  • check_run_identifier (integer, required) The ID of the check run to retrieve annotations for.
  • repository_name (string, required) The name of the GitHub repository (case insensitive).
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • results_page_number (integer, optional) Specify the page number to fetch annotations from. Used for paginating results.
  • results_per_page (integer, optional) The number of results per page to return, with a maximum of 100.

GithubApi.TriggerGithubCheckRerequest


Triggers a rerequest for an existing GitHub check run.

Parameters

  • check_run_identifier (integer, required) The unique identifier for the GitHub check run to be rerequested.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner_account (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.CreateGithubCheckSuite


Manually create a check suite on GitHub.

Parameters

  • head_commit_sha (string, required) The SHA of the head commit for the check suite. Ensure it’s a valid commit SHA.
  • repository_name (string, required) The name of the GitHub repository where the check suite will be created. It is not case sensitive.
  • repository_owner_account (string, required) Specify the account owner of the repository. This name is not case sensitive.

GithubApi.SetCheckSuitePreferences


Set preferences for check suite creation in a repository.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. This value is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository. This value is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.GetGithubCheckSuite


Retrieve a GitHub check suite by ID.

Parameters

  • check_suite_id (integer, required) The unique identifier for the GitHub check suite to retrieve.
  • repository_name (string, required) The name of the repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. The name is not case sensitive.

GithubApi.ListGithubCheckRunsForSuite


List check runs for a GitHub check suite using its ID.

Parameters

  • check_suite_identifier (integer, required) The unique identifier of the check suite to list its check runs.
  • repository_name (string, required) The name of the GitHub repository to query. It is not case sensitive.
  • repository_owner (string, required) The account owner’s username of the repository. Case insensitive.
  • check_run_name (string, optional) Returns check runs with the specified name.
  • check_run_status (string, optional) Specify the status of the check runs to be returned. Options: ‘queued’, ‘in_progress’, ‘completed’.
  • filter_by_completion_time (string, optional) Filters check runs by their completed_at timestamp. Use ‘latest’ for the most recent runs or ‘all’ for all runs.
  • result_page_number (integer, optional) Specifies which page of the results to fetch, for paginated data.
  • results_per_page (integer, optional) Sets the number of results to return per page, with a maximum of 100.

GithubApi.RerequestGithubCheckSuite


Rerequest a check suite on GitHub without code changes.

Parameters

  • check_suite_identifier (integer, required) The unique identifier of the GitHub check suite to be rerequested.
  • repository_name (string, required) The name of the repository. It is not case sensitive. Specify the repository whose check suite you want to rerequest.
  • repository_owner (string, required) The account owner of the repository (case insensitive).

GithubApi.ListCodeScanningAlerts


Retrieve code scanning alerts for a repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository for which to list code scanning alerts. This name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • alert_state_filter (string, optional) Filter code scanning alerts by state. Valid options are ‘open’, ‘closed’, ‘dismissed’, and ‘fixed’.
  • code_scanning_tool_guid (string, optional) The GUID of a code scanning tool to filter alerts by this tool only. This can’t be used with ‘tool_name’.
  • code_scanning_tool_name (string, optional) Specify the name of the code scanning tool to filter alerts by this tool only. Use either tool_name or tool_guid, but not both.
  • filter_by_severity (string, optional) Specify the severity of code scanning alerts to filter, using values like ‘critical’, ‘high’, ‘medium’, ‘low’, ‘warning’, ‘note’, or ‘error’.
  • git_reference_for_scan_results (string, optional) The Git reference for listing results. Use refs/heads/<branch> or <branch> for branches, refs/pull/<number>/merge for pull requests.
  • results_page_number (integer, optional) Page number to fetch results from. Use this to navigate through paginated results.
  • results_per_page (integer, optional) The number of results per page, up to a maximum of 100.
  • sort_by_property (string, optional) Property to sort the results by, either ‘created’ or ‘updated’.
  • sort_direction (string, optional) The direction to sort the results. Choose ‘asc’ for ascending or ‘desc’ for descending order.

GithubApi.GetCodeScanningAlert


Retrieve a single code scanning alert from a GitHub repo.

Parameters

  • alert_number (integer, required) The unique number identifying a specific code scanning alert on GitHub. Found at the end of the URL for an alert or in the number field from the GET /repos/{owner}/{repo}/code-scanning/alerts response.
  • repository_name (string, required) The name of the repository. This parameter is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.UpdateGithubCodeScanningAlert


Update the status of a GitHub code scanning alert.

Parameters

  • alert_identifier_number (integer, required) The unique number identifying a GitHub code scanning alert, found at the end of the alert URL or in the response of the alerts list.
  • alert_state (string, required) Specifies the new state of the code scanning alert. Use ‘open’ or ‘dismissed’. Provide dismissed_reason if ‘dismissed’.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is case insensitive.
  • dismissal_comment (string, optional) The comment explaining the reason for dismissing the code scanning alert.
  • dismissed_reason_for_alert (string, optional) Required if the alert state is dismissed. Specify the reason using one of: ‘None’, ‘false positive’, ‘won’t fix’, ‘used in tests’.

GithubApi.ListCodeScanningAlertInstances


Retrieve instances of a specific code scanning alert.

Parameters

  • alert_identifier (integer, required) The unique number identifying the code scanning alert. Find this number at the end of the alert URL in GitHub or in the GET /repos/{owner}/{repo}/code-scanning/alerts response.
  • repository_name (string, required) The name of the repository, not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • git_reference (string, optional) The Git reference for the results you want to list. Format as refs/heads/<branch_name> or <branch_name> for branches, and refs/pull/<number>/merge for pull requests.
  • page_number (integer, optional) Page number of the results to fetch. Use for navigating large sets of alert instances.
  • results_per_page (integer, optional) Specify the number of results to return per page (maximum 100).

GithubApi.ListRecentCodeScanningAnalyses


Retrieve recent code scanning analyses for a repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive, and it should match the GitHub account owning the target repository.
  • code_scanning_tool_guid (string, optional) The GUID of the code scanning tool to filter results. Specify either this or ‘tool_name’, not both.
  • code_scanning_tool_name (string, optional) Specify the name of a code scanning tool to list results by this tool only. Cannot be used with tool_guid.
  • filter_by_sarif_id (string, optional) Filter analyses that belong to a specific SARIF upload by providing the SARIF ID.
  • git_reference_for_analyses (string, optional) The Git reference for analyses; format as refs/heads/<branch> for branches or refs/pull/<number>/merge for pull requests.
  • page_number (integer, optional) The page number of the results to fetch. Used for paginating through the list of analyses.
  • results_per_page (integer, optional) Number of results per page, with a maximum limit of 100.
  • sort_by_property (string, optional) Specify the property for sorting the results. Available option: ‘created’.
  • sort_direction (string, optional) The order to sort results, either ascending (‘asc’) or descending (‘desc’).

GithubApi.DeleteCodeScanningAnalysis


Delete a specific code scanning analysis from a GitHub repository.

Parameters

  • analysis_id (integer, required) The ID of the analysis to delete, obtained from the GET /repos/{owner}/{repo}/code-scanning/analyses endpoint.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • allow_final_analysis_deletion (string, optional) Set to ‘true’ to allow deletion if the analysis is the last in a set, preventing a 400 error.

GithubApi.GetCodeScanningAnalysis


Retrieve detailed code scanning analysis for a GitHub repository.

Parameters

  • analysis_id (integer, required) The ID number of the code scanning analysis to retrieve for the repository. This ID is obtained from the GET /repos/{owner}/{repo}/code-scanning/analyses operation.
  • repository_name (string, required) The name of the GitHub repository. The name is not case sensitive.
  • repository_owner (string, required) Specify the account owner of the repository. The name is not case sensitive.

GithubApi.UploadSarifCodeScanningResults


Upload SARIF data to GitHub for code scanning results.

Parameters

  • base64_compressed_sarif_data (string, required) A Base64-encoded string of the SARIF file compressed using gzip. Ensure proper encoding before upload.
  • commit_sha (string, required) The SHA of the commit associated with the uploaded analysis. This links the SARIF data to a specific point in the repository’s history.
  • git_reference (string, required) The full Git reference. Format: refs/heads/<branch name>, refs/pull/<number>/merge, or refs/pull/<number>/head.
  • repository_name (string, required) The name of the repository. It is not case sensitive and identifies where the SARIF data will be uploaded.
  • repository_owner (string, required) The account owner of the repository on GitHub, not case sensitive.
  • analysis_start_time (string, optional) The timestamp when the analysis run began, in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
  • base_directory_for_analysis (string, optional) The base directory used in the analysis as it appears in the SARIF file to map file paths correctly.
  • tool_name (string, optional) Specifies the tool name used for generating the code scanning analysis. Defaults to ‘API’ if not provided. Supports filtering by tool GUID in alerts operations.

GithubApi.GetSarifAnalysisInfo


Retrieve SARIF upload status and analysis URL.

Parameters

  • repository_name (string, required) The name of the repository. This input is case-insensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. This input is not case sensitive.
  • sarif_id (string, required) The SARIF ID obtained after uploading. It is used to retrieve analysis details.

GithubApi.ListCodeownersErrors


Identify syntax errors in a repository’s CODEOWNERS file.

Parameters

  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. It is not case sensitive.
  • version_reference (string, optional) Specify the branch, tag, or commit name to select the CODEOWNERS file version. Defaults to the repository’s default branch if not provided.

GithubApi.ListGithubRepoCollaborators


Retrieve collaborators of a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. This name is not case sensitive.
  • filter_by_affiliation (string, optional) Filter collaborators by affiliation: ‘outside’, ‘direct’, or ‘all’.
  • filter_by_permission (string, optional) Specify the permission level (‘pull’, ‘triage’, ‘push’, ‘maintain’, ‘admin’) to filter the repository collaborators. Returns all collaborators if not specified.
  • results_page_number (integer, optional) The page number of results to retrieve when querying the list of collaborators.
  • results_per_page (integer, optional) The number of results per page to return, with a maximum of 100.

GithubApi.RemoveRepoCollaborator


Remove a collaborator from a GitHub repository.

Parameters

  • collaborator_username (string, required) The GitHub user handle for the collaborator to be removed.
  • repository_name (string, required) The name of the GitHub repository, case insensitive.
  • repository_owner_name (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.CheckGithubRepoCollaborator


Check if a user is a collaborator on a GitHub repository.

Parameters

  • github_user_handle (string, required) The GitHub username to check collaboration status for.
  • repository_name (string, required) The name of the GitHub repository, case-insensitive.
  • repository_owner (string, required) The account owner of the GitHub repository, not case sensitive.

GithubApi.AddOrUpdateGithubCollaborator


Add or update a collaborator on a GitHub repository.

Parameters

  • github_user_handle (string, required) The GitHub user handle for the collaborator to be added or updated.
  • repository_name (string, required) The name of the GitHub repository. This input is not case sensitive.
  • repository_owner (string, required) The GitHub username of the account owner of the repository. This is not case sensitive.
  • permission_level_for_github_collaborator (string, optional) Specify the permission to grant or update for a collaborator on an organization-owned GitHub repository. Only valid for such repositories.

GithubApi.CheckRepoCollaboratorPermission


Check a collaborator’s permission level in a GitHub repo.

Parameters

  • collaborator_username (string, required) The GitHub user account handle to check permissions for.
  • repository_name (string, required) The name of the GitHub repository (case insensitive).
  • repository_owner (string, required) The account owner of the repository (not case sensitive).

GithubApi.ListRepoCommitComments


Retrieve commit comments for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This name is not case sensitive.
  • results_page_number (integer, optional) Specify the page number of commit comments to fetch from the repository.
  • results_per_page (integer, optional) Number of commit comments to retrieve per page, with a maximum of 100.

GithubApi.DeleteGithubCommitComment


Deletes a specific commit comment on GitHub.

Parameters

  • comment_id (integer, required) The unique identifier of the commit comment to be deleted.
  • repository_name (string, required) The name of the GitHub repository. This value is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. It is not case sensitive.

GithubApi.GetGithubCommitComment


Retrieve details of a specific commit comment on GitHub.

Parameters

  • comment_identifier (integer, required) The unique identifier for the GitHub commit comment to be retrieved.
  • repository_name (string, required) The name of the repository. This value is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.UpdateCommitComment


Update a comment on a GitHub commit.

Parameters

  • comment_contents (string, required) The updated text of the commit comment. Enter the new content you wish to save.
  • comment_unique_id (integer, required) The unique identifier for the commit comment being updated. It is an integer value that specifies the comment to be edited within the repository.
  • repository_name (string, required) The name of the repository. This is not case sensitive. Provide the repository’s exact name as it appears on GitHub.
  • repository_owner (string, required) The GitHub account owner of the repository. This name is not case sensitive.

GithubApi.ListCommitCommentReactions


Retrieve reactions for a GitHub commit comment.

Parameters

  • comment_id (integer, required) The unique identifier for the commit comment you want to retrieve reactions for.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive and identifies the repository within the specified owner’s account.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • reaction_type (string, optional) Filter results to show only a specific reaction type. Omit to list all reactions.
  • results_page_number (integer, optional) Page number of the results to fetch, used for pagination.
  • results_per_page (integer, optional) Specifies the number of results to return per page, with a maximum of 100.

GithubApi.AddReactionToCommitComment


Add a reaction to a GitHub commit comment.

Parameters

  • comment_id (integer, required) The unique identifier of the GitHub commit comment to which the reaction will be added.
  • reaction_type (string, required) The type of reaction to add to the commit comment, e.g., ‘+1’, ‘heart’, ‘laugh’.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The GitHub username of the repository owner. This value is case-insensitive.

GithubApi.DeleteCommitCommentReaction


Delete a reaction from a commit comment on GitHub.

Parameters

  • comment_unique_identifier (integer, required) The unique identifier for the specific commit comment you want to target.
  • reaction_unique_identifier (integer, required) The unique identifier for the reaction to be deleted from a commit comment.
  • repository_name (string, required) The case-insensitive name of the repository.
  • repository_owner (string, required) The account owner of the repository. It is not case sensitive.

GithubApi.CheckCommitSignatureVerification


Fetches verification status of a commit’s signature on GitHub.

Parameters

  • repository_name (string, required) The name of the repository to verify the commit signature. Not case-sensitive.
  • repository_owner (string, required) The account owner of the repository. This value is not case sensitive.
  • commit_author_filter (string, optional) GitHub login or email address to filter commits by author.
  • commit_file_path_filter (string, optional) Specify a file path to filter commits that only include changes to this path.
  • only_commits_before_date (string, optional) Filter commits to only include those before this date, formatted as YYYY-MM-DDTHH:MM:SSZ.
  • results_page_number (integer, optional) Page number of the results to fetch, used for pagination.
  • results_per_page (integer, optional) Specifies the number of commits to return per page, up to a maximum of 100.
  • start_commit_sha_or_branch (string, optional) SHA or branch to start listing commits from. Defaults to the repository’s default branch, usually ‘main’.
  • updated_after_timestamp (string, optional) Timestamp in ISO 8601 format to filter notifications updated after this time.

GithubApi.ListBranchesForCommit


Retrieve branches for a specific commit in a GitHub repository.

Parameters

  • commit_sha (string, required) The SHA hash of the commit used to identify specific branches where this commit is the HEAD in a GitHub repository.
  • repository_name (string, required) The name of the GitHub repository. Not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository, not case sensitive.

GithubApi.ListCommitComments


Retrieve comments for a specific commit in a GitHub repo.

Parameters

  • commit_sha (string, required) The SHA string representing the specific commit to retrieve comments for.
  • repository_name (string, required) The case-insensitive name of the GitHub repository.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive and identifies the GitHub user or organization that owns the repository.
  • results_page_number (integer, optional) The page number of results to fetch for commit comments. Useful for paginating through large sets of comments.
  • results_per_page (integer, optional) The number of comments to return per page, with a maximum of 100.

GithubApi.CreateGithubCommitComment


Create a comment on a specific GitHub commit.

Parameters

  • comment_content (string, required) The text of the comment to be added to the commit. It should be a clear and concise message.
  • commit_sha (string, required) The SHA identifier of the commit to comment on. It uniquely identifies the commit within the repository.
  • repository_name (string, required) The name of the GitHub repository where the commit resides. It’s not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. Name is not case sensitive.
  • deprecated_line_number (integer, optional) Line number in the file to comment on. Deprecated. Use the position_in_diff instead.
  • line_index_in_diff (integer, optional) Line index in the diff to comment on.
  • relative_file_path (string, optional) Relative path of the file to comment on within the repository.

GithubApi.ListPullRequestsForCommit


Retrieve pull requests linked to a specific commit.

Parameters

  • commit_sha (string, required) The SHA identifier of the commit to fetch associated pull requests.
  • repository_name (string, required) The name of the repository (not case sensitive).
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • results_page_number (integer, optional) Page number of the results to fetch from the list of pull requests associated with the commit.
  • results_per_page (integer, optional) Number of results per page, with a maximum of 100.

GithubApi.GetCommitDetails


Retrieve details of a single commit reference.

Parameters

  • commit_reference (string, required) The reference string (branch name, tag, or commit SHA) for the commit to fetch details about.
  • repository_name (string, required) The name of the repository. This is not case sensitive and required to identify the repository from which to fetch commit details.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.
  • results_page_number (integer, optional) The page number of the commit results to fetch from the API. Use for pagination.
  • results_per_page (integer, optional) Specify the number of results to return per page, up to a maximum of 100.

GithubApi.ListCheckRunsForCommitRef


Lists check runs for a given commit reference.

Parameters

  • commit_reference (string, required) The commit reference, which can be a SHA, branch name, or tag name, to list check runs for.
  • repository_name (string, required) The name of the repository. Input is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive and refers to the GitHub username or organization name.
  • application_id (integer, optional) Optional integer identifier for a GitHub App to filter check runs created by that app.
  • check_run_name (string, optional) Specify a name to filter check runs by their name.
  • check_run_status (string, optional) Filter check runs by specifying the status (‘queued’, ‘in_progress’, ‘completed’).
  • filter_by_completion_timestamp (string, optional) Specify ‘latest’ to return the most recent check runs or ‘all’ to include all completed check runs.
  • results_page_number (integer, optional) The specific page number of results to retrieve, used for pagination.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.

GithubApi.ListCheckSuitesForRef


List check suites for a specific commit reference.

Parameters

  • commit_reference (string, required) The commit ref, which can be a SHA, branch name, or tag name. Used to list check suites.
  • repository_name (string, required) The name of the repository to query. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository, case insensitive.
  • github_app_id_filter (integer, optional) Filter check suites by the GitHub App ID to narrow results to relevant checks associated with a specific application.
  • results_page_number (integer, optional) Specifies which page of results to fetch. Useful for paginating through a list of check suites.
  • results_per_page (integer, optional) Specify the number of results to return per page. The maximum is 100.
  • specific_check_name (string, optional) Specify the name of the check run to filter the results.

GithubApi.GetCombinedCommitStatus


Retrieve the combined status of a commit for a given reference.

Parameters

  • reference_specifier (string, required) The ref parameter specifying the SHA, branch name, or tag name for the commit status.
  • repository_name (string, required) The name of the repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is a case-insensitive string.
  • results_page_number (integer, optional) The page number of commit status results to fetch. Useful for pagination.
  • results_per_page (integer, optional) The number of results to include per page, with a maximum limit of 100.

GithubApi.GetCommitStatuses


Retrieve commit statuses for a specific ref in a repository.

Parameters

  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The GitHub username or organization name that owns the repository. This is not case sensitive.
  • repository_reference (string, required) The reference for the commit, which can be a SHA, branch name, or tag name. It specifies the ref to fetch statuses for in the repository.
  • results_page_number (integer, optional) The page number to fetch the results from, useful for pagination.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.

GithubApi.CompareGithubCommits


Compares two commits in a GitHub repository.

Parameters

  • base_and_head_branch_comparison (string, required) Specify branches/base and head in the format BASE...HEAD or USERNAME:BASE...USERNAME:HEAD to compare them.
  • repository_name (string, required) The name of the GitHub repository to compare commits in. This input is not case sensitive.
  • repository_owner (string, required) The username of the account that owns the repository. This name is not case sensitive.
  • page_number (integer, optional) Page number of the results to fetch. Used for pagination to navigate through commit comparisons.
  • results_per_page (integer, optional) Specifies the number of commit results returned per page. Maximum allowed is 100.

GithubApi.DeleteGithubFile


Delete a file from a GitHub repository.

Parameters

  • commit_message (string, required) The commit message explaining why the file is being deleted. This information is mandatory.
  • file_path (string, required) The file path in the repository to be deleted. This path is case-sensitive.
  • file_sha_to_delete (string, required) The SHA of the file to be deleted. This is required to identify the specific file version in the repository.
  • repository_name (string, required) The name of the GitHub repository from which the file will be deleted. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository in a case-insensitive format.
  • author_email (string, optional) Email of the author or committer for the commit. Required if using author or committer details.
  • author_name (string, optional) The name of the author or committer of the commit. Required if ‘author’ is used.
  • branch_name (string, optional) The name of the branch from which to delete the file. Defaults to the repository’s default branch (usually ‘master’).
  • committer_email (string, optional) The email of the committer for the commit. This is required for deleting a file.
  • committer_name (string, optional) The name of the committer or author of the commit for deleting the file.

GithubApi.GetGithubRepoContent


Retrieve file or directory contents from a GitHub repository.

Parameters

  • file_or_directory_path (string, required) The file or directory path within the repository. If omitted, the root directory is accessed.
  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This value is not case sensitive.
  • commit_branch_or_tag (string, optional) The name of the commit, branch, or tag to retrieve content from. Defaults to the repository’s default branch, usually ‘master’.

GithubApi.UpdateOrCreateGithubFile


Create or update a file in a GitHub repository.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the GitHub repository, not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • file_path_in_repository (string, optional) The file path within the repository where the file will be created or updated. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListGithubRepoContributors


Retrieve contributors for a specific GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. This value is not case sensitive.
  • include_anonymous_contributors (string, optional) Set to 1 or true to include anonymous contributors in the results.
  • results_page_number (integer, optional) Specifies the page number of contributors to fetch. Use this to navigate through paginated results. Each page contains a subset of contributors, with ‘per_page’ controlling the number of contributors per page.
  • results_per_page (integer, optional) The number of results per page, with a maximum of 100.

GithubApi.ListDependabotAlertsForRepo


Retrieve Dependabot alerts for a specific repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This is case insensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. This name is not case sensitive.
  • alert_states_filter (string, optional) A comma-separated list of alert states to filter results by. Options: dismissed, fixed, open.
  • before_cursor (string, optional) Cursor indicating the position to fetch results before this point.
  • cursor_after (string, optional) A cursor to fetch results after a specified point. Helps in pagination by retrieving alerts following the given cursor position.
  • deprecated_page_number (integer, optional) Deprecated. Use to specify the page number of results to fetch. Prefer using before or after cursors.
  • ecosystem_filter (string, optional) Comma-separated list of ecosystems to filter alerts by: composer, go, maven, npm, nuget, pip, pub, rubygems, rust.
  • fetch_deprecated_first_page_results (integer, optional) Deprecated. Number of results per page (max 100), starting from the first result. Avoid using with last. Use per_page and after instead.
  • fetch_last_page_results (integer, optional) Deprecated: Use per_page with before instead. Fetch results per page from the last result (max 100).
  • manifest_paths (string, optional) Comma-separated list of full manifest paths to filter alerts by those manifests.
  • package_names (string, optional) A comma-separated list of package names. Only alerts for these packages will be returned.
  • results_per_page (integer, optional) Specifies the number of results to be returned per page, with a maximum limit of 100.
  • severity_filter (string, optional) Provide a comma-separated list of severities: low, medium, high, critical. Filters alerts by these severities.
  • sort_by (string, optional) Sort alerts by created or updated date. Created means when the alert was created, updated means when the alert’s state last changed.
  • sort_results_direction (string, optional) Specify the order to sort the results: asc for ascending or desc for descending.
  • vulnerable_dependency_scope (string, optional) Specifies the scope of the vulnerable dependency to filter alerts. Options: ‘development’ or ‘runtime’.

GithubApi.GetDependabotAlert


Retrieve details of a specific Dependabot alert.

Parameters

  • dependabot_alert_number (integer, required) The identifier number for the Dependabot alert in the repository. Obtainable from the alert URL or response from GET /repos/{owner}/{repo}/dependabot/alerts.
  • repository_name (string, required) The name of the repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.UpdateGithubDependabotAlert


Update a GitHub Dependabot alert.

Parameters

  • alert_identifier (integer, required) The unique number identifying a Dependabot alert in the repository. Find this at the end of the alert URL or in number fields from the GET /repos/{owner}/{repo}/dependabot/alerts response.
  • alert_state (string, required) Specifies the state of the Dependabot alert. Use ‘dismissed’ to dismiss an alert and ‘open’ to keep it open. A ‘dismissed_reason’ is required when setting to ‘dismissed’.
  • repository_name (string, required) The name of the GitHub repository to update. It is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. Not case sensitive.
  • dismissed_alert_comment (string, optional) An optional comment to provide context when dismissing the alert.
  • dismissed_reason_for_alert (string, optional) Reason for dismissing the alert. Required if state is set to dismissed. Allowed values: ‘fix_started’, ‘inaccurate’, ‘no_bandwidth’, ‘not_used’, ‘tolerable_risk’.

GithubApi.ListGitRepoSecrets


Retrieve a list of secrets in a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • results_page_number (integer, optional) Specifies the page number of results to retrieve from the repository secrets list.
  • results_per_page (integer, optional) The number of secret results to display per page, maximum of 100.

GithubApi.GetGithubRepoPublicKey


Retrieve the public key for encrypting repository secrets.

Parameters

  • repository_name (string, required) The name of the GitHub repository, not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.RemoveGithubRepoSecret


Delete a secret from a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository, not case sensitive.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.
  • secret_name (string, required) The name of the secret to be deleted from the repository.

GithubApi.GetRepoSecretInfo


Retrieve metadata of a repository secret from GitHub.

Parameters

  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository, case insensitive.
  • secret_name (string, required) The name of the secret to retrieve metadata for. Case insensitive.

GithubApi.ManageGithubRepoSecret


Create or update an encrypted GitHub repository secret.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive. Specify the GitHub username or organization name.
  • secret_name (string, required) The name of the repository secret to create or update. Case insensitive.
  • encrypted_secret_value (string, optional) The secret’s value encrypted using LibSodium and a public key from the repository’s public key endpoint.
  • encryption_key_id (string, optional) The ID of the key used to encrypt the secret. This key is retrieved from GitHub’s repository public key endpoint.

GithubApi.CompareDependencyChanges


Get dependency changes between two commits of a repository.

Parameters

  • base_and_head_commit_specification (string, required) Specify the base and head commits in the format {base}...{head} for comparison.
  • repository_name (string, required) The name of the repository to compare. It is not case sensitive.
  • repository_owner_name (string, required) The account owner of the repository. The name is not case sensitive.
  • dependency_manifest_file_path (string, optional) The full path, relative to the repository root, of the dependency manifest file.

GithubApi.CreateRepoDependencySnapshot


Create a snapshot of a repository’s dependencies.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the GitHub repository. This name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository to create a dependency snapshot for. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListGithubDeployments


Retrieve deployments from a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • commit_sha (string, optional) The commit SHA recorded at deployment creation time for filtering deployments.
  • deployment_environment (string, optional) Specify the environment that was deployed to, such as ‘staging’ or ‘production’.
  • deployment_task_name (string, optional) The specific task name for the deployment, like deploy or deploy:migrations.
  • repository_ref (string, optional) The name of the ref. This can be a branch, tag, or SHA to filter deployments by.
  • results_page_number (integer, optional) Specifies which page of deployment results to fetch. Used for pagination to navigate through multiple pages of results.
  • results_per_page (integer, optional) The number of results to return per page, with a maximum of 100.

GithubApi.CreateGithubDeployment


Create a GitHub deployment for a specified repository ref.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. This input is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository to deploy. Not case-sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.DeleteGithubDeployment


Delete a GitHub repository deployment.

Parameters

  • deployment_id (integer, required) The unique identifier of the GitHub deployment to be deleted. This should be an integer.
  • repository_name (string, required) The name of the repository. This name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.GetGithubDeploymentStatus


Retrieve details of a specific GitHub deployment.

Parameters

  • deployment_id (integer, required) The unique identifier for the deployment to retrieve details about.
  • repository_name (string, required) The name of the GitHub repository, not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive.

GithubApi.ListGithubDeploymentStatuses


Retrieve deployment statuses for a specified GitHub deployment.

Parameters

  • deployment_id (integer, required) The unique identifier of the deployment to retrieve statuses for. Must be an integer.
  • repository_name (string, required) The case-insensitive name of the GitHub repository.
  • repository_owner (string, required) The GitHub username or organization that owns the repository. This is not case sensitive.
  • results_page_number (integer, optional) The specific page number of deployment statuses to fetch. Used for pagination.
  • results_per_page (integer, optional) The number of results to return per page, up to a maximum of 100.

GithubApi.CreateGithubDeploymentStatus


Create deployment statuses for a GitHub deployment.

Parameters

  • deployment_id (integer, required) The unique identifier for the deployment. This integer value specifies which deployment the status will be associated with.
  • deployment_status_state (string, required) The desired state of the deployment status. Options include: ‘error’, ‘failure’, ‘inactive’, ‘in_progress’, ‘queued’, ‘pending’, ‘success’.
  • repository_name (string, required) The name of the GitHub repository. Case insensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • add_inactive_status_to_previous_deployments (boolean, optional) Specifies if an ‘inactive’ status should be added to prior non-transient, non-production deployments with the same repository and environment. Defaults to true.
  • deployment_environment (string, optional) Specifies the target deployment environment, such as production, staging, or qa.
  • deployment_environment_url (string, optional) Sets the URL for accessing your deployment environment. Defaults to an empty string if not provided.
  • deployment_output_url (string, optional) The full URL of the deployment’s output. It replaces target_url and automatically sets target_url to the same value. Recommended for output logs.
  • deployment_status_target_url (string, optional) Specify the URL containing output related to the deployment status. Note that it’s recommended to use log_url instead, which replaces this parameter.
  • status_description (string, optional) A brief description of the deployment status, up to 140 characters.

GithubApi.FetchDeploymentStatusGithub


Retrieve a deployment status from a GitHub repository.

Parameters

  • deployment_id (integer, required) The unique identifier of the deployment to retrieve the status for. Must be an integer.
  • deployment_status_id (integer, required) The unique integer identifier for the deployment status in the GitHub repository.
  • repository_name (string, required) The name of the repository (case-insensitive).
  • repository_owner (string, required) The GitHub account owner of the repository. Not case sensitive.

GithubApi.TriggerGithubDispatchEvent


Triggers a GitHub repository dispatch event.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) Specify the GitHub username or organization name that owns the repository. This is not case-sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. This is not case sensitive and determines which repository’s dispatch event will be triggered. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListRepositoryEnvironments


Retrieve environments for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository to retrieve environments for. This name is not case-sensitive.
  • repository_owner (string, required) The GitHub username of the repository owner. Case insensitive.
  • results_page_number (integer, optional) The number of the page to retrieve for paginated results.
  • results_per_page (integer, optional) The number of results to retrieve per page, with a maximum of 100.

GithubApi.DeleteRepoEnvironment


Deletes a specific environment in a GitHub repository.

Parameters

  • environment_name (string, required) The name of the GitHub repository environment to delete. This field is case insensitive.
  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This value is not case sensitive. Specify the GitHub username or organization handle that owns the repository.

GithubApi.GetGithubRepoEnvironmentDetails


Retrieve details about a GitHub repository environment.

Parameters

  • environment_name (string, required) The name of the environment to retrieve details for. It is case insensitive.
  • repository_name (string, required) The name of the GitHub repository (not case sensitive).
  • repository_owner_account_name (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.GithubManageEnvironment


Create or update a GitHub environment with protection rules.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository. This value is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • environment_name (string, optional) The name of the GitHub environment to create or update. This should be a string that accurately identifies the environment within the repository. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListDeploymentBranchPolicies


Lists deployment branch policies for a GitHub environment.

Parameters

  • environment_name (string, required) The name of the environment for which to list branch policies. This should match an existing environment in the repository.
  • repository_name (string, required) The name of the repository, not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Input is not case sensitive.
  • result_page_number (integer, optional) The page number of the results to retrieve. Use this to navigate through paginated results.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.CreateGithubDeploymentBranchPolicy


Creates a deployment branch policy for a GitHub environment.

Parameters

  • branch_name_pattern (string, required) A pattern that branches must match to deploy to the environment. Wildcard characters won’t match ’/’.
  • environment_name (string, required) The name of the environment for which to create a deployment branch policy.
  • repository_name (string, required) The name of the GitHub repository, not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Case insensitive.

GithubApi.DeleteDeploymentBranchPolicy


Delete a deployment branch policy for a GitHub environment.

Parameters

  • branch_policy_identifier (integer, required) The unique identifier of the branch policy to be deleted.
  • environment_name (string, required) The name of the GitHub environment for which the deployment branch policy will be deleted.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.GetDeploymentBranchPolicy


Retrieve deployment branch policy for a specific environment.

Parameters

  • branch_policy_identifier (integer, required) The unique identifier of the branch policy in the environment. Should be an integer value.
  • environment_name (string, required) The name of the environment for which the deployment branch policy is being retrieved.
  • repository_name (string, required) The name of the repository. Not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. This is case insensitive.

GithubApi.UpdateDeploymentBranchPolicy


Update a deployment branch policy for a GitHub environment.

Parameters

  • branch_name_pattern (string, required) Pattern that branches must match to deploy to the environment. Wildcards won’t match ’/’. See Ruby File.fnmatch for syntax.
  • branch_policy_identifier (integer, required) The unique identifier for the branch policy to be updated.
  • environment_name (string, required) The name of the environment for which the deployment branch policy is being updated.
  • repository_name (string, required) The name of the GitHub repository. The name is not case sensitive.
  • repository_owner (string, required) The GitHub username or organization name of the repository owner. It is case insensitive.

GithubApi.ListGithubRepoEvents


Retrieve GitHub repository events.

Parameters

  • repository_name (string, required) The name of the GitHub repository. The name is not case sensitive.
  • repository_owner_name (string, required) The username of the account owner of the repository, case insensitive.
  • results_page_number (integer, optional) Specify the page number of the repository events to fetch. Useful for paginating results.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum limit of 100.

GithubApi.ListGithubRepoForks


Fetches the list of forks for a specified GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive and specifies whose repository to list forks from.
  • results_page_number (integer, optional) Specifies the page number for paginated results when listing forks.
  • results_per_page (integer, optional) The number of results to return per page, with a maximum of 100.
  • sort_order (string, optional) The order to sort the forks. Options: ‘newest’, ‘oldest’, ‘stargazers’, or ‘watchers’.

GithubApi.CreateGithubFork


Create a fork of a GitHub repository for the user.

Parameters

  • repository_name (string, required) The name of the GitHub repository to fork. It’s not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. This name is not case-sensitive.
  • fork_default_branch_only (boolean, optional) Set to true to fork only the default branch of the repository.
  • new_fork_name (string, optional) Specify a new name for the forked repository when forking an existing repository.
  • organization_name (string, optional) Optional. Specify the organization name to fork into. If not provided, the fork will default to the user’s account.

GithubApi.CreateGithubBlob


Create a new blob in a GitHub repository.

Parameters

  • blob_content (string, required) The content for the new GitHub blob. Accepts text or encoded binary data.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. This is not case sensitive.
  • content_encoding (string, optional) Specify the encoding for the blob content. Supported values are ‘utf-8’ and ‘base64’.

GithubApi.GetGithubBlobContent


Retrieve Base64 encoded content of a GitHub blob.

Parameters

  • file_sha_identifier (string, required) The SHA identifier for the blob. This is used to access the specific file blob from the GitHub repository.
  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This name is not case sensitive.

GithubApi.CreateGitCommit


Create a new Git commit on a GitHub repository.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. This name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository (case insensitive). Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.FetchCommitInfo


Retrieve details and signature verification for a Git commit.

Parameters

  • commit_sha (string, required) The SHA hash of the commit to retrieve details and verification status for.
  • repository_name (string, required) The name of the repository to query. This input is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.ListGitMatchingRefs


Retrieve Git references matching a specific name pattern.

Parameters

  • reference_pattern (string, required) The pattern to match against Git references (e.g., heads/branch or tags/tag). Leave empty to retrieve all references.
  • repository_name (string, required) The name of the repository to search for references. This name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive. Specify the username or organization name that owns the repository.

GithubApi.GetGitReference


Fetch a specific Git reference from a repository.

Parameters

  • git_reference (string, required) The reference to the Git branch or tag, formatted as heads/<branch name> or tags/<tag name>.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.CreateGitReference


Create a new reference in a GitHub repository.

Parameters

  • full_reference_name (string, required) The fully qualified reference name (e.g., ‘refs/heads/master’). Must start with ‘refs’ and include at least two slashes.
  • reference_sha (string, required) The SHA-1 value for the reference. Required for creating a new reference in the repository.
  • repository_name (string, required) The case-insensitive name of the GitHub repository to create a reference in.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.
  • authentication_token (string, optional) The GitHub authentication token required to authorize the API request.

GithubApi.DeleteGitReference


Deletes a specified Git reference in a repository.

Parameters

  • git_reference_to_delete (string, required) The Git reference to delete, such as a branch or tag name. This should match the exact format used in the repository.
  • repository_name (string, required) The name of the repository to delete the reference from. It is not case sensitive.
  • repository_owner (string, required) The GitHub username of the repository owner. This is not case sensitive.

GithubApi.UpdateGitReference


Update a Git reference in a GitHub repository.

Parameters

  • fully_qualified_reference_name (string, required) The fully qualified reference to update, e.g., refs/heads/master. Must start with refs and include at least two slashes.
  • repository_name (string, required) The name of the repository in GitHub. It is not case sensitive.
  • repository_owner (string, required) The GitHub username or organization name that owns the repository. Not case sensitive.
  • target_sha1_value (string, required) The SHA1 value to set the Git reference to. This should be a valid commit SHA in the repository.
  • force_update (boolean, optional) Set to true to force the update and allow overwriting. False ensures a fast-forward update, preventing overwriting.

GithubApi.CreateGitTag


Create a Git tag object on GitHub.

Parameters

  • git_object_sha (string, required) The SHA of the Git object to tag, typically a commit, tree, or blob.
  • repository_name (string, required) The name of the repository. This value is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • tag_message (string, required) The message or description for the tag, providing context or details about it.
  • tag_name (string, required) The name of the tag, typically a version (e.g., ‘v0.0.1’).
  • tag_object_type (string, required) Specifies the type of the object being tagged. Acceptable values are ‘commit’, ‘tree’, or ‘blob’.
  • author_of_tag_name (string, optional) The name of the author of the tag. It should be a string providing the full name.
  • tagger_email (string, optional) The email address of the tag author. This should be in a valid email format.
  • tagging_date (string, optional) The date and time when the object was tagged, in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

GithubApi.GetGitTagSignatureVerification


Retrieve verification details of a git tag signature.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This value is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. This name is not case sensitive.
  • tag_sha (string, required) The SHA hash identifier of the git tag to be verified. This should be a string.

GithubApi.CreateGitTree


Create or modify a git tree in a GitHub repository.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The GitHub account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.GetGitTree


Fetch a git tree by its SHA1 value from a GitHub repo.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This is case-insensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • tree_sha (string, required) The SHA1 value of the tree to fetch. This identifier is necessary to specify which tree structure should be retrieved from the repository.
  • enable_recursive_retrieval (string, optional) If set, returns objects/subtrees referenced by the provided tree SHA. Use values: ‘0’, ‘1’, ‘true’, ‘false’. Omit to disable recursion.

GithubApi.ListRepositoryWebhooks


Retrieve webhooks for a specified GitHub repository.

Parameters

  • repository_name (string, required) The name of the repository. This value is not case sensitive.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.
  • result_page_number (integer, optional) The page number of webhooks results to fetch from the repository.
  • results_per_page (integer, optional) Specify the number of webhooks to list per page, with a maximum of 100.

GithubApi.CreateGithubRepoWebhook


Create a webhook for a GitHub repository.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the GitHub repository. It is case insensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.DeleteRepoWebhook


Delete a webhook from a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This input is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This name is not case sensitive. Provide the GitHub username or organization name.
  • webhook_identifier (integer, required) The unique integer identifier of the webhook to be deleted.

GithubApi.GetRepoWebhook


Retrieve the webhook configuration for a specific repository.

Parameters

  • repository_name (string, required) The name of the repository. This value is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • webhook_id (integer, required) The unique identifier of the webhook to be retrieved.

GithubApi.UpdateGithubRepoWebhook


Update a webhook for a GitHub repository.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository to update. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • webhook_unique_identifier (integer, optional) The unique identifier of the webhook to be updated. It must be an integer. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.GetRepoWebhookConfig


Get the webhook configuration for a GitHub repository.

Parameters

  • hook_identifier (integer, required) The unique identifier for the webhook. This is required to retrieve the specific webhook configuration for a repository.
  • repository_name (string, required) The name of the GitHub repository. Not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Provide a non-case sensitive username.

GithubApi.UpdateRepoWebhookConfig


Update GitHub repository webhook configuration settings.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. Not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • webhook_hook_id (integer, optional) The unique identifier of the webhook to update in the repository. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListGithubWebhookDeliveries


Fetch webhook delivery events for a specific GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository (case insensitive).
  • repository_owner (string, required) The account owner of the repository. Not case sensitive.
  • webhook_hook_id (integer, required) The unique identifier of the webhook. This is necessary to fetch the specific webhook deliveries for the repository.
  • include_redelivered_events (boolean, optional) Include redelivered webhook events in the results if set to true.
  • pagination_start_cursor (string, optional) The starting point for fetching the page of deliveries. Use the link header for next/previous page cursors.
  • results_per_page (integer, optional) The maximum number of webhook delivery results to fetch per page, up to 100.

GithubApi.GetWebhookDelivery


Retrieve a specific webhook delivery from a repository.

Parameters

  • hook_identifier (integer, required) The unique identifier of the webhook within a repository. It is an integer value required to specify which webhook’s delivery information to retrieve.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.
  • webhook_delivery_id (integer, required) The unique identifier of the specific webhook delivery to retrieve details for. This is an integer value.

GithubApi.RedeliverGithubWebhook


Redelivers a webhook delivery for a GitHub repository.

Parameters

  • hook_unique_identifier (integer, required) The unique identifier for the GitHub webhook hook. This ID is required to specify which webhook to redeliver.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The repository’s account owner. The name is not case sensitive.
  • webhook_delivery_id (integer, required) The unique identifier for the webhook delivery attempt to be redelivered.

GithubApi.SendPingEventToWebhook


Triggers a ping event to a GitHub webhook.

Parameters

  • repository_name (string, required) The name of the GitHub repository. Case insensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. This name is not case-sensitive.
  • webhook_identifier (integer, required) The unique identifier of the GitHub webhook to send the ping event to. Must be an integer.

GithubApi.TriggerGithubWebhookTest


Trigger a GitHub webhook test with the latest push event.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This parameter is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive.
  • webhook_identifier (integer, required) The unique identifier of the webhook to be tested. This integer value specifies which webhook to trigger in the repository.

GithubApi.GetGithubAppRepoInstallation


Fetches GitHub App installation info for a repository.

Parameters

  • repository_name (string, required) The name of the repository. It is not case sensitive and identifies the specific repository for which to retrieve GitHub App installation information.
  • repository_owner (string, required) The account owner’s name for the repository, not case sensitive.

GithubApi.ListRepoInvitations


List open invitations for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the repository. It’s not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. The name is not case sensitive.
  • results_page_number (integer, optional) Specifies the page number to fetch results from, used for pagination.
  • results_per_page (integer, optional) The number of invitations to display per page, with a maximum limit of 100.

GithubApi.DeleteRepoInvitation


Delete a repository invitation on GitHub.

Parameters

  • invitation_id (integer, required) The unique identifier for the repository invitation to be deleted. It must be an integer.
  • repository_name (string, required) The name of the GitHub repository to delete the invitation from. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This value is not case sensitive.

GithubApi.UpdateRepoInvitation


Update a repository invitation on GitHub.

Parameters

  • invitation_id (integer, required) The unique identifier of the invitation to be updated. It must be an integer.
  • repository_name (string, required) The name of the repository to update the invitation for. It is not case sensitive.
  • repository_owner (string, required) The GitHub username of the account owner of the repository. It’s not case sensitive.
  • user_permissions (string, optional) Specify the permission level for the user on the repository. Valid values are read, write, maintain, triage, and admin.

GithubApi.ListGithubIssuesForRepo


Retrieve open issues from a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository to fetch issues from. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • assignee_filter (string, optional) Filter issues by assignee. Use a username, none for unassigned, or * for any assignee.
  • issue_creator (string, optional) The GitHub username of the person who created the issue.
  • issue_labels (string, optional) Comma separated list of label names to filter issues, e.g., ‘bug,ui,@high’.
  • issue_state (string, optional) Indicates the state of issues to retrieve: ‘open’, ‘closed’, or ‘all’.
  • mentioned_user (string, optional) A GitHub username to filter issues where this user is mentioned.
  • milestone_identifier (string, optional) Filter issues by milestone. Use an integer for a specific milestone, ”*” for any milestone, or “none” for no milestones.
  • results_page_number (integer, optional) Specifies which page of results to fetch. Use an integer value to navigate through paginated results.
  • results_per_page (integer, optional) Number of results per page, up to a maximum of 100.
  • sort_direction (string, optional) The direction to sort the results by. Use ‘asc’ for ascending and ‘desc’ for descending.
  • sort_issues_by (string, optional) Specify sorting criteria for issues: ‘created’, ‘updated’, or ‘comments’.
  • updated_since_timestamp (string, optional) Only show issues or pull requests updated after this timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

GithubApi.CreateGithubIssue


Create a new issue in a GitHub repository.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the GitHub repository. Provide the username or organization name, case insensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository. Case insensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListIssueComments


Fetch comments for all issues in a repository.

Parameters

  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.
  • results_page_number (integer, optional) The page number of results to fetch for issue comments in a repository.
  • results_per_page (integer, optional) Specify the number of results to display per page, up to a maximum of 100.
  • sort_direction (string, optional) Sets the sorting order, asc for ascending or desc for descending, used with sort.
  • sort_property (string, optional) The property to sort the issue comments by. Use ‘created’ for when the repo was starred or ‘updated’ for last push.
  • updated_after_timestamp (string, optional) Filter comments updated after this timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

GithubApi.DeleteGithubIssueComment


Delete a specific comment from a GitHub issue.

Parameters

  • issue_comment_id (integer, required) The unique identifier of the comment to be deleted.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive. Provide the username or organization name.

GithubApi.GetGithubIssueComment


Retrieve a comment from a GitHub issue.

Parameters

  • comment_identifier (integer, required) The unique integer identifier for the GitHub issue comment.
  • repository_name (string, required) The name of the repository. It is not case sensitive and is required to identify the repository within an account.
  • repository_owner (string, required) The account owner of the repository on GitHub. This is not case sensitive.

GithubApi.UpdateGithubIssueComment


Update a comment on a GitHub issue.

Parameters

  • comment_contents (string, required) The new text for the GitHub issue comment. This will replace the current contents of the comment.
  • comment_identifier (integer, required) The unique numerical identifier of the GitHub issue comment to update.
  • repository_name (string, required) The name of the repository. It is case-insensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. The name is not case sensitive.

GithubApi.ListIssueCommentReactions


Retrieve reactions for a GitHub issue comment.

Parameters

  • comment_id (integer, required) The unique identifier for the specific issue comment whose reactions are to be listed.
  • repository_name (string, required) The name of the repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This value is not case sensitive.
  • reaction_type (string, optional) Specify a single reaction type to filter results. Use values like ‘+1’, ‘-1’, ‘laugh’, etc. Omit to list all reactions.
  • results_page_number (integer, optional) Page number of results to fetch from the reactions list.
  • results_per_page (integer, optional) The number of reactions to retrieve per page, with a maximum of 100.

GithubApi.AddReactionToGithubComment


Add a reaction to a GitHub issue comment.

Parameters

  • comment_unique_identifier (integer, required) The unique identifier for the GitHub comment to which a reaction is being added.
  • reaction_type (string, required) The type of reaction to add to the issue comment. Valid options: ‘+1’, ‘-1’, ‘laugh’, ‘confused’, ‘heart’, ‘hooray’, ‘rocket’, ‘eyes’.
  • repository_name (string, required) The name of the GitHub repository. This name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.DeleteGithubIssueCommentReaction


Deletes a reaction from a GitHub issue comment.

Parameters

  • issue_comment_id (integer, required) The unique identifier of the issue comment from which the reaction will be deleted.
  • reaction_identifier (integer, required) The unique identifier of the reaction to be deleted from the issue comment.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.ListGithubRepoIssueEvents


Retrieve events for issues in a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) Specify the account owner of the GitHub repository. The name is not case sensitive.
  • results_page_number (integer, optional) Specifies the page number of the issue events results to fetch from the repository.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.FetchGithubIssueEvent


Retrieve details of a specific GitHub issue event.

Parameters

  • event_id (integer, required) The unique identifier for the GitHub issue event to retrieve details for. It must be an integer.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive. Provide the GitHub username or organization name.

GithubApi.GetGithubIssueDetails


Fetch details of a specific issue or pull request on GitHub.

Parameters

  • issue_identifier (integer, required) The unique number that identifies the issue or pull request on GitHub.
  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The GitHub username of the repository owner. It is not case sensitive.

GithubApi.UpdateGithubIssue


Update details of a GitHub issue.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the GitHub repository, case insensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository to update the issue in. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • issue_identifier (integer, optional) The unique number identifying the GitHub issue to update. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.RemoveIssueAssignees


Remove assignees from a GitHub issue.

Parameters

  • issue_number (integer, required) The unique number identifying the GitHub issue to modify.
  • repository_name (string, required) The name of the repository. This is case-insensitive and used to identify the specific repository affected.
  • repository_owner (string, required) The account owner of the GitHub repository. This value is not case sensitive.
  • assignees_to_remove (array[string], optional) List of usernames to remove as assignees from the issue. Only users with push access will see changes.

GithubApi.AssignGithubIssue


Assign users to a GitHub issue.

Parameters

  • issue_number (integer, required) The number that identifies the GitHub issue to which assignees will be added.
  • repository_name (string, required) The name of the repository. This field is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • assignee_usernames (array[string], optional) Usernames of people to assign to the issue. Only users with push access can be assigned.

GithubApi.CheckUserAssignPermission


Check if a user can be assigned to a GitHub issue.

Parameters

  • assignee_username (string, required) The GitHub username of the person to check for assignment permission.
  • issue_identifier (integer, required) The number that identifies the specific issue in the repository.
  • repository_name (string, required) The name of the repository, not case sensitive, where the issue is located.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.ListGithubIssueComments


Retrieve comments for a specific GitHub issue.

Parameters

  • issue_number (integer, required) The unique number identifying the GitHub issue to retrieve comments for.
  • repository_name (string, required) The name of the GitHub repository (case insensitive).
  • repository_owner (string, required) The account owner of the repository. Provide the username as a case-insensitive string.
  • page_number (integer, optional) Specify the page number of results to fetch when listing comments for pagination purposes.
  • results_per_page (integer, optional) The number of comments to retrieve per page, maximum 100.
  • since_timestamp (string, optional) Show notifications updated after this time in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).

GithubApi.GithubCreateIssueComment


Create a comment on a GitHub issue.

Parameters

  • comment_content (string, required) The text content of the comment to be added to the issue.
  • issue_identifier (integer, required) The unique number identifying the GitHub issue.
  • repository_name (string, required) The name of the repository where the issue is located. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Not case sensitive.

GithubApi.ListGithubIssueEvents


Retrieve events for a specific GitHub issue.

Parameters

  • issue_number (integer, required) The number that identifies the issue within the repository. This is required to fetch the related events.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. This input is case insensitive.
  • results_page_number (integer, optional) The page number to fetch results from when listing issue events.
  • results_per_page (integer, optional) The number of issue events to return per page, with a maximum of 100.

GithubApi.RemoveAllLabelsFromGithubIssue


Remove all labels from a GitHub issue.

Parameters

  • github_issue_number (integer, required) The identifier number for the GitHub issue from which all labels should be removed.
  • repository_name (string, required) The name of the repository. It is not case sensitive and must be provided as a string.
  • repository_owner (string, required) The GitHub account owner of the repository, case-insensitive.

GithubApi.ListLabelsOnGithubIssue


Retrieve all labels associated with a GitHub issue.

Parameters

  • issue_number (integer, required) The unique identifier for the GitHub issue you wish to retrieve labels for.
  • repository_name (string, required) The name of the repository. It is not case sensitive and identifies where the issue is located.
  • repository_owner (string, required) The account owner of the repository. Provide a non-case-sensitive string.
  • results_page_number (integer, optional) The page number of results to fetch from the GitHub API for an issue’s labels.
  • results_per_page (integer, optional) Number of labels to retrieve per page, maximum is 100.

GithubApi.AddLabelsToGithubIssue


Add labels to a GitHub issue to categorize it.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The GitHub account owner of the repository. This value is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository where the issue exists. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • issue_number (integer, optional) The numeric identifier of the issue to which labels will be added. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.SetGithubIssueLabels


Set new labels for a GitHub issue.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The GitHub username or organization name of the repository owner. Not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. This is not case sensitive and identifies the repository within which the issue resides. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • issue_number (integer, optional) The unique identifier number for the GitHub issue to update labels. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.RemoveIssueLabel


Remove a specified label from a GitHub issue.

Parameters

  • issue_number (integer, required) The unique number identifying the issue in the repository.
  • label_name (string, required) Specifies the label to be removed from the GitHub issue. The label name is case-sensitive.
  • repository_name (string, required) The name of the repository where the issue resides. It is case-insensitive.
  • repository_owner (string, required) The account owner of the repository. This value is not case sensitive.

GithubApi.UnlockGithubIssue


Unlock a locked GitHub issue conversation.

Parameters

  • issue_id (integer, required) The unique identifier for the GitHub issue to be unlocked.
  • repository_name (string, required) The name of the GitHub repository. Not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.LockGithubIssue


Lock a GitHub issue or pull request conversation.

Parameters

  • issue_number (integer, required) The number that identifies the GitHub issue to lock.
  • repository_name (string, required) The name of the repository in which the issue or pull request exists. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This name is not case sensitive.
  • issue_lock_reason (string, optional) The reason for locking the conversation. Acceptable values: ‘off-topic’, ‘too heated’, ‘resolved’, ‘spam’.

GithubApi.ListIssueReactions


Retrieve reactions from a GitHub issue.

Parameters

  • issue_number (integer, required) The number that identifies the issue in the GitHub repository.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • reaction_type_to_filter (string, optional) Filter reactions by a specific type (e.g., ‘+1’, ‘heart’). Omit to list all reactions.
  • results_page_number (integer, optional) Specify the page number of results to fetch. Useful for pagination through large result sets.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.AddReactionToGithubIssue


Add a reaction to a GitHub issue.

Parameters

  • github_issue_number (integer, required) The number that uniquely identifies the issue on GitHub.
  • reaction_type_to_add (string, required) The reaction type to add to the issue. Options include ‘+1’, ‘-1’, ‘laugh’, ‘confused’, ‘heart’, ‘hooray’, ‘rocket’, ‘eyes’.
  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. The name is not case sensitive.

GithubApi.DeleteGithubIssueReaction


Deletes a reaction from a GitHub issue.

Parameters

  • issue_number (integer, required) The number identifying the issue in the repository.
  • reaction_identifier (integer, required) The unique identifier of the reaction to be deleted from a GitHub issue.
  • repository_name (string, required) The name of the GitHub repository. This value is not case sensitive. It identifies which repository the issue belongs to.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.GetIssueTimelineEvents


Retrieve timeline events for a GitHub issue.

Parameters

  • issue_identifier (integer, required) The unique number identifying the GitHub issue.
  • repository_name (string, required) The name of the repository in GitHub. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.
  • results_page_number (integer, optional) Page number of results to fetch, used for pagination.
  • results_per_page (integer, optional) Specify the number of timeline events to retrieve per page, with a maximum of 100.

GithubApi.ListGithubDeployKeys


Retrieve deploy keys for a specific GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive and identifies which repository’s deploy keys are listed.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • result_page_number (integer, optional) Specify the page number of the deploy keys results to fetch.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.CreateGithubDeployKey


Create a read-only deploy key for a GitHub repository.

Parameters

  • deploy_key_contents (string, required) The public key contents to be added as a deploy key.
  • repository_name (string, required) The case-insensitive name of the GitHub repository.
  • repository_owner (string, required) The account owner of the GitHub repository. Name is not case sensitive.
  • key_title (string, optional) A name for the deploy key for identification purposes.
  • read_only_access (boolean, optional) Set to true for read-only access. False allows both read and write access.

GithubApi.DeleteGithubDeployKey


Delete a deploy key from a GitHub repository.

Parameters

  • deploy_key_id (integer, required) The unique identifier for the deploy key to be deleted from the repository.
  • repository_name (string, required) The name of the GitHub repository. This value is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. Not case sensitive.

GithubApi.GetGithubDeployKey


Retrieve a deploy key from a GitHub repository.

Parameters

  • deploy_key_id (integer, required) The unique identifier of the deploy key to retrieve from the repository.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.ListRepositoryLabels


Retrieve labels for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository, not case-sensitive.
  • repository_owner (string, required) The GitHub username of the repository owner. It is not case sensitive.
  • result_page_number (integer, optional) The specific page number of results to fetch. Use this to navigate through paginated results.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.CreateGithubLabel


Creates a label in a specified GitHub repository.

Parameters

  • label_name (string, required) The name of the label, supporting emojis using either native emoji or colon-style markup.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. Case insensitive.
  • label_color_hex (string, optional) The hexadecimal color code for the label, without the leading ’#’.
  • label_description (string, optional) A short description of the label, with a maximum of 100 characters.

GithubApi.DeleteGithubLabel


Delete a label from a GitHub repository.

Parameters

  • label_name (string, required) The name of the label to delete from the repository. It should match the label exactly.
  • repository_name (string, required) The name of the GitHub repository from which to delete the label. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Not case sensitive.

GithubApi.GetGithubLabel


Retrieve details of a GitHub repository label.

Parameters

  • label_name (string, required) The specific name of the label to retrieve from the GitHub repository.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. Not case sensitive.

GithubApi.UpdateGithubLabel


Update a label on a GitHub repository.

Parameters

  • current_label_name (string, required) The current name of the label to be updated. It should match exactly the label’s existing name.
  • repository_name (string, required) The name of the repository to update the label in. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • label_color_hex_code (string, optional) The hexadecimal color code for the label, excluding the leading #.
  • label_description (string, optional) A short description of the label, limited to 100 characters or fewer.
  • new_label_name (string, optional) The updated label name for the GitHub label. Emojis can be embedded using native or colon-style markup (e.g., :strawberry:). For available emojis, refer to the Emoji cheat sheet.

GithubApi.ListRepoLanguages


List programming languages used in a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. Case insensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. Case insensitive.

GithubApi.DisableLfsForGithubRepo


Disable Git LFS for a specified GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository to disable LFS for. This value is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. This is not case sensitive.

GithubApi.EnableGitLfs


Enables Git LFS for a specified repository.

Parameters

  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.GetRepoLicense


Fetch the license file of a GitHub repository.

Parameters

  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.SyncForkWithUpstream


Sync a forked repository’s branch with the upstream repo.

Parameters

  • branch_name_to_sync (string, required) The name of the branch in the forked repository to update with upstream changes.
  • repository_name (string, required) The name of the repository to update. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Not case sensitive.

GithubApi.MergeGithubBranch


Merge a branch into a GitHub repository.

Parameters

  • base_branch_name (string, required) The name of the base branch that the head will be merged into. This is the branch you want to merge changes into.
  • head_branch_or_commit_sha (string, required) The branch name or commit SHA1 to be merged into the base branch.
  • repository_name (string, required) The name of the GitHub repository, not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • merge_commit_message (string, optional) Custom commit message for the merge. Defaults to a standard message if not provided.

GithubApi.ListGithubMilestones


Retrieve milestones from a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. The name is not case sensitive.
  • milestone_state (string, optional) Denotes the state of milestones to fetch: ‘open’, ‘closed’, or ‘all’.
  • results_page_number (integer, optional) The page number of milestones results to fetch.
  • results_per_page (integer, optional) The number of results to display per page (maximum 100).
  • sort_direction (string, optional) The direction for sorting milestones: ‘asc’ for ascending or ‘desc’ for descending order.
  • sort_milestones (string, optional) Criteria to sort milestones by. Options include due_on for due date or completeness for progress.

GithubApi.CreateGithubMilestone


Create a milestone in a GitHub repository.

Parameters

  • milestone_title (string, required) The title of the milestone to be created in the GitHub repository.
  • repository_name (string, required) The name of the repository, not case sensitive.
  • repository_owner (string, required) The GitHub username or organization name that owns the repository. Not case sensitive.
  • milestone_description (string, optional) A text description of the milestone to be created in the GitHub repository.
  • milestone_due_date (string, optional) The due date for the milestone in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
  • milestone_state (string, optional) State of the milestone, either ‘open’ or ‘closed’.

GithubApi.DeleteGithubMilestone


Delete a milestone from a GitHub repository.

Parameters

  • milestone_identifier (integer, required) The unique number that identifies the milestone to be deleted.
  • repository_name (string, required) The repository name on GitHub, not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. This should match the GitHub username or organization name. It is not case sensitive.

GithubApi.GetGithubMilestone


Retrieve details of a GitHub milestone for a repository.

Parameters

  • milestone_id (integer, required) The unique number identifying the milestone to retrieve details from a GitHub repository.
  • repository_name (string, required) The name of the repository for which the milestone information is needed. This name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.UpdateGithubMilestone


Update a GitHub repository milestone.

Parameters

  • milestone_id (integer, required) The unique number identifying the milestone to update.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • milestone_description (string, optional) A brief description of the milestone to be updated.
  • milestone_due_date (string, optional) The due date for the milestone in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
  • milestone_state (string, optional) The state of the milestone. Accepted values are ‘open’ or ‘closed’.
  • milestone_title (string, optional) The title of the milestone to be updated in the GitHub repository.

GithubApi.ListLabelsForMilestone


Retrieve labels for issues in a specific milestone on GitHub.

Parameters

  • milestone_number (integer, required) The number that uniquely identifies the milestone in the repository.
  • repository_name (string, required) The name of the repository for which to list milestone labels. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • results_page_number (integer, optional) Specify the page number of results to fetch for listing milestone labels.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum limit of 100.

GithubApi.GetRepoNotifications


Retrieve notifications for the user in a specific repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository, not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • include_read_notifications (boolean, optional) If true, include notifications that have been marked as read.
  • results_page_number (integer, optional) Specify the page number of the results to fetch. Useful for paginating through notifications.
  • results_per_page (integer, optional) Number of notifications to display per page, with a maximum of 100.
  • show_only_participation_notifications (boolean, optional) If true, only show notifications where the user is directly participating or mentioned.
  • updated_after_timestamp (string, optional) Show notifications updated after this timestamp. Use ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
  • updated_before (string, optional) Display notifications updated before this time in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).

GithubApi.MarkRepoNotificationsAsRead


Mark all repository notifications as read for the user.

Parameters

  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • last_checked_timestamp (string, optional) Timestamp for last notification check in ISO 8601 format. Omitting marks all as read. Defaults to current time if omitted.

GithubApi.DeleteGithubPagesSite


Delete a GitHub Pages site from a repository.

Parameters

  • repository_name (string, required) The name of the repository from which to delete the GitHub Pages site. This name is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. Case insensitive.

GithubApi.GetGithubPagesSite


Retrieve details of a GitHub Pages site for a repository.

Parameters

  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. Not case sensitive.

GithubApi.ConfigureGithubPagesSite


Configures a GitHub Pages site for a repository.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. This is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository to configure. It is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.UpdateGithubPagesInfo


Update information for a GitHub Pages site.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. This value is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository. The name is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListGithubPagesBuilds


Retrieve GitHub Pages build statuses for a repository.

Parameters

  • repository_name (string, required) The name of the repository to fetch the Pages build statuses for. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository, case-insensitive.
  • results_page_number (integer, optional) The page number of the results to fetch. Use this to navigate through paginated results.
  • results_per_page (integer, optional) The number of results per page, with a maximum of 100 allowed.

GithubApi.RequestGithubPagesBuild


Request a build for your GitHub Pages site.

Parameters

  • repository_name (string, required) The name of the GitHub repository. Case-insensitive.
  • repository_owner_name (string, required) The GitHub account owner of the repository. Case insensitive.

GithubApi.GetLatestGithubPagesBuild


Retrieve the latest GitHub Pages build information.

Parameters

  • repository_name (string, required) The name of the GitHub repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Enter the name without considering case sensitivity.

GithubApi.GetGithubPagesBuild


Retrieve details of a GitHub Pages build for a repository.

Parameters

  • build_identifier (integer, required) The unique identifier for the GitHub Pages build.
  • repository_name (string, required) The name of the repository. This field is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive.

GithubApi.CreateGithubPagesDeployment


Create a GitHub Pages deployment for a repository.

Parameters

  • artifact_url (string, required) URL of the artifact (.zip or .tar) with static assets for deployment. Must belong to the repository.
  • oidc_token_for_deployment (string, required) The OIDC token from GitHub Actions used to certify the deployment origin.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive.
  • build_version_identifier (string, optional) A unique string representing the version of the deployment build.
  • target_environment_for_deployment (string, optional) Specify the target environment for the GitHub Pages deployment (e.g., ‘production’, ‘staging’).

GithubApi.ListRepoPreReceiveHooks


List pre-receive hooks for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.
  • result_page_number (integer, optional) The number of the results page to fetch, starting from 1.
  • results_per_page (integer, optional) The number of results to display per page, maximum 100.
  • sort_direction (string, optional) Specify ‘asc’ for ascending or ‘desc’ for descending sorting of results.
  • sort_hooks_by (string, optional) Specifies the attribute to sort the pre-receive hooks by. Possible values are ‘created’, ‘updated’, or ‘name’.

GithubApi.RemoveRepoHookEnforcement


Remove overridden pre-receive hook enforcement for a repository.

Parameters

  • pre_receive_hook_identifier (integer, required) The unique identifier of the pre-receive hook for the repository.
  • repository_name (string, required) The case-insensitive name of the repository from which to remove the hook enforcement.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.GetPreReceiveHookForRepo


Retrieve a pre-receive hook for a specific repository.

Parameters

  • pre_receive_hook_id (integer, required) The unique identifier of the pre-receive hook for the repository.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.UpdateHookEnforcementForRepo


Update pre-receive hook enforcement for a GitHub repository.

Parameters

  • pre_receive_hook_id (integer, required) The unique identifier of the pre-receive hook to update enforcement settings for.
  • repository_name (string, required) The name of the repository. This is case insensitive and identifies which repository’s hook enforcement settings to update.
  • repository_owner (string, required) The GitHub account owner of the repository. This name is not case sensitive.
  • hook_enforcement_state (string, optional) The desired state of enforcement for the hook on this repository. Options: ‘enabled’, ‘disabled’, ‘testing’.

GithubApi.ListRepositoryProjects


Retrieve projects from a specific GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. This value is not case sensitive.
  • project_state (string, optional) Specify which state of projects to return: ‘open’, ‘closed’, or ‘all’.
  • results_page_number (integer, optional) Specifies which page of the results to fetch. Useful for paginated responses.
  • results_per_page (integer, optional) The number of results to return per page. Maximum is 100.

GithubApi.CreateGithubProjectBoard


Create a project board for a GitHub repository.

Parameters

  • project_name (string, required) The name of the project board to be created in the repository.
  • repository_name (string, required) The name of the GitHub repository. It is not case-sensitive.
  • repository_owner (string, required) The username of the account that owns the repository. This is not case sensitive.
  • project_description (string, optional) Provide a descriptive text for the project board to help clarify its purpose and content.

GithubApi.ListPullRequests


Retrieve pull requests from a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository from which to retrieve pull requests. This name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • base_branch_name (string, optional) Specify the base branch name to filter pull requests. Example: ‘gh-pages’.
  • filter_by_head (string, optional) Filter pull requests by head user/organization and branch in user:ref-name format.
  • filter_by_state (string, optional) Filter pull requests by state: open, closed, or all.
  • page_number (integer, optional) Page number of the results to fetch from the list of pull requests.
  • results_per_page (integer, optional) The number of pull requests to retrieve per page, with a maximum of 100 results allowed.
  • sort_direction (string, optional) The direction of the sorting for pull requests. Use ‘asc’ for ascending or ‘desc’ for descending order. Defaults to ‘desc’ when ‘sort’ is ‘created’ or not specified.
  • sort_pull_request_results_by (string, optional) Specify the criterion for sorting pull request results. Options are ‘created’, ‘updated’, ‘popularity’, or ‘long-running’.

GithubApi.CreateGithubPullRequest


Create a draft pull request on GitHub repositories.

Parameters

  • repository_name (string, required) The name of the repository for the pull request. It is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. Case-insensitive.
  • source_branch (string, required) The name of the branch where your changes are implemented. Use username:branch format for cross-repository cases.
  • target_branch (string, required) The branch name where changes are to be merged. Must be an existing branch in the current repository.
  • is_draft (boolean, optional) Set to true to create the pull request as a draft. See GitHub documentation for more on draft pull requests.
  • issue_number_for_conversion (integer, optional) Specify the issue number in the repository to convert into a pull request. Required unless a title is provided.
  • maintainers_can_modify (boolean, optional) Indicates if maintainers can modify the pull request. Set to true to allow modifications.
  • pull_request_content (string, optional) The descriptive content or message for the pull request.
  • pull_request_title (string, optional) The title of the new pull request. This is required unless an issue is specified.
  • source_repository_name (string, optional) Name of the repository where changes in the pull request were made. Required for cross-repository pull requests within the same organization.

GithubApi.ListReviewCommentsForRepo


Retrieve review comments for all pull requests in a repository.

Parameters

  • repository_name (string, required) The name of the repository to fetch review comments from. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive. Specify the username or organization name.
  • page_number (integer, optional) Specify the page number of the results to retrieve from the API. Used for pagination.
  • results_per_page (integer, optional) The number of review comments to retrieve per page, with a maximum limit of 100.
  • sort_direction (string, optional) Specifies the order to sort the review comments. Options are ‘asc’ for ascending and ‘desc’ for descending. Note: This is ignored if no ‘sort’ parameter is set.
  • sort_reviews (string, optional) Determines the order of review comments based on ‘created’, ‘updated’, or ‘created_at’.
  • updated_after (string, optional) Timestamp to filter notifications updated after this time in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

GithubApi.DeleteGithubReviewComment


Delete a review comment on a GitHub pull request.

Parameters

  • comment_id (integer, required) The unique identifier for the review comment to delete. This must be an integer and corresponds to the specific comment you intend to remove from the GitHub pull request.
  • repository_name (string, required) The name of the repository, case-insensitive.
  • repository_owner (string, required) The GitHub account owner of the repository, not case sensitive.

GithubApi.GetGithubReviewCommentDetails


Get details for a specific GitHub review comment.

Parameters

  • comment_id (integer, required) The unique identifier of the GitHub review comment you want to retrieve details for.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This value is not case sensitive.

GithubApi.EditGithubReviewComment


Edit a review comment on a GitHub pull request.

Parameters

  • comment_identifier (integer, required) The unique identifier for the GitHub review comment to be edited.
  • comment_text (string, required) The content of the updated review comment.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository, not case sensitive.

GithubApi.ListPullRequestCommentReactions


Retrieve reactions for a pull request review comment.

Parameters

  • comment_unique_identifier (integer, required) The unique identifier for the pull request review comment.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • filter_reaction_type (string, optional) Specify a single reaction type to filter results. Leave blank to return all reactions.
  • results_page_number (integer, optional) Specify the page number of results to fetch for reactions to a pull request review comment.
  • results_per_page (integer, optional) Specify the number of reactions to return per page, up to a maximum of 100.

GithubApi.AddReactionToPrComment


Adds a reaction to a pull request review comment on GitHub.

Parameters

  • comment_unique_id (integer, required) The unique identifier of the pull request review comment.
  • reaction_type_for_pr_comment (string, required) Specifies the type of reaction to add to the pull request review comment. Valid options are ‘+1’, ‘-1’, ‘laugh’, ‘confused’, ‘heart’, ‘hooray’, ‘rocket’, ‘eyes’.
  • repository_name (string, required) The name of the repository where the comment is located. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.DeletePullRequestCommentReaction


Delete a reaction from a pull request comment.

Parameters

  • comment_unique_id (integer, required) The unique identifier of the pull request comment to delete a reaction from.
  • reaction_unique_identifier (integer, required) The unique identifier for the reaction to delete from the pull request comment.
  • repository_name (string, required) The name of the GitHub repository. It is case insensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive.

GithubApi.GetPullRequestDetails


Retrieve details of a specific GitHub pull request.

Parameters

  • pull_request_number (integer, required) The unique number identifying the pull request to retrieve details for.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) Specifies the account owner of the repository. The name is not case sensitive.

GithubApi.UpdatePullRequest


Update an existing pull request on GitHub.

Parameters

  • pull_request_number (integer, required) The unique number identifying the pull request.
  • repository_name (string, required) The name of the repository to update the pull request in. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This name is not case sensitive.
  • maintainers_can_modify (boolean, optional) Boolean value indicating whether maintainers can modify the pull request.
  • pull_request_body (string, optional) Provide the updated content or description for the pull request.
  • pull_request_state (string, optional) Specifies whether the pull request should be ‘open’ or ‘closed’.
  • pull_request_title (string, optional) The new title for the pull request. Use this to update the PR title.
  • target_base_branch (string, optional) The name of the branch where changes should be pulled into. Must be an existing branch on the current repository.

GithubApi.ListPullRequestReviewComments


Retrieve all review comments for a pull request.

Parameters

  • pull_request_number (integer, required) The unique number identifying the pull request within the repository.
  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • notifications_since_timestamp (string, optional) Filter review comments updated after this timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
  • page_number_to_fetch (integer, optional) The specific results page number to retrieve.
  • results_per_page (integer, optional) Specify the number of results to return per page, with a maximum limit of 100.
  • sort_direction (string, optional) Specifies the direction to sort results. Use ‘asc’ for ascending or ‘desc’ for descending. Ignored without the ‘sort’ parameter.
  • sort_results_by (string, optional) Property to sort comments: ‘created’ or ‘updated’.

GithubApi.CreatePullRequestReviewComment


Create a review comment on a GitHub pull request.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The GitHub username or organization name of the repository owner. This value is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository where the pull request exists. This value is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • pull_request_number (integer, optional) The unique number that identifies the pull request within the repository. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.CreateReplyToReviewComment


Create a reply to a top-level review comment on a pull request.

Parameters

  • pull_request_number (integer, required) The number identifying the pull request to reply to.
  • repository_name (string, required) The name of the repository. This name is not case sensitive and identifies the repository where the reply will be posted.
  • repository_owner (string, required) The account owner of the repository. Not case sensitive.
  • review_comment_text (string, required) The content of the reply to the top-level review comment. This should be a string containing the reply text.
  • review_comment_unique_id (integer, required) The unique identifier for the top-level review comment you are replying to. Replies to replies are not supported.

GithubApi.ListPullRequestCommits


Retrieve up to 250 commits for a specific pull request.

Parameters

  • pull_request_number (integer, required) The unique number identifying the pull request within the repository.
  • repository_name (string, required) The name of the repository. It is not case sensitive and should be given as a string.
  • repository_owner (string, required) The account owner of the repository, not case sensitive.
  • results_page_number (integer, optional) Specify the page number of commit results to fetch. Useful for paginating through commit lists.
  • results_per_page (integer, optional) Specify the number of commit results to return per page, up to a maximum of 100.

GithubApi.ListGithubPullRequestFiles


Retrieve files changed in a GitHub pull request.

Parameters

  • pull_request_number (integer, required) The unique number identifying the pull request.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The GitHub username of the repository owner. This is not case sensitive.
  • results_page_number (integer, optional) The page number of the results to fetch, used for pagination.
  • results_per_page (integer, optional) The number of files to return per page, with a maximum of 100.

GithubApi.CheckPrMergeStatus


Check if a pull request has been merged.

Parameters

  • pull_request_number (integer, required) The unique number identifying the specific pull request to check.
  • repository_name (string, required) The name of the repository. Input is case insensitive.
  • repository_owner (string, required) The account owner of the repository. This value is not case sensitive. It specifies which user’s or organization’s repository contains the pull request.

GithubApi.MergeGithubPullRequest


Merge a pull request on GitHub.

Parameters

  • pull_request_number (integer, required) The unique number identifying the pull request to be merged.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • commit_title (string, optional) Title for the automatic commit message after merging the pull request.
  • extra_commit_message (string, optional) Extra detail to append to the automatic commit message for the pull request.
  • merge_method (string, optional) Specifies the method to merge the pull request. Options include ‘merge’, ‘squash’, or ‘rebase’.
  • pull_request_head_sha (string, optional) SHA of the pull request head that must match for the merge to proceed.

GithubApi.RemovePullRequestReviewers


Remove requested reviewers from a GitHub pull request.

Parameters

  • pull_request_number (integer, required) The unique identifier number for the pull request you want to modify.
  • repository_name (string, required) The name of the repository from which to remove reviewers. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is case-insensitive.
  • user_logins_to_remove (array[string], required) An array of user logins to be removed from the pull request as reviewers.
  • team_slugs_to_remove (array[string], optional) An array of team slugs that should be removed as reviewers from the pull request. Each slug corresponds to a team associated with the repository.

GithubApi.GetRequestedReviewersForPr


Retrieve users or teams requested for a pull request review.

Parameters

  • pull_request_number (integer, required) The unique identifier for the pull request in a GitHub repository.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.RequestGithubPullRequestReviewers


Request reviewers for a GitHub pull request.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository. It should be a case-insensitive string. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the GitHub repository. This input is not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • pull_request_number (integer, optional) The number identifying the GitHub pull request for which reviewers will be requested. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListGithubPullRequestReviews


Retrieve reviews for a specific GitHub pull request.

Parameters

  • pull_request_number (integer, required) The unique identifier for the specific pull request to retrieve reviews for.
  • repository_name (string, required) The name of the GitHub repository, not case sensitive.
  • repository_owner (string, required) The GitHub username or organization name of the repository owner. Not case sensitive.
  • results_page_number (integer, optional) The page number of the pull request reviews to fetch. Used for pagination.
  • results_per_page (integer, optional) The number of reviews per page (maximum 100). Specify an integer value.

GithubApi.CreateGithubPullRequestReview


Create a review for a GitHub pull request.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • repository_owner (string, optional) The account owner of the repository (case-insensitive). Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • repository_name (string, optional) The name of the repository where the pull request exists, not case sensitive. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • pull_request_number (integer, optional) The number that uniquely identifies the pull request for which the review is being created. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.DeleteGithubPullRequestPendingReview


Delete a pending review for a GitHub pull request.

Parameters

  • pull_request_number (integer, required) The number identifying the specific pull request to delete the pending review from.
  • repository_name (string, required) The name of the GitHub repository. This is not case sensitive.
  • repository_owner_name (string, required) The GitHub account owner of the repository. This is not case sensitive.
  • unique_review_identifier (integer, required) The unique identifier of the pending GitHub review to be deleted.

GithubApi.GetGithubReview


Retrieve details of a specific pull request review from GitHub.

Parameters

  • pull_request_number (integer, required) The unique number identifying the pull request on GitHub.
  • repository_name (string, required) The name of the GitHub repository. This field is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. It is not case sensitive.
  • review_id (integer, required) The unique numeric identifier for the specific review of the pull request.

GithubApi.UpdatePullRequestReview


Update the review summary comment on a pull request.

Parameters

  • pull_request_number (integer, required) The unique number that identifies the pull request.
  • repository_name (string, required) The name of the repository to update the review on. Case insensitive.
  • repository_owner (string, required) The GitHub account owner of the repository, case insensitive.
  • review_body_text (string, required) The updated body text for the pull request review.
  • review_identifier (integer, required) The unique integer ID of the review to be updated.

GithubApi.GetReviewComments


Retrieve comments for a specific pull request review.

Parameters

  • pull_request_number (integer, required) The number that identifies the pull request to fetch comments from.
  • repository_name (string, required) The name of the GitHub repository. This name is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. It is not case sensitive.
  • review_id (integer, required) The unique identifier of the review for which comments are being fetched.
  • result_page_number (integer, optional) Specify the page number of the results to fetch. Used to navigate paginated results.
  • results_per_page (integer, optional) Specify the number of results per page, up to a maximum of 100.

GithubApi.DismissPullRequestReview


Dismiss a pull request review on GitHub.

Parameters

  • dismissal_message (string, required) The message explaining the reason for dismissing the pull request review.
  • pull_request_number (integer, required) The unique number identifying the pull request to dismiss the review for.
  • repository_name (string, required) The name of the GitHub repository. The name is not case sensitive.
  • repository_owner (string, required) The username of the repository owner. This is not case sensitive and refers to the account that owns the repository.
  • review_identifier (integer, required) The unique identifier for the pull request review to be dismissed.
  • dismissal_event (string, optional) This is a required event type for dismissing a pull request review. Use ‘DISMISS’ to perform the dismissal action.

GithubApi.SubmitPullRequestReview


Submit a review for a pull request on GitHub.

Parameters

  • pull_request_number (integer, required) The identifier number of the pull request to be reviewed.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Input is case insensitive.
  • review_action (string, required) Specify the review action: APPROVE, REQUEST_CHANGES, or COMMENT. Leaving this empty sets the review to PENDING.
  • review_identifier (integer, required) The unique identifier for the pull request review to be submitted.
  • review_body_text (string, optional) The body text of the pull request review. Provide detailed feedback or comments for the review.

GithubApi.UpdatePullRequestBranch


Update a pull request branch with latest upstream changes.

Parameters

  • pull_request_number (integer, required) The unique number that identifies the pull request to update.
  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • expected_head_sha (string, optional) The most recent commit SHA of the pull request’s HEAD. Must match the pull request’s current HEAD to avoid a 422 error.

GithubApi.GetRepositoryReadme


Retrieve the preferred README for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the repository. This is case insensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • commit_branch_tag_name (string, optional) Specify the commit, branch, or tag name. Defaults to the repository’s default branch if not provided.

GithubApi.FetchRepoReadme


Retrieve the README from a specific repository directory.

Parameters

  • readme_directory_path (string, required) The path within the repository to search for the README file. Default is repository root if not specified.
  • repository_name (string, required) The name of the repository. This input is case insensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. Case insensitive.
  • commit_branch_or_tag_name (string, optional) The name of the commit, branch, or tag. Defaults to the repository’s default branch (usually ‘master’).

GithubApi.GetGithubReleases


Retrieve a list of releases for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. Case insensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. The name is not case sensitive.
  • results_page_number (integer, optional) The specific page number of releases to fetch from a repository.
  • results_per_page (integer, optional) Specify the number of release results per page, with a maximum of 100.

GithubApi.CreateGithubRelease


Creates a new release in a specified GitHub repository.

Parameters

  • repository_name (string, required) The name of the repository on GitHub. This name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • tag_name_for_release (string, required) The name of the tag for the release. This is used to label the GitHub release.
  • auto_generate_release_notes (boolean, optional) Automatically generate the name and body for the release. If ‘name’ is provided, it is used; otherwise, a name is auto-generated. ‘Body’ is prepended to generated notes if specified.
  • commit_reference (string, optional) The branch or commit SHA from which the Git tag is created. Defaults to the repo’s default branch.
  • draft (boolean, optional) Set to true for a draft (unpublished) release, or false for a published one.
  • mark_as_prerelease (boolean, optional) Set to true for a prerelease, false for a full release.
  • release_body_text (string, optional) Text describing the contents of the tag. This is the message or notes for the release, providing context or details about changes.
  • release_name (string, optional) The name of the release. This identifies the release and can be a version or descriptive text.
  • set_latest_release (boolean, optional) Set whether this release should be the latest. Use ‘true’, ‘false’, or ‘legacy’. Drafts and prereleases cannot be set as latest.

GithubApi.DeleteReleaseAsset


Deletes a specific release asset on GitHub.

Parameters

  • asset_identifier (integer, required) The unique identifier for the GitHub release asset to be deleted.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.DownloadGithubReleaseAsset


Download binary content of a GitHub release asset.

Parameters

  • asset_unique_identifier (integer, required) The unique identifier of the asset to download from a GitHub release. Must be an integer.
  • repository_name (string, required) The name of the GitHub repository, not case sensitive.
  • repository_owner (string, required) The account owner of the repository. It is not case sensitive.

GithubApi.EditGithubReleaseAsset


Edit a GitHub release asset with push access.

Parameters

  • release_asset_identifier (integer, required) The unique integer identifier of the release asset to update.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • alternate_asset_description (string, optional) Provide an alternate short description of the release asset, used instead of the filename.
  • file_name_of_asset (string, optional) The file name of the asset. This is used to uniquely identify the asset file for the release.
  • release_asset_state (string, optional) Specifies the state of the release asset. Possible values might include ‘uploaded’, ‘deleted’, etc. (API documentation does not explicitly define options).

GithubApi.GenerateGithubReleaseNotes


Generate release notes for a GitHub repository.

Parameters

  • release_tag_name (string, required) Specify the tag name for the release. Can be an existing tag or a new one.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. This is not case sensitive.
  • previous_tag_name (string, optional) The name of the previous tag to use as the starting point for the release notes. It specifies the range of changes for this release.
  • release_configuration_file_path (string, optional) Path to the configuration file in the repository for generating release notes. Defaults to ‘.github/release.yml’ or ‘.github/release.yaml’ if not specified.
  • target_commit (string, optional) The commitish value that will target the release’s tag. Required if tag_name doesn’t reference an existing tag. Otherwise, it’s ignored.

GithubApi.GetLatestGithubRelease


Retrieve the latest full release from a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository to retrieve the latest release from. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.GetGithubReleaseByTag


Retrieve GitHub release details by tag.

Parameters

  • release_tag (string, required) The specific tag of the release to retrieve. This is used to identify and fetch details of the published release.
  • repository_name (string, required) Specify the name of the repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive. Provide the GitHub username or organization name.

GithubApi.DeleteGithubRelease


Delete a GitHub release with push access permissions.

Parameters

  • release_identifier (integer, required) The unique identifier of the GitHub release to delete. This is an integer value.
  • repository_name (string, required) The name of the repository. It’s not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository, not case sensitive.

GithubApi.GetGithubReleaseDetails


Retrieve details of a specific GitHub release.

Parameters

  • release_id (integer, required) The unique identifier for the specific GitHub release being queried.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.UpdateGithubRelease


Edit a GitHub release with push access.

Parameters

  • release_identifier (integer, required) The unique integer identifier for the GitHub release to be updated.
  • repository_name (string, required) The name of the repository. This field is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • commitish_value (string, optional) Determines the source for the Git tag; can be a branch or commit SHA. Defaults to the repo’s default branch if the tag exists.
  • is_draft (boolean, optional) Set to true to make the release a draft, false to publish it.
  • mark_as_prerelease (boolean, optional) Set true to mark the release as a prerelease, or false to identify as a full release.
  • release_description (string, optional) Text describing the contents and details of the release tag.
  • release_name (string, optional) The name of the release to be updated in the repository. This is a user-friendly name for the release.
  • release_tag_name (string, optional) The name of the tag for the GitHub release. Used to identify the release version.
  • set_as_latest_release (boolean, optional) Specifies if this release should be the latest. Use ‘true’, ‘false’, or ‘legacy’. Drafts/prereleases aren’t eligible.

GithubApi.ListGithubReleaseAssets


Retrieve a list of assets for a GitHub release.

Parameters

  • release_identifier (integer, required) The unique identifier for the GitHub release to fetch assets from.
  • repository_name (string, required) The name of the GitHub repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. This is not case sensitive.
  • page_number (integer, optional) The specific page number to fetch from the list of release assets. Useful for navigation in paginated results.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum value of 100. This controls pagination.

GithubApi.ListGithubReleaseReactions


Retrieve reactions for a GitHub release.

Parameters

  • release_identifier (integer, required) The unique integer identifier of the GitHub release.
  • repository_name (string, required) The name of the GitHub repository. Case sensitivity is not required.
  • repository_owner (string, required) The account owner of the GitHub repository. This name is not case sensitive.
  • reaction_type_filter (string, optional) Specify a reaction type to filter results. Options are ‘+1’, ‘laugh’, ‘heart’, ‘hooray’, ‘rocket’, ‘eyes’. Leave empty to get all reactions.
  • results_page_number (integer, optional) Page number of the results to fetch for paginated reactions.
  • results_per_page (integer, optional) The number of results to display per page, up to a maximum of 100.

GithubApi.AddGithubReleaseReaction


Add a reaction to a GitHub release.

Parameters

  • reaction_type (string, required) The reaction type for the release, e.g., ‘+1’, ‘laugh’, ‘heart’. Choose from ‘+1’, ‘laugh’, ‘heart’, ‘hooray’, ‘rocket’, ‘eyes’.
  • release_identifier (integer, required) The unique identifier for the GitHub release to which the reaction will be added.
  • repository_name (string, required) The name of the repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository on GitHub. The name is not case sensitive.

GithubApi.DeleteReleaseReaction


Delete a reaction from a GitHub release.

Parameters

  • reaction_identifier (integer, required) The unique identifier for the reaction to be deleted from a release.
  • release_id (integer, required) The unique identifier of the GitHub release. Use this to specify which release’s reaction you wish to delete.
  • repository_name (string, required) The name of the repository. This field is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. The name is not case sensitive.

GithubApi.ListRepoCacheStatus


Lists the status of each repository cache replica.

Parameters

  • repository_name (string, required) The name of the repository. It is not case sensitive and should clearly identify the GitHub repository of interest.
  • repository_owner (string, required) The GitHub username of the repository owner. This is not case sensitive.
  • result_page_number (integer, optional) The page number of results to fetch, used for pagination.
  • results_per_page (integer, optional) The number of results per page (maximum 100).

GithubApi.ListGithubRepoSecretAlerts


Retrieve secret scanning alerts for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. The name is not case sensitive.
  • alerts_state_filter (string, optional) Filter alerts by their state: open or resolved. Specify to list only alerts in a specific state.
  • cursor_before_event (string, optional) Search for events only before this cursor. Leave empty to get the initial cursor.
  • events_after_cursor (string, optional) A cursor for paginated results to fetch events occurring after this point. Use an empty value to receive the initial cursor.
  • filter_by_secret_type (string, optional) Comma-separated list of secret types to return. By default, all secret types are included.
  • results_page_number (integer, optional) Specifies the page number of the secret scanning alerts to retrieve. Use this to paginate results.
  • results_per_page (integer, optional) Specifies the number of secret scanning alerts to return per page, with a maximum of 100 items.
  • secret_alert_resolutions_filter (string, optional) Comma-separated resolutions to filter alerts. Valid values: false_positive, wont_fix, revoked, pattern_edited, pattern_deleted, used_in_tests.
  • sort_direction (string, optional) Specifies the direction to sort the results (‘asc’ for ascending, ‘desc’ for descending).
  • sort_results_by_property (string, optional) Specifies the property to sort alerts: use ‘created’ for creation date, or ‘updated’ for last update or resolution date.

GithubApi.GetGithubSecretScanningAlert


Retrieve a specific secret scanning alert from a GitHub repository.

Parameters

  • alert_identifier (integer, required) The unique integer number identifying a GitHub secret scanning alert. This is found at the URL’s end for the alert or in the number field of the alert response.
  • repository_name (string, required) The case-insensitive name of the repository from which to retrieve the secret scanning alert.
  • repository_owner (string, required) The username of the account owner for the repository. Case insensitive.

GithubApi.UpdateSecretScanningAlertStatus


Update the status of a secret scanning alert on GitHub.

Parameters

  • alert_identifier (integer, required) The unique number identifying the secret scanning alert. Found in the alert URL or the response of GET /repos/{owner}/{repo}/code-scanning/alerts.
  • alert_state (string, required) Set the state of the secret scanning alert to ‘open’ or ‘resolved’. ‘Resolution’ is required if set to ‘resolved’.
  • repository_name (string, required) The name of the repository. Not case sensitive.
  • repository_owner (string, required) The GitHub username or organization name that owns the repository. It is not case sensitive.
  • alert_resolution_comment (string, optional) An optional comment when closing an alert. Set to null if changing the alert state to open. Cannot be updated or deleted.
  • resolution_reason_for_secret_scanning_alert (string, optional) Specifies the reason for resolving the alert when the state is set to ‘resolved’. Possible values: ‘None’, ‘false_positive’, ‘wont_fix’, ‘revoked’, ‘used_in_tests’.

GithubApi.ListSecretScanningAlertLocations


Retrieve locations for a secret scanning alert in a repository.

Parameters

  • alert_number (integer, required) The unique identifier number for a secret scanning alert. This can be found at the end of the URL for a code scanning alert on GitHub, or in the number field of the response from the GET /repos/{owner}/{repo}/code-scanning/alerts API call.
  • repository_name (string, required) The name of the repository, case insensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. It is not case sensitive.
  • results_page_number (integer, optional) The page number of the results to fetch for the secret scanning alert locations.
  • results_per_page (integer, optional) Specify the number of results to return per page (maximum 100).

GithubApi.ListRepoStargazers


Retrieve users who starred a specific GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is case-insensitive.
  • repository_owner (string, required) The username of the repository’s account owner. The name is not case sensitive.
  • results_page_number (integer, optional) Specify the page number for results pagination to retrieve a specific set of stargazers.
  • results_per_page (integer, optional) The number of stargazer results to display per page, with a maximum of 100.

GithubApi.GetRepoCodeFrequency


Get weekly code frequency stats for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The GitHub username is not case sensitive.

GithubApi.GetCommitActivity


Fetch yearly commit activity grouped by week.

Parameters

  • repository_name (string, required) The name of the repository. This value is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.

GithubApi.GetGithubContributorStats


Retrieve GitHub repository contributor statistics.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case-sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. This is not case sensitive.

GithubApi.GetRepoCommitParticipation


Retrieve weekly commit participation stats for a GitHub repo.

Parameters

  • repository_name (string, required) The name of the GitHub repository, which is not case sensitive.
  • repository_owner (string, required) The repository account owner on GitHub. Case-insensitive.

GithubApi.GetCommitActivityByHour


Retrieve commit activity per hour for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the repository to analyze. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository; this is not case sensitive.

GithubApi.CreateGithubCommitStatus


Create a commit status for a specific SHA on GitHub.

Parameters

  • commit_sha (string, required) The SHA hash of the commit to set the status for. This uniquely identifies the commit in the repository.
  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. Enter the owner’s username (not case sensitive).
  • status_state (string, required) The state of the status for the commit. Possible values are ‘error’, ‘failure’, ‘pending’, or ‘success’.
  • commit_status_target_url (string, optional) The URL associated with the status for easy navigation in GitHub. Example: a deep link to CI build output.
  • status_description (string, optional) A short description of the commit status, providing context or details about the status.
  • status_label (string, optional) A case-insensitive string label to differentiate this status from other systems.

GithubApi.ListWatchersForRepo


Retrieve the list of users watching a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository to list watchers for. It is not case sensitive.
  • repository_owner (string, required) The GitHub account owner of the repository. It’s case insensitive.
  • results_page_number (integer, optional) Page number of the results to fetch. Helps in paginating through results.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.

GithubApi.UnsubscribeFromRepo


Stop receiving notifications for a repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository to unsubscribe from. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. It is not case sensitive.

GithubApi.GetRepoSubscription


Retrieve subscription status for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. The name is not case sensitive.
  • repository_owner (string, required) The GitHub username of the repository owner. The name is not case sensitive.

GithubApi.SetRepoSubscription


Manage your GitHub repository subscription settings.

Parameters

  • repository_name (string, required) Specify the name of the GitHub repository to manage subscriptions. Not case sensitive.
  • repository_owner (string, required) The username of the repository owner. Not case sensitive.
  • block_notifications (boolean, optional) Set to true to block all notifications from this repository.
  • receive_notifications (boolean, optional) Set to true to receive notifications from the repository.

GithubApi.ListGithubRepoTags


Retrieve tags for a specified GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository to retrieve tags from. This is not case sensitive.
  • repository_owner (string, required) The GitHub username or organization that owns the repository. Case insensitive.
  • page_number (integer, optional) The page number to fetch the results from for the list of repository tags.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.

GithubApi.GetRepositoryTagProtectionStates


Fetch the tag protection states of a GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. The name is not case sensitive.
  • repository_owner (string, required) The GitHub username of the account owner for the repository. This value is not case sensitive.

GithubApi.CreateRepositoryTagProtection


Create tag protection for a GitHub repository.

Parameters

  • repository_name (string, required) The name of the repository. This is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • tag_protection_pattern (string, required) An optional glob pattern for matching when enforcing tag protection.

GithubApi.DeleteRepositoryTagProtection


Deletes a tag protection from a GitHub repository.

Parameters

  • repository_name (string, required) The name of the repository. This field is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • tag_protection_identifier (integer, required) The unique identifier for the tag protection to be deleted. Required for identifying which tag protection state to remove.

GithubApi.DownloadGithubRepoTarball


Retrieve a URL to download a GitHub repository tarball.

Parameters

  • branch_or_commit_ref (string, required) Specify the branch name or commit SHA for the repository. If omitted, the default branch is used.
  • repository_name (string, required) The name of the GitHub repository. This input is not case sensitive. Specify the repository whose tarball you want to download.
  • repository_owner (string, required) The GitHub account owner of the repository. It is not case sensitive.

GithubApi.ListRepositoryTeams


Retrieve a list of teams for a specified GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. Not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is case-insensitive.
  • result_page_number (integer, optional) The page number to fetch from the results. Use this to iterate through paginated data.
  • results_per_page (integer, optional) The number of results to include per page, with a maximum of 100.

GithubApi.GetRepoTopics


Retrieve all topics for a specific GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. This is not case sensitive.
  • page_number (integer, optional) The page number of results to fetch. Useful for paginating through large data sets.
  • results_per_page (integer, optional) The number of results to fetch per page, with a maximum of 100.

GithubApi.UpdateGithubRepoTopics


Replace topics for a specific GitHub repository.

Parameters

  • repository_name (string, required) The name of the GitHub repository. It is not case sensitive.
  • repository_owner (string, required) The account owner of the repository. The name is not case sensitive.
  • repository_topic_names (array[string], required) An array of topics to replace existing repository topics. To clear all topics, send an empty array. Topics must be lowercase.

GithubApi.TransferGithubRepository


Initiate the transfer of a GitHub repository to a new owner.

Parameters

  • new_owner_username_or_org (string, required) The username or organization name to which the repository will be transferred.
  • repository_name (string, required) The name of the repository to be transferred. Case-insensitive.
  • repository_owner (string, required) The account owner of the repository. Case insensitive.
  • new_repository_name (string, optional) The new name to be given to the repository. It should be a valid GitHub repository name.
  • team_ids_to_add (array[integer], optional) List of team IDs to add to the repository. Applicable only for organization-owned repositories.

GithubApi.DownloadGithubRepoZip


Retrieve a URL to download a GitHub repository as a zip file.

Parameters

  • repository_name (string, required) The name of the GitHub repository. The name is not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. Not case sensitive.
  • repository_reference (string, required) Specify the branch, tag, or commit SHA to retrieve the zip archive from. Defaults to the repository’s default branch if omitted.

GithubApi.CreateRepoFromTemplate


Create a new repository from a template.

Parameters

  • new_repository_name (string, required) The name of the new repository to be created using the template.
  • template_repository_name (string, required) The name of the repository template to use for creating the new repository.
  • template_repository_owner (string, required) Username or organization name that owns the template repository.
  • create_private_repository (boolean, optional) Set to true to create a private repository, or false to create a public one.
  • include_all_branches_from_template (boolean, optional) Set to true to include files from all branches in the template repository, not just the default branch. Default: false.
  • repository_description (string, optional) A short description of the new GitHub repository to be created from the template.
  • repository_owner (string, optional) The organization or user that will own the new repository. Must be a valid organization member if creating under an organization.

GithubApi.ListPublicGithubRepositories


Retrieve all public GitHub repositories.

Parameters

  • repository_visibility (string, optional) Specify types of repositories to return, such as ‘all’ or ‘public’.
  • starting_repository_id (integer, optional) Specify a repository ID to list only repositories with an ID greater than this value for pagination.

GithubApi.ListGithubEnvironmentSecrets


Retrieve secrets for a GitHub environment.

Parameters

  • environment_name (string, required) The name of the environment whose secrets are to be listed. This is necessary to identify the specific environment in the repository.
  • repository_unique_identifier (integer, required) The unique identifier of the repository. Required to fetch the environment secrets.
  • results_page_number (integer, optional) Page number of the results to fetch.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum allowable value of 100.

GithubApi.GetGithubEnvironmentPublicKey


Fetch the public key for a GitHub environment.

Parameters

  • environment_name (string, required) The name of the GitHub environment for which to retrieve the public key.
  • repository_id (integer, required) The unique identifier of the GitHub repository. It must be an integer value.

GithubApi.DeleteGithubEnvironmentSecret


Delete a GitHub environment secret by name.

Parameters

  • environment_name (string, required) Specify the name of the GitHub environment from which the secret will be deleted.
  • repository_id (integer, required) The unique identifier of the repository to delete the secret from.
  • secret_name_to_delete (string, required) The name of the secret to be deleted from the environment.

GithubApi.GetEnvironmentSecretInfo


Retrieve details of an environment secret on GitHub.

Parameters

  • environment_name (string, required) The name of the environment to access the secret from. Required to specify which environment’s secret details to retrieve.
  • repository_id (integer, required) The unique identifier of the GitHub repository.
  • secret_name (string, required) The name of the environment secret to retrieve information about.

GithubApi.ManageGithubEnvironmentSecret


Create or update an encrypted environment secret on GitHub.

Parameters

  • encrypted_secret_value (string, required) The secret value encrypted with LibSodium using a public key. Retrieve the key from the ‘Get an environment public key’ endpoint.
  • encryption_key_id (string, required) The identifier for the encryption key used to encrypt the secret. This is required to ensure the correct decryption of the secret on GitHub.
  • environment_name (string, required) The name of the environment in the GitHub repository where the secret will be created or updated.
  • repository_unique_id (integer, required) The unique identifier of the GitHub repository where the secret will be managed.
  • secret_name (string, required) The name of the secret to be created or updated in the GitHub environment.

GithubApi.ListGithubEnvironmentVariables


Retrieve environment variables from a GitHub repository’s environment.

Parameters

  • environment_name (string, required) Specify the environment name to retrieve its variables within a GitHub repository.
  • repository_id (integer, required) The unique identifier of the GitHub repository to retrieve environment variables from.
  • results_page_number (integer, optional) Specify the page number to retrieve results from. Use for paginated results.
  • results_per_page (integer, optional) Specifies the number of environment variables to return per page, with a maximum allowed value of 30.

GithubApi.CreateGithubEnvVariable


Create an environment variable for GitHub Actions workflows.

Parameters

  • environment_name (string, required) Specify the name of the environment where the variable will be created. This is required for defining the scope within GitHub Actions workflows.
  • repository_identifier (integer, required) The unique identifier of the repository for which the environment variable is being created.
  • variable_name (string, required) The name of the environment variable to be created.
  • variable_value (string, required) The value assigned to the environment variable. Must be a string.

GithubApi.DeleteGithubEnvVariable


Deletes an environment variable in a GitHub repository environment.

Parameters

  • environment_name (string, required) The name of the environment from which the variable will be deleted.
  • repository_id (integer, required) The unique identifier of the GitHub repository where the environment variable will be deleted.
  • variable_name (string, required) The name of the environment variable to delete.

GithubApi.GetGithubEnvVariable


Retrieve specific environment variable details from GitHub.

Parameters

  • environment_name (string, required) The name of the environment to retrieve the variable from. Required for identifying the specific environment.
  • repository_id (integer, required) The unique identifier of the GitHub repository.
  • variable_name (string, required) The name of the environment variable to retrieve from the GitHub repository.

GithubApi.UpdateGithubActionsEnvVar


Update an environment variable in GitHub Actions workflow.

Parameters

  • environment_name (string, required) The name of the GitHub Actions workflow environment to update.
  • repository_id (integer, required) The unique identifier of the repository to update the environment variable in.
  • environment_variable_value (string, optional) The new value for the GitHub Actions environment variable.
  • variable_identifier (string, optional) The name of the environment variable to update.
  • variable_name (string, optional) The name of the environment variable to update in the GitHub Actions workflow.

GithubApi.ListProvisionedGroupsForEnterprise


Retrieve provisioned SCIM groups for an enterprise.

Parameters

  • exclude_attribute_from_results (string, optional) Specify an attribute to exclude from the results to speed up response time.
  • filter_by_attribute (string, optional) Filter results by a specific attribute. Supported filters: externalId, id, displayName. Example: externalId eq '9138790-10932-109120392-12321'.
  • results_per_page (integer, optional) The number of SCIM group results to return per page for pagination.
  • start_index (integer, optional) The starting index for pagination; specifies where to begin returning results.

GithubApi.CreateEnterpriseScimGroup


Create a SCIM group for a GitHub enterprise account.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.DeleteScimGroupFromEnterprise


Delete a SCIM group from an enterprise.

Parameters

  • scim_group_id (string, required) The unique identifier of the SCIM group to delete from an enterprise.

GithubApi.GetScimGroupInfo


Retrieve provisioning information for a SCIM group in an enterprise.

Parameters

  • scim_group_identifier (string, required) A unique identifier for the SCIM group to retrieve its provisioning information.
  • exclude_attributes (string, optional) Specify attributes to exclude from the response to speed up retrieval.

GithubApi.UpdateEnterpriseGroupAttributes


Update attributes for a provisioned enterprise group.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • scim_group_identifier (string, optional) A unique identifier for the SCIM group to be updated. This is required to specify which group’s attributes or memberships are being modified. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.UpdateEnterpriseGroupInfo


Replace all information for a provisioned enterprise group.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • scim_group_identifier (string, optional) A unique identifier for the SCIM group to update. This is necessary for identifying the specific group to replace its information. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListScimEnterpriseMembers


Lists provisioned SCIM enterprise members for GitHub enterprises.

Parameters

  • exclude_attributes (string, optional) Specify attributes to exclude from the results to improve query performance. Commonly used values are ‘groups’.
  • filter_criteria (string, optional) Filter results by userName, externalId, id, or displayName. Only one filter is supported. E.g., “externalId eq ‘9138790-10932-109120392-12321’”.
  • pagination_start_index (integer, optional) The starting index of the first result to return for paginated responses.
  • results_per_page (integer, optional) Specify the number of SCIM enterprise members to return per page for pagination.

GithubApi.ProvisionEnterpriseUser


Create a new SCIM enterprise user identity.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.DeleteUserFromEnterprise


Permanently delete a SCIM user from an enterprise account.

Parameters

  • scim_user_identifier (string, required) The unique identifier of the SCIM user to be permanently deleted from the enterprise.

GithubApi.GetScimUserInfo


Fetch SCIM user provisioning information.

Parameters

  • scim_user_identifier (string, required) The unique identifier for the SCIM user in the GitHub enterprise environment.

GithubApi.UpdateEnterpriseUserAttribute


Update individual attributes for a provisioned enterprise user.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • scim_user_id (string, optional) The unique identifier for the SCIM user whose attributes you want to update. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.UpdateProvisionedEnterpriseUserInfo


Update all information for a provisioned enterprise user.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • scim_user_identifier (string, optional) The unique identifier of the SCIM user for updating their information. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’.
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.SearchCodeInGithub


Search for code in GitHub repositories.

Parameters

  • search_query (string, required) A string containing search keywords and qualifiers to limit the search scope on GitHub. For more details, see the GitHub search query documentation.
  • results_page_number (integer, optional) The page number of the results to fetch. Use this to navigate through search results.
  • results_per_page (integer, optional) Specifies the number of results to return per page, with a maximum of 100.
  • sort_by_recent_index (string, optional) Sort the search results by most recently indexed files. The only valid value is indexed.
  • sort_order (string, optional) Determines whether the first search result returned is the highest number of matches (desc) or lowest number of matches (asc). Ignored unless sort is provided.

GithubApi.SearchGithubCommits


Search for GitHub commits using various criteria.

Parameters

  • commit_search_query (string, required) A string containing search keywords and qualifiers to find specific commits. Use qualifiers to narrow the search to specific areas of GitHub. See the API documentation for constructing queries with qualifiers.
  • result_order (string, optional) Determines whether the first search result returned has the highest number of matches (‘desc’) or the lowest (‘asc’). Used only with ‘sort’.
  • results_page_number (integer, optional) Page number of the results to fetch. Determines which set of results to retrieve in paginated requests.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.
  • sort_results_by (string, optional) Sort results by author-date or committer-date. Defaults to best match if not specified.

GithubApi.SearchGithubIssuesAndPrs


Search GitHub issues and pull requests by state and keyword.

Parameters

  • search_query (string, required) A string containing search keywords and qualifiers to limit search to specific areas. Supports various qualifiers for refined search.
  • results_page_number (integer, optional) Specify the page number of results to fetch (starting from 1).
  • results_per_page (integer, optional) The number of results to return per page, with a maximum limit of 100.
  • sort_by (string, optional) Specifies the sorting criteria for the results, such as by comments, reactions, or date created. Defaults to best match if not specified.
  • sort_order (string, optional) Determines whether the first search result returned is the highest number of matches (desc) or lowest number of matches (asc). This parameter is ignored unless you provide a sort value.

GithubApi.FindGithubLabels


Search for labels in a GitHub repository by keywords.

Parameters

  • repository_id (integer, required) The ID of the repository where labels will be searched.
  • search_keywords (string, required) Keywords to search for in label names or descriptions. Excludes qualifiers.
  • result_page_number (integer, optional) Specifies the page number of the search results to fetch. Useful for pagination.
  • results_per_page (integer, optional) The number of label results to display per page, with a maximum of 100.
  • sort_labels_by (string, optional) Specifies how to sort the query results by the timestamp fields ‘created’ or ‘updated’. Defaults to ‘best match’.
  • sort_order (string, optional) Determines if the highest (‘desc’) or lowest (‘asc’) matches appear first. Requires ‘sort’ to be set.

GithubApi.SearchGithubRepositories


Search GitHub repositories using various criteria.

Parameters

  • search_query (string, required) A string containing search keywords and qualifiers to find specific repositories. Supports qualifiers and keywords for targeted searches. Refer to GitHub’s documentation for query construction details: https://docs.github.com/enterprise-server@3.8/articles/searching-for-repositories/ .
  • result_order (string, optional) Set to ‘desc’ for highest matches first or ‘asc’ for lowest matches first in search results. Ignored if ‘sort’ is not provided.
  • results_page_number (integer, optional) Specify the page number of the results to fetch in the search query. Useful for navigating through paginated results.
  • results_per_page (integer, optional) Specify the number of repository results to return per page, with a maximum of 100.
  • sort_by (string, optional) Sort results by stars, forks, help-wanted-issues, or updated. Default is best match.

GithubApi.SearchGithubTopics


Search and retrieve topics from GitHub using specific criteria.

Parameters

  • search_query (string, required) Search query containing keywords and qualifiers to filter GitHub topics. Supports the same qualifiers as GitHub’s web interface.
  • result_page_number (integer, optional) The page number to fetch in the search results. Maximum is 100 results per page.
  • results_per_page (integer, optional) Specify the number of search results to return per page, with a maximum of 100.

GithubApi.GithubSearchUsers


Search for GitHub users based on specific criteria.

Parameters

  • search_query (string, required) Contains search keywords and qualifiers to find GitHub users. Supports multiple qualifiers to narrow the search. See GitHub’s query format documentation for details.
  • page_number (integer, optional) Page number to fetch results, used for accessing subsequent pages of search results. Maximum supported is 100.
  • results_per_page (integer, optional) The number of GitHub user results returned per page, up to a maximum of 100.
  • sort_by_criterion (string, optional) Sort the search results by ‘followers’, ‘repositories’, or ‘joined’. Defaults to best match if not specified.
  • sort_order (string, optional) Specifies the order of search results: ‘desc’ for highest matches or ‘asc’ for lowest. Requires ‘sort’.

GithubApi.CheckConfigStatus


Check the status of the most recent configuration process.

Parameters

This tool does not take any parameters.

GithubApi.StartGithubConfiguration


Initiate the GitHub configuration process.

Parameters

This tool does not take any parameters.

GithubApi.CheckMaintenanceStatus


Retrieve the maintenance status of your GitHub installation.

Parameters

This tool does not take any parameters.

GithubApi.ToggleMaintenanceMode


Toggle GitHub Enterprise maintenance mode.

Parameters

  • maintenance_mode_settings (string, required) A JSON string defining enabled (true/false) and when (e.g., ‘now’ or a chronic-parseable date) to set maintenance mode status and timing.

GithubApi.GetGithubEnterpriseSettings


Retrieve the current settings of your GitHub Enterprise instance.

Parameters

This tool does not take any parameters.

GithubApi.SetGithubEnterpriseSettings


Apply configuration settings to GitHub Enterprise instance.

Parameters

  • new_settings_json_string (string, required) A JSON string specifying new settings to apply to the GitHub Enterprise instance. Only include settings you wish to change.

GithubApi.RemoveAuthorizedSshKey


Remove an authorized SSH key from GitHub Enterprise.

Parameters

  • public_ssh_key (string, required) The public SSH key to be removed from GitHub Enterprise.

GithubApi.GetAllAuthorizedSshKeys


Retrieve all authorized SSH keys for enterprise admin.

Parameters

This tool does not take any parameters.

GithubApi.AddGithubAuthorizedSshKey


Add an authorized SSH key to GitHub Enterprise.

Parameters

  • public_ssh_key (string, required) The public SSH key to add to GitHub Enterprise. Ensure it is in the correct format.

GithubApi.GetGithubUserProfile


Retrieve authenticated user’s GitHub profile information.

Parameters

This tool does not take any parameters.

GithubApi.UpdateGithubProfile


Update your authenticated GitHub user profile.

Parameters

  • is_hireable (boolean, optional) Set to true if the user is available for hire, false otherwise.
  • new_blog_url (string, optional) The new blog URL to update on your GitHub profile.
  • new_company_name (string, optional) The new company name to update on the GitHub profile.
  • new_location (string, optional) The location to update in the user’s GitHub profile.
  • new_twitter_username (string, optional) The new Twitter username for the user to update in their GitHub profile.
  • new_user_biography (string, optional) The new short biography of the user for the GitHub profile update.
  • new_user_name (string, optional) The new name to update on the user’s GitHub profile.
  • public_visible_email_address (string, optional) The email address you want to be publicly visible on your GitHub profile. If your privacy settings hide your email, it will remain hidden.

GithubApi.DeleteUserEmail


Delete an email for the authenticated GitHub user.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListUserEmailAddresses


Retrieve all email addresses of the authenticated user.

Parameters

  • results_page_number (integer, optional) Specify the page number to fetch results for user email addresses.
  • results_per_page (integer, optional) The number of email results to retrieve per page, maximum is 100.

GithubApi.AddEmailToGithubAccount


Add a new email to the authenticated GitHub user’s account.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.ListFollowers


Retrieve followers of the authenticated user on GitHub.

Parameters

  • results_page_number (integer, optional) Specifies which page of followers to fetch. Used for pagination.
  • results_per_page (integer, optional) Specify the number of followers to list per page (maximum 100).

GithubApi.ListFollowedUsers


Lists the people the authenticated user follows.

Parameters

  • results_page_number (integer, optional) Specify the page number of the results you want to fetch.
  • results_per_page (integer, optional) The number of results to return per page, with a maximum of 100.

GithubApi.UnfollowGithubUser


Unfollow a user on GitHub.

Parameters

  • github_user_handle_to_unfollow (string, required) The GitHub user’s handle you want to unfollow. The user must be logged in and authenticated.

GithubApi.CheckIfUserIsFollowed


Check if a user is followed by the authenticated GitHub user.

Parameters

  • github_user_handle (string, required) The handle for the GitHub user account to check if they are followed by the authenticated user.

GithubApi.FollowGithubUser


Follow a specified user on GitHub.

Parameters

  • github_user_handle (string, required) The GitHub username of the account you want to follow. Ensure it is a valid GitHub user handle.

GithubApi.ListUserGpgKeys


Retrieve authenticated user’s GPG keys from GitHub.

Parameters

  • page_number (integer, optional) Specifies which page of results to retrieve for the GPG keys list. Use integers starting from 1.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum of 100.

GithubApi.AddGpgKeyToGithub


Add a GPG key to your authenticated GitHub account.

Parameters

  • gpg_key_ascii_armored_format (string, required) A GPG key in ASCII-armored format to be added to your GitHub account.
  • new_gpg_key_name (string, optional) A descriptive name for the new GPG key to be added to your GitHub account.

GithubApi.RemoveGpgKey


Remove a GPG key from your GitHub account.

Parameters

  • gpg_key_identifier (integer, required) The unique identifier of the GPG key to be removed from the authenticated user’s account.

GithubApi.GetUserGpgKeyDetails


Retrieve extended details for a user’s GPG key.

Parameters

  • gpg_key_identifier (integer, required) The unique identifier of the GPG key to retrieve details for.

GithubApi.GetGithubAppInstallations


Retrieve GitHub App installations for the authenticated user.

Parameters

  • results_page_number (integer, optional) Page number of the results to fetch for GitHub App installations.
  • results_per_page (integer, optional) Specifies the number of results to return per page, with a maximum of 100.

GithubApi.ListUserAccessibleRepos


List repositories accessible to the authenticated user.

Parameters

  • installation_identifier (integer, required) The unique identifier for the GitHub app installation required to list the repositories.
  • results_page_number (integer, optional) Specify the page number of results to fetch, starting from 1.
  • results_per_page (integer, optional) Specify the number of repository results to return per page (maximum 100).

GithubApi.RemoveRepoFromInstallation


Remove a repository from a GitHub app installation.

Parameters

  • installation_unique_identifier (integer, required) The unique identifier for the installation, needed to specify which installation to modify.
  • repository_id (integer, required) The unique integer identifier of the repository to be removed from the installation.

GithubApi.AddRepositoryToGithubInstallation


Add a repository to a GitHub installation for the authenticated user.

Parameters

  • installation_id (integer, required) The unique identifier of the GitHub installation.
  • repository_id (integer, required) Provide the unique integer identifier of the repository to add to the installation.

GithubApi.ListUserIssues


Fetch issues and pull requests assigned to you.

Parameters

  • issue_filter_type (string, optional) Specifies the type of issues to return. Options: ‘assigned’, ‘created’, ‘mentioned’, ‘subscribed’, ‘all’.
  • issue_state (string, optional) Specifies whether to return open, closed, or all issues.
  • label_filter (string, optional) Comma-separated list of label names to filter issues by. Example: ‘bug,ui,@high’.
  • result_page_number (integer, optional) Specifies the page number of the results to fetch. Use for paginating through result sets.
  • results_per_page (integer, optional) Specify the number of issues or pull requests to return per page. The maximum allowed value is 100.
  • sort_by (string, optional) Choose sorting method for results: ‘created’, ‘updated’, or ‘comments’.
  • sort_direction (string, optional) Specifies the sorting direction of the results, either ascending (asc) or descending (desc).
  • updated_since (string, optional) Show issues updated after this timestamp. Use ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

GithubApi.ListPublicSshKeys


Retrieve public SSH keys for the authenticated GitHub user.

Parameters

  • result_page_number (integer, optional) Specifies which page of results to fetch, starting from 1.
  • results_per_page (integer, optional) The number of SSH key results to display per page, with a maximum of 100.

GithubApi.AddSshKeyToGithubAccount


Add a public SSH key to your GitHub account.

Parameters

  • public_ssh_key (string, required) The public SSH key content to add to your GitHub account. Ensure it is in the correct format.
  • ssh_key_title (string, optional) A descriptive name for the new SSH key added to the GitHub account.

GithubApi.RemoveGithubSshKey


Removes a public SSH key from your GitHub account.

Parameters

  • ssh_key_unique_identifier (integer, required) The unique identifier for the SSH key to be removed from the GitHub account.

GithubApi.GetPublicSshKeyDetails


Retrieve details for a specified public SSH key.

Parameters

  • ssh_key_identifier (integer, required) The unique identifier for the public SSH key to retrieve details.

GithubApi.ListOrganizationMemberships


Retrieve organization memberships for the authenticated user.

Parameters

  • membership_state (string, optional) Filter memberships by state: ‘active’ or ‘pending’. Returns both if unspecified.
  • results_page_number (integer, optional) Specify the page number of results to fetch, for pagination.
  • results_per_page (integer, optional) Number of results per page. Maximum allowed is 100.

GithubApi.GetOrgMembershipStatus


Retrieve the user’s organization membership status.

Parameters

  • organization_name (string, required) The name of the organization. It is not case sensitive and should be provided as a string.

GithubApi.UpdateGithubOrgMembership


Update your GitHub organization membership settings.

Parameters

  • membership_state (string, required) Set the state of the membership. Only accepts “active”.
  • organization_name (string, required) The name of the GitHub organization. This should not be case sensitive.

GithubApi.ListUserMigrations


Lists all migrations a user has started.

Parameters

  • results_page_number (integer, optional) The specific page of migration results to retrieve, starting from 1.
  • results_per_page (integer, optional) The number of migration results per page, with a maximum of 100.

GithubApi.InitiateUserMigration


Begin the creation of a user migration archive.

Parameters

  • repository_list (array[string], required) A list of repository names to be included in the migration. Expect an array of strings representing repository names.
  • exclude_attachments (boolean, optional) Set to true to exclude attachments from the migration.
  • exclude_attributes (array[string], optional) List of attributes to exclude from the API response for better performance.
  • exclude_metadata (boolean, optional) Set to true to exclude metadata and include only git source in the migration.
  • exclude_owner_projects (boolean, optional) Set to true to exclude projects owned by the organization or users from the migration process.
  • exclude_releases (boolean, optional) Set to true to exclude releases from the migration process.
  • exclude_repository_git_data (boolean, optional) Set to true to exclude repository git data from the migration.
  • lock_repositories (boolean, optional) Set to true to lock the repositories at the start of the migration.
  • org_metadata_only (boolean, optional) Set to true to include only organization metadata. Repositories array will be empty and other flags are ignored.

GithubApi.DownloadGithubMigrationArchive


Fetch the URL to download a GitHub migration archive.

Parameters

  • migration_unique_id (integer, required) The unique identifier for the GitHub migration. This ID is required to fetch the migration archive URL.

GithubApi.ListUserMigrationRepos


Retrieve repositories for a user’s migration.

Parameters

  • migration_unique_identifier (integer, required) The unique identifier for the user migration to retrieve repositories.
  • result_page_number (integer, optional) Specify the page number of results to retrieve. Use this to paginate through multiple pages of repository data.
  • results_per_page (integer, optional) The number of repository results to return per page, with a maximum of 100.

GithubApi.ListUserOrganizations


List organizations for the authenticated GitHub user.

Parameters

  • page_number_to_fetch (integer, optional) Page number of the results to fetch for user organizations.
  • results_per_page (integer, optional) The number of organizations listed per page, up to a maximum of 100.

GithubApi.CreateGithubUserProjectBoard


Create a project board for a GitHub user.

Parameters

  • project_name (string, required) The name for the GitHub project board to be created. It should be a string representing the desired name.
  • project_body (string, optional) The content or description of the GitHub project board. It should be a concise string summarizing the project’s purpose or details.

GithubApi.ListGithubPublicEmails


Retrieve publicly visible GitHub emails for the authenticated user.

Parameters

  • results_page_number (integer, optional) The page number of email results to retrieve. Use this to navigate through paginated email results.
  • results_per_page (integer, optional) The number of email results to display per page, with a maximum of 100.

GithubApi.ListUserRepositories


Retrieve repositories accessible to the authenticated user.

Parameters

  • filter_repositories_before_timestamp (string, optional) Only show repositories updated before the specified timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
  • repository_affiliation_filter (string, optional) Specify affiliations for repositories to list. Options: owner, collaborator, organization_member. Provide as a comma-separated string.
  • repository_type (string, optional) Limit results to repositories of the specified type: ‘all’, ‘owner’, ‘public’, ‘private’, or ‘member’. Avoid using with ‘visibility’ or ‘affiliation’.
  • repository_visibility (string, optional) Limit results to repositories with the specified visibility: ‘all’, ‘public’, or ‘private’.
  • results_page_number (integer, optional) Specify the page number of the results to fetch.
  • results_per_page (integer, optional) The maximum number of repositories to display per page. Accepts an integer up to 100.
  • sort_order (string, optional) Specify the order to sort repositories. Use ‘asc’ for ascending or ‘desc’ for descending. Default is ‘asc’ for ‘full_name’ sort and ‘desc’ otherwise.
  • sort_property (string, optional) Property by which to sort repositories, such as created, updated, pushed, or full_name.
  • updated_after_timestamp (string, optional) Filter repositories updated after the specified ISO 8601 timestamp (YYYY-MM-DDTHH:MM:SSZ).

GithubApi.CreateGithubRepoForUser


Create a new GitHub repository for the authenticated user.

Parameters

  • mode (Enum ToolMode, required) Operation mode: ‘get_request_schema’ returns the OpenAPI spec for the request body, ‘execute’ performs the actual operation
  • request_body (string, optional) Stringified JSON representing the request body. Required when mode is ‘execute’, ignored when mode is ‘get_request_schema’

GithubApi.FetchOpenRepoInvitations


List open repository invitations for the authenticated user.

Parameters

  • page_number (integer, optional) Specify the page number of results to retrieve for open repository invitations.
  • results_per_page (integer, optional) Specify the number of results to display per page, up to a maximum of 100.

GithubApi.DeclineRepoInvitation


Decline an invitation to join a GitHub repository.

Parameters

  • invitation_id (integer, required) The unique identifier of the GitHub repository invitation to decline.

GithubApi.AcceptGithubRepoInvitation


Accept a GitHub repository invitation.

Parameters

  • invitation_id (integer, required) The unique identifier for the GitHub invitation to be accepted.

GithubApi.ListSshSigningKeys


Retrieve SSH signing keys for the authenticated GitHub user.

Parameters

  • results_page_number (integer, optional) Page number of the results to fetch. Use this to navigate through paginated results.
  • results_per_page (integer, optional) The number of SSH signing key results to display per page. The maximum allowed is 100.

GithubApi.CreateSshSigningKeyGithub


Create an SSH signing key for your GitHub account.

Parameters

  • public_ssh_key (string, required) The public SSH key to add to your GitHub account. Check for existing SSH keys before adding.
  • ssh_key_title (string, optional) A descriptive name for the new SSH signing key.

GithubApi.DeleteGithubSshSigningKey


Delete an SSH signing key from your GitHub account.

Parameters

  • ssh_signing_key_identifier (integer, required) The unique identifier of the SSH signing key to delete. It must be an integer.

GithubApi.GetSshSigningKeyDetails


Retrieve extended details for an SSH signing key.

Parameters

  • ssh_signing_key_identifier (integer, required) The unique identifier of the SSH signing key to retrieve details for the authenticated user.

GithubApi.ListStarredRepositories


Retrieve repositories starred by the authenticated user.

Parameters

  • page_number_to_fetch (integer, optional) Specify the page number of results to retrieve. Use for pagination of starred repositories.
  • results_per_page (integer, optional) The number of repositories to return per page, maximum of 100.
  • sort_by (string, optional) The property to sort the results by. Use ‘created’ for sorting by the star creation date or ‘updated’ for the last push date.
  • sort_direction (string, optional) The direction to sort the results by. Use ‘asc’ for ascending or ‘desc’ for descending.

GithubApi.UnstarGithubRepo


Unstar a GitHub repository for the authenticated user.

Parameters

  • repository_name (string, required) The name of the repository to unstar, not case sensitive.
  • repository_owner (string, required) The account owner of the GitHub repository. The name is not case sensitive.

GithubApi.CheckRepoStarredByUser


Check if a repository is starred by the authenticated user.

Parameters

  • repository_name (string, required) The name of the GitHub repository to check. This is case insensitive.
  • repository_owner_account (string, required) The account owner of the repository. This value is not case sensitive.

GithubApi.StarGithubRepository


Star a GitHub repository for the authenticated user.

Parameters

  • repository_name (string, required) The name of the GitHub repository to star. This name is not case sensitive.
  • repository_owner (string, required) The account owner of the repository, case insensitive.

GithubApi.ListWatchedRepositories


Retrieve repositories watched by the authenticated user.

Parameters

  • results_page_number (integer, optional) Specify the page number of the results to fetch. Used for pagination of results.
  • results_per_page (integer, optional) The number of repository results displayed per page (maximum 100).

GithubApi.ListUserGithubTeams


Retrieve teams the authenticated GitHub user belongs to.

Parameters

  • results_page_number (integer, optional) Page number to specify which set of results to fetch. Useful for pagination.
  • results_per_page (integer, optional) Number of results to display per page, maximum value is 100.

GithubApi.ListGithubUsers


Retrieve a list of all GitHub users by signup order.

Parameters

  • results_per_page (integer, optional) The number of results to return per page, with a maximum of 100 allowed.
  • user_id_threshold (integer, optional) A user ID. Only return users with an ID greater than this number.

GithubApi.GetGithubUserInfo


Fetch public details of a GitHub user using their username.

Parameters

  • github_username (string, required) The GitHub user’s handle. Used to fetch their public profile information.

GithubApi.ListUserGithubEvents


Retrieve a user’s GitHub events, including private if authenticated.

Parameters

  • github_user_handle (string, required) The GitHub username for which to retrieve events. Use the handle of the user account.
  • page_number (integer, optional) The page number of results to fetch for the user’s GitHub events.
  • results_per_page (integer, optional) Number of results to return per page, up to a maximum of 100.

GithubApi.GetUserOrgEvents


Retrieve organization events for an authenticated GitHub user.

Parameters

  • github_username (string, required) The GitHub handle of the user account for whom events are being retrieved. Authentication is required to access user-specific details.
  • organization_name (string, required) The name of the GitHub organization. This parameter is not case sensitive.
  • results_page_number (integer, optional) The specific page of results to retrieve. Provides pagination for fetching events.
  • results_per_page (integer, optional) Specify the number of results to display per page, with a maximum of 100.

GithubApi.ListGithubUserPublicEvents


Retrieve a GitHub user’s public events.

Parameters

  • github_user_handle (string, required) The GitHub user’s handle to retrieve public events for.
  • page_number (integer, optional) The page number of the results to retrieve. Use to navigate through paginated results.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.

GithubApi.ListUserFollowers


Retrieve a list of followers for a specific GitHub user.

Parameters

  • github_user_handle (string, required) The GitHub user handle to list followers for.
  • results_page_number (integer, optional) Specify the page number of results to retrieve followers for the specified user. Use this to paginate through results if there are many followers.
  • results_per_page (integer, optional) The number of follower results to display per page, with a maximum limit of 100.

GithubApi.UserFollowingList


Retrieve users followed by a specified GitHub user.

Parameters

  • github_user_handle (string, required) The GitHub username of the account whose followings you want to list.
  • result_page_number (integer, optional) The page number of the result set to retrieve. Use this to paginate results.
  • results_per_page (integer, optional) Specify the number of results to display per page. Maximum is 100.

GithubApi.CheckUserFollowingStatus


Verify if a user follows another GitHub user.

Parameters

  • github_user_handle (string, required) The handle for the GitHub user account initiating the following request.
  • target_username (string, required) The username of the GitHub account you want to check if the main user follows.

GithubApi.GetUserGists


Retrieve a user’s public gists from GitHub.

Parameters

  • github_user_handle (string, required) The GitHub username whose public gists you want to retrieve.
  • page_number (integer, optional) Page number of the gist results to fetch. Used for paginating results.
  • results_per_page (integer, optional) The number of gists to display per page, with a maximum limit of 100.
  • updated_after_timestamp (string, optional) Show notifications updated after the specified timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

GithubApi.ListGpgKeysForUser


Retrieve public GPG keys for a GitHub user.

Parameters

  • github_user_handle (string, required) The GitHub username of the account to retrieve GPG keys for.
  • page_number (integer, optional) Page number of the results to fetch. Used for pagination.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.

GithubApi.GetGithubUserHovercardInfo


Retrieve detailed hovercard info for a GitHub user.

Parameters

  • github_username (string, required) The GitHub username for which to retrieve hovercard information.
  • additional_info_type (string, optional) Specifies the type of related information for the user’s hovercard. Options: organization, repository, issue, pull_request. Required with subject_id.
  • subject_identifier (string, optional) The ID corresponding to the specified subject_type (e.g., organization, repository). Required if subject_type is used.

GithubApi.GetGithubUserInstallation


Retrieve a user’s GitHub App installation information.

Parameters

  • github_user_handle (string, required) The handle (username) of the GitHub user account to retrieve installation details for.

GithubApi.GetPublicSshKeys


Retrieve verified public SSH keys for a specified GitHub user.

Parameters

  • github_user_handle (string, required) The GitHub user’s handle to retrieve their verified public SSH keys.
  • results_page_number (integer, optional) Specify the page number of results to retrieve for pagination purposes.
  • results_per_page (integer, optional) Specify the number of results per page, with a maximum allowed value of 100.

GithubApi.ListPublicOrgsForUser


Retrieve public organization memberships for a GitHub user.

Parameters

  • github_user_handle (string, required) The GitHub user account handle to retrieve public organization memberships for.
  • results_page_number (integer, optional) Specify the page number of the results to fetch, for paginated results.
  • results_per_page (integer, optional) The number of results to return per page, with a maximum of 100.

GithubApi.ListUserProjects


Retrieve a list of GitHub projects for a specific user.

Parameters

  • github_username (string, required) The GitHub username of the account whose projects are to be listed.
  • project_state (string, optional) Specify the state of projects to return. Options are ‘open’, ‘closed’, or ‘all’.
  • results_page_number (integer, optional) Specify the page number of the results to fetch when listing user projects.
  • results_per_page (integer, optional) The number of projects to display per page, up to a maximum of 100.

GithubApi.GetUserReceivedGithubEvents


Retrieve events received by a GitHub user.

Parameters

  • github_user_handle (string, required) The handle of the GitHub user account for which to retrieve events.
  • result_page_number (integer, optional) Specifies the page number of results to retrieve from the GitHub events list.
  • results_per_page (integer, optional) Specify the number of results per page, up to a maximum of 100.

GithubApi.ListUserReceivedPublicEvents


Retrieve public events received by a GitHub user.

Parameters

  • github_user_handle (string, required) The GitHub handle for the user account whose public events are to be listed.
  • page_number (integer, optional) Specify the page number of the results you wish to fetch.
  • results_per_page (integer, optional) The number of results to return per page, with a maximum of 100.

GithubApi.GetUserRepos


Retrieve public repositories of a GitHub user.

Parameters

  • github_user_handle (string, required) The handle for the GitHub user whose repositories you want to retrieve.
  • page_number (integer, optional) The page number of results to fetch, starting from 1.
  • repository_type (string, optional) Limit results to repositories of the specified type: ‘all’, ‘owner’, or ‘member’.
  • results_per_page (integer, optional) Specify the number of repository results to be returned per page, up to a maximum of 100.
  • sort_order (string, optional) Specifies the order to sort the repositories. Use ‘asc’ for ascending and ‘desc’ for descending order.
  • sort_results_by (string, optional) Specify the property to sort the repository results by. Options: ‘created’, ‘updated’, ‘pushed’, or ‘full_name’.

GithubApi.DemoteGithubSiteAdministrator


Demote a GitHub site administrator.

Parameters

  • github_user_handle (string, required) The GitHub user account handle to be demoted.

GithubApi.PromoteUserToSiteAdmin


Promote a user to site administrator on GitHub Enterprise.

Parameters

  • github_user_handle (string, required) The handle for the GitHub user account to be promoted to site administrator.

GithubApi.ListSshSigningKeysForUser


Retrieve SSH signing keys for a specific GitHub user.

Parameters

  • github_username (string, required) The GitHub username whose SSH signing keys you want to retrieve.
  • results_page_number (integer, optional) Page number of the results to fetch when listing SSH signing keys.
  • results_per_page (integer, optional) The number of results to display per page, with a maximum of 100.

GithubApi.ListStarredRepos


Retrieve repositories starred by a user on GitHub.

Parameters

  • github_user_handle (string, required) The GitHub user’s handle (username) to retrieve starred repositories for.
  • page_number (integer, optional) The page number of the results to fetch, useful for pagination.
  • results_per_page (integer, optional) The number of repository results to return per page, with a maximum of 100.
  • sort_direction (string, optional) Specify the direction to sort the results: ‘asc’ for ascending or ‘desc’ for descending.
  • sort_repositories_by (string, optional) Property to sort the repositories by: ‘created’ for star date or ‘updated’ for last push date.

GithubApi.ListWatchedRepos


Retrieve a list of repositories a user watches on GitHub.

Parameters

  • github_user_handle (string, required) The GitHub handle of the user whose watched repositories are to be retrieved.
  • results_page_number (integer, optional) Page number of the results to fetch for the user’s watched repositories.
  • results_per_page (integer, optional) Specify the number of repository results to return per page, with a maximum of 100.

GithubApi.UnsuspendGithubUser


Unsuspend a user on GitHub Enterprise.

Parameters

  • github_user_handle (string, required) The GitHub user handle to identify the user account to unsuspend.
  • unsuspension_reason (string, optional) The reason for unsuspending the user, logged in the audit log. Defaults to “Unsuspended via API by SITE_ADMINISTRATOR” if not provided.

GithubApi.SuspendGithubUser


Suspend a user on a GitHub Enterprise instance.

Parameters

  • github_user_handle (string, required) The GitHub username to suspend, excluding Active Directory LDAP-authenticated users.
  • suspension_reason (string, optional) A string detailing why the user is being suspended, which will be logged in the audit log. If omitted, a default message is used.

GithubApi.GetRandomGithubZen


Fetch a random Zen of GitHub sentence.

Parameters

This tool does not take any parameters.

Secrets

All tools in this toolset require the following secret: GIT_SERVER_URL (learn how to configure secrets)

The GIT_SERVER_URL secret specifies the GitHub server URL. Use https://api.github.com for regular GitHub.com accounts, or your GitHub Enterprise server URL (e.g., https://github.your-company.com/api/v3) for GitHub Enterprise deployments.

Reference

Below is a reference of enumerations used by some of the tools in the GithubApi MCP Server:

ToolMode

  • GET_REQUEST_SCHEMA: get_request_schema
  • EXECUTE: execute

Auth

The GithubApi MCP Server uses the Auth Provider with id arcade-github to connect to users’ GithubApi accounts. In order to use the MCP Server, you will need to configure the arcade-github auth provider.

For detailed information on configuring the GitHub OAuth provider with Arcade, see the GitHub Auth Provider documentation.

Last updated on

GithubApi | Arcade Docs