# Functions
Bool is a helper routine that allocates a new bool value to store v and returns a pointer to it.
CheckResponse checks the API response for errors, and returns them if present.
DeliveryID returns the unique delivery ID of webhook request r.
EventForType returns an empty struct matching the specified GitHub event type.
GetRateLimitCategory returns the rate limit RateLimitCategory of the endpoint, determined by HTTP method and Request.URL.Path.
Int is a helper routine that allocates a new int value to store v and returns a pointer to it.
Int64 is a helper routine that allocates a new int64 value to store v and returns a pointer to it.
MessageTypes returns a sorted list of all the known GitHub event type strings supported by go-github.
NewClient returns a new GitHub API client.
NewClientWithEnvProxy enhances NewClient with the HttpProxy env.
NewEnterpriseClient returns a new GitHub API client with provided base URL and upload URL (often is your GitHub Enterprise hostname).
NewTokenClient returns a new GitHub API client authenticated with the provided token.
ParseWebHook parses the event payload.
Ptr is a helper routine that allocates a new T value to store v and returns a pointer to it.
String is a helper routine that allocates a new string value to store v and returns a pointer to it.
Stringify attempts to create a reasonable string representation of types in the GitHub library.
ValidatePayload validates an incoming GitHub Webhook event request and returns the (JSON) payload.
ValidatePayloadFromBody validates an incoming GitHub Webhook event request body and returns the (JSON) payload.
ValidateSignature validates the signature for the given payload.
WebHookType returns the event type of webhook request r.
WithVersion overrides the GitHub v3 API version for this individual request.
# Constants
No description provided by the author
No description provided by the author
This is the set of GitHub ruleset bypass actor types.
This is the set of GitHub ruleset bypass actor types.
This is the set of GitHub ruleset bypass actor types.
This is the set of GitHub ruleset bypass actor types.
This is the set of GitHub ruleset bypass actor types.
This is the set of GitHub ruleset bypass modes.
This is the set of GitHub ruleset bypass modes.
This is the set of GitHub ruleset bypass modes.
BypassRateLimitCheck prevents a pre-emptive check for exceeded primary rate limits Specify this by providing a context with this key, e.g.
An array of this length will be able to contain all rate limit categories.
This is the set of GitHub code scanning alerts thresholds.
This is the set of GitHub code scanning alerts thresholds.
This is the set of GitHub code scanning alerts thresholds.
This is the set of GitHub code scanning alerts thresholds.
This is the set of GitHub code scanning security alerts thresholds.
This is the set of GitHub code scanning security alerts thresholds.
This is the set of GitHub code scanning security alerts thresholds.
This is the set of GitHub code scanning security alerts thresholds.
This is the set of GitHub code scanning security alerts thresholds.
No description provided by the author
No description provided by the author
No description provided by the author
DeliveryIDHeader is the GitHub header key used to pass the unique ID for the webhook event.
No description provided by the author
Diff format.
EventTypeHeader is the GitHub header key used to pass the event type.
No description provided by the author
No description provided by the author
This is the set of GitHub merge grouping strategies.
This is the set of GitHub merge grouping strategies.
This is the set of GitHub merge methods.
This is the set of GitHub merge methods.
This is the set of GitHub merge methods.
Patch format.
This is the set of GitHub pattern rule operators.
This is the set of GitHub pattern rule operators.
This is the set of GitHub pattern rule operators.
This is the set of GitHub pattern rule operators.
This is the set of GitHub ruleset enforcements.
This is the set of GitHub ruleset enforcements.
This is the set of GitHub ruleset enforcements.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset rule types.
This is the set of GitHub ruleset source types.
This is the set of GitHub ruleset source types.
This is the set of GitHub ruleset source types.
This is the set of GitHub ruleset targets.
This is the set of GitHub ruleset targets.
This is the set of GitHub ruleset targets.
No description provided by the author
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
REVISIT: is this actually returned, or just a documentation artifact?.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
This is the set of scopes for GitHub API V3.
No description provided by the author
SHA1SignatureHeader is the GitHub header key used to pass the HMAC-SHA1 hexdigest.
SHA256SignatureHeader is the GitHub header key used to pass the HMAC-SHA256 hexdigest.
No description provided by the author
No description provided by the author
Tarball specifies an archive in gzipped tar format.
No description provided by the author
Zipball specifies an archive in zip format.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AbuseRateLimitError occurs when GitHub returns 403 Forbidden response with the "documentation_url" field value equal to "https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits".
AcceptedError occurs when GitHub returns 202 Accepted response with an empty body, which means a job was scheduled on the GitHub side to process the information needed and cache it.
ActionBilling represents a GitHub Action billing.
ActionsAllowed represents selected actions that are allowed.
ActionsCache represents a GitHub action cache.
ActionsCacheList represents a list of GitHub actions Cache.
ActionsCacheListOptions represents a list of all possible optional Query parameters for ListCaches method.
ActionsCacheUsage represents a GitHub Actions Cache Usage object.
ActionsCacheUsageList represents a list of repositories with GitHub Actions cache usage for an organization.
ActionsEnabledOnEnterpriseRepos represents all the repositories in an enterprise for which Actions is enabled.
ActionsEnabledOnOrgRepos represents all the repositories in an organization for which Actions is enabled.
ActionsPermissions represents a policy for repositories and allowed actions in an organization.
ActionsPermissionsEnterprise represents a policy for allowed actions in an enterprise.
ActionsPermissionsRepository represents a policy for repositories and allowed actions in a repository.
ActionsVariable represents a repository action variable.
ActionsVariables represents one item from the ListVariables response.
ActiveCommitters represents the total active committers across all repositories in an Organization.
ActivityListStarredOptions specifies the optional parameters to the ActivityService.ListStarred method.
ActorLocation contains information about reported location for an actor.
AdminEnforcedChanges represents the changes made to the AdminEnforced policy.
AdminEnforcement represents the configuration to enforce required status checks for repository administrators.
AdminStats represents a variety of stats of a GitHub Enterprise installation.
AdvancedSecurity specifies the state of advanced security on a repository.
AdvancedSecurityCommittersBreakdown represents the user activity breakdown for ActiveCommitters.
AdvisoryCVSS represents the advisory pertaining to the Common Vulnerability Scoring System.
AdvisoryCWEs represent the advisory pertaining to Common Weakness Enumeration.
AdvisoryIdentifier represents the identifier for a Security Advisory.
AdvisoryReference represents the reference url for the security advisory.
AdvisoryVulnerability represents the vulnerability object for a Security Advisory.
Alert represents an individual GitHub Code Scanning Alert on a single repository.
AlertInstancesListOptions specifies optional parameters to the CodeScanningService.ListAlertInstances method.
AlertListOptions specifies optional parameters to the CodeScanningService.ListAlerts method.
AllowDeletions represents the configuration to accept deletion of protected branches.
AllowDeletionsEnforcementLevelChanges represents the changes made to the AllowDeletionsEnforcementLevel policy.
AllowForcePushes represents the configuration to accept forced pushes on protected branches.
AllowForkSyncing represents whether users can pull changes from upstream when the branch is locked.
AnalysesListOptions specifies optional parameters to the CodeScanningService.ListAnalysesForRepo method.
APIMeta represents metadata about the GitHub API.
APIMetaArtifactAttestations represents the artifact attestation services domains.
APIMetaDomains represents the domains associated with GitHub services.
App represents a GitHub App.
AppConfig describes the configuration of a GitHub App.
ArchivedAt represents an archiving date change.
Artifact represents a GitHub artifact.
ArtifactList represents a list of GitHub artifacts.
ArtifactWorkflowRun represents a GitHub artifact's workflow run.
Attachment represents a GitHub Apps attachment.
Attestation represents an artifact attestation associated with a repository.
AttestationsResponse represents a collection of artifact attestations.
AuditEntry describes the fields that may be represented by various audit-log "action" entries.
Authorization represents an individual GitHub authorization.
AuthorizationApp represents an individual GitHub app (in the context of authorization).
AuthorizationRequest represents a request to create an authorization.
AuthorizationUpdateRequest represents a request to update an authorization.
AuthorizedActorNames represents who are authorized to edit the branch protection rules.
AuthorizedActorsOnly represents if the branch rule can be edited by authorized actors only.
AuthorizedDismissalActorsOnlyChanges represents the changes made to the AuthorizedDismissalActorsOnly policy.
Autolink represents autolinks to external resources like JIRA issues and Zendesk tickets.
AutolinkOptions specifies parameters for RepositoriesService.AddAutolink method.
AutomatedSecurityFixes represents their status.
AutoTriggerCheck enables or disables automatic creation of CheckSuite events upon pushes to the repository.
BasicAuthTransport is an http.RoundTripper that authenticates all requests using HTTP Basic Authentication with the provided username and password.
Blob represents a blob object.
BlockCreations represents whether users can push changes that create branches.
Branch represents a repository branch.
BranchCommit is the result of listing branches with commit SHA.
BranchListOptions specifies the optional parameters to the RepositoriesService.ListBranches method.
BranchPolicy represents the options for whether a branch deployment policy is applied to this environment.
BranchProtectionConfigurationEvent is triggered when there is a change to branch protection configurations for a repository.
BranchProtectionRule represents the rule applied to a repositories branch.
BranchProtectionRuleEvent triggered when a check suite is "created", "edited", or "deleted".
BranchRestrictions represents the restriction that only certain users or teams may push to a branch.
BranchRestrictionsRequest represents the request to create/edit the restriction that only certain users or teams may push to a branch.
BranchRuleMetadata represents the metadata for a branch rule.
BranchRules represents the rules active for a GitHub repository branch.
BypassActor represents the bypass actors from a ruleset.
BypassPullRequestAllowances represents the people, teams, or apps who are allowed to bypass required pull requests.
BypassPullRequestAllowancesRequest represents the people, teams, or apps who are allowed to bypass required pull requests.
CheckRun represents a GitHub check run on a repository associated with a GitHub app.
CheckRunAction exposes further actions the integrator can perform, which a user may trigger.
CheckRunAnnotation represents an annotation object for a CheckRun output.
CheckRunEvent is triggered when a check run is "created", "completed", or "rerequested".
CheckRunImage represents an image object for a CheckRun output.
CheckRunOutput represents the output of a CheckRun.
CheckSuite represents a suite of check runs.
CheckSuiteEvent is triggered when a check suite is "completed", "requested", or "rerequested".
CheckSuitePreferenceOptions set options for check suite preferences for a repository.
CheckSuitePreferenceResults represents the results of the preference set operation.
A Client manages communication with the GitHub API.
ClusterSSHKey represents the SSH keys configured for the instance.
ClusterStatus represents a response from the ClusterStatus and ReplicationStatus methods.
ClusterStatusNode represents the status of a cluster node.
ClusterStatusNodeServiceItem represents the status of a service running on a cluster node.
CodeOfConduct represents a code of conduct.
CodeownersError represents a syntax error detected in the CODEOWNERS file.
CodeownersErrors represents a list of syntax errors detected in the CODEOWNERS file.
CodeQLDatabase represents a metadata about the CodeQL database.
CodeResult represents a single search result.
CodeScanningAlertEvent is triggered when a code scanning finds a potential vulnerability or error in your code.
CodeScanningAlertState specifies the state of a code scanning alert.
CodeScanningBranchRule represents a code scanning branch rule.
CodeScanningRuleParameters represents the code scanning rule parameters.
CodeSearchResult represents the result of a code search.
CodeSecurityConfiguration represents a code security configuration.
CodeSecurityConfigurationWithDefaultForNewRepos represents a code security configuration with default for new repos param.
Codespace represents a codespace.
CodespacesGitStatus represents the git status of a codespace.
CodespacesMachine represents the machine type of a codespace.
CodespacesRuntimeConstraints represents the runtime constraints of a codespace.
CollaboratorInvitation represents an invitation created when adding a collaborator.
CombinedStatus represents the combined status of a repository at a particular reference.
Comment represents comments of issue to import.
CommentDiscussion represents a comment in a GitHub DiscussionCommentEvent.
CommentStats represents the number of total comments on commits, gists, issues and pull requests.
Commit represents a GitHub commit.
CommitAuthor represents the author or committer of a commit.
CommitCommentEvent is triggered when a commit comment is created.
CommitFile represents a file modified in a commit.
CommitResult represents a commit object as returned in commit search endpoint response.
CommitsComparison is the result of comparing two commits.
CommitsListOptions specifies the optional parameters to the RepositoriesService.ListCommits method.
CommitsSearchResult represents the result of a commits search.
CommitStats represents the number of additions / deletions from a file in a given RepositoryCommit or GistCommit.
CommunityHealthFiles represents the different files in the community health metrics response.
CommunityHealthMetrics represents a response containing the community metrics of a repository.
ConfigApplyEvents is a struct to hold the response from the ConfigApplyEvents API.
ConfigApplyEventsNode is a struct to hold the response from the ConfigApplyEvents API.
ConfigApplyEventsNodeEvent is a struct to hold the response from the ConfigApplyEvents API.
ConfigApplyEventsOptions is used to enable pagination.
ConfigApplyOptions is a struct to hold the options for the ConfigApply API and the response.
ConfigApplyStatus is a struct to hold the response from the ConfigApply API.
ConfigApplyStatusNode is a struct to hold the response from the ConfigApply API.
ConfigSettings is a struct to hold the response from the Settings API.
ConfigSettingsAvatar is a struct to hold the response from the Settings API.
ConfigSettingsCAS is a struct to hold the response from the Settings API.
ConfigSettingsCollectd is a struct to hold the response from the Settings API.
ConfigSettingsCustomer is a struct to hold the response from the Settings API.
ConfigSettingsGithubOAuth is a struct to hold the response from the Settings API.
ConfigSettingsGithubSSL is a struct to hold the response from the Settings API.
ConfigSettingsLDAP is a struct to hold the response from the Settings API.
ConfigSettingsLDAPProfile is part of the ConfigSettingsLDAP struct.
ConfigSettingsLDAPReconciliation is part of the ConfigSettingsLDAP struct.
ConfigSettingsLicenseSettings is a struct to hold the response from the Settings API.
ConfigSettingsMapping is a struct to hold the response from the Settings API.
ConfigSettingsNTP is a struct to hold the response from the Settings API.
ConfigSettingsPagesSettings is a struct to hold the response from the Settings API.
ConfigSettingsSAML is a struct to hold the response from the Settings API.
ConfigSettingsSMTP is a struct to hold the response from the Settings API.
ConfigSettingsSNMP is a struct to hold the response from the Settings API.
ConfigSettingsSyslog is a struct to hold the response from the Settings API.
ConnectionServiceItem represents the connection services for the maintenance status.
ContentReference represents a reference to a URL in an issue or pull request.
ContentReferenceEvent is triggered when the body or comment of an issue or pull request includes a URL that matches a configured content reference domain.
Contributor represents a repository contributor.
ContributorStats represents a contributor to a repository and their weekly contributions to a given repo.
CopilotDotcomChat represents Copilot usage metrics for Copilot Chat in the webbrowser, categorized by model.
CopilotDotcomChatModel represents Copilot usage metrics for chatting with a model in the webbrowser.
CopilotDotcomPullRequests represents Copilot usage metrics for pull requests in the webbrowser, categorized by repository and model.
CopilotDotcomPullRequestsModel represents Copilot usage metrics for pull requests in the webbrowser, categorized by model.
CopilotDotcomPullRequestsRepository represents Copilot usage metrics for pull requests in the webbrowser, categorized by repository.
CopilotIDEChat represents Copilot usage metrics for Copilot Chat in the IDE, categorized by editor and model.
CopilotIDEChatEditor represents Copilot usage metrics for chatting with a model in the IDE, categorized by editor and model.
CopilotIDEChatModel represents Copilot usage metrics for chatting with a model in the IDE.
CopilotIDECodeCompletions represents Copilot usage metrics for Copilot code completions in the IDE, categorized by editor, model and language.
CopilotIDECodeCompletionsEditor represents Copilot usage metrics for completions in the IDE for an editor.
CopilotIDECodeCompletionsLanguage represents Copilot usage metrics for completions in the IDE for a language.
CopilotIDECodeCompletionsModel represents Copilot usage metrics for completions in the IDE for a model.
CopilotIDECodeCompletionsModelLanguage represents Copilot usage metrics for completions in the IDE for a model and language.
CopilotMetrics represents Copilot usage metrics for a given day.
CopilotMetricsListOptions represents the optional parameters to the CopilotService get metrics methods.
CopilotOrganizationDetails represents the details of an organization's Copilot for Business subscription.
CopilotSeatBreakdown represents the breakdown of Copilot for Business seats for the organization.
CopilotSeatDetails represents the details of a Copilot for Business seat.
CreateCheckRunOptions sets up parameters needed to create a CheckRun.
CreateCheckSuiteOptions sets up parameters to manually create a check suites.
CreateCodespaceOptions represents options for the creation of a codespace in a repository.
No description provided by the author
CreateEnterpriseRunnerGroupRequest represents a request to create a Runner group for an enterprise.
CreateEvent represents a created repository, branch, or tag.
CreateOrgInvitationOptions specifies the parameters to the OrganizationService.Invite method.
CreateOrUpdateCustomRepoRoleOptions represents options required to create or update a custom repository role.
CreateOrUpdateOrgRoleOptions represents options required to create or update a custom organization role.
CreateProtectedChanges represents the changes made to the CreateProtected policy.
CreateRunnerGroupRequest represents a request to create a Runner group for an organization.
CreateUpdateEnvironment represents the fields required for the create/update operation following the Create/Update release example.
CreateUpdateRequiredWorkflowOptions represents the input object used to create or update required workflows.
CreateUserRequest represents the fields sent to the `CreateUser` endpoint.
CreateWorkflowDispatchEventRequest represents a request to create a workflow dispatch event.
CreationInfo represents when the SBOM was created and who created it.
CredentialAuthorization represents a credential authorized through SAML SSO.
CredentialAuthorizationsListOptions adds the Login option as supported by the list SAML SSO authorizations for organizations endpoint alongside paging options such as Page and PerPage.
Credit represents the credit object for a global security advisory.
CustomDeploymentProtectionRule represents a single deployment protection rule for an environment.
CustomDeploymentProtectionRuleApp represents a single deployment protection rule app for an environment.
CustomDeploymentProtectionRuleRequest represents a deployment protection rule request.
CustomOrgRoles represents custom organization role available in specified organization.
CustomProperty represents an organization custom property object.
CustomPropertyEvent represents a created, deleted or updated custom property.
CustomPropertyValue represents a custom property value.
CustomPropertyValuesEvent represents an update to a custom property.
CustomRepoRoles represents custom repository roles for an organization.
DefaultSetupConfiguration represents a code scanning default setup configuration.
DefaultWorkflowPermissionEnterprise represents the default permissions for GitHub Actions workflows for an enterprise.
DefaultWorkflowPermissionOrganization represents the default permissions for GitHub Actions workflows for an organization.
DefaultWorkflowPermissionRepository represents the default permissions for GitHub Actions workflows for a repository.
DeleteAnalysis represents a successful deletion of a code scanning analysis.
DeleteEvent represents a deleted branch or tag.
DependabotAlert represents a Dependabot alert.
DependabotAlertEvent is triggered when there is activity relating to Dependabot alerts.
DependabotAlertState represents the state of a Dependabot alert to update.
DependabotEncryptedSecret represents a secret that is encrypted using a public key for Dependabot.
DependabotSecurityAdvisory represents the GitHub Security Advisory.
DependabotSecurityUpdates specifies the state of Dependabot security updates on a repository.
Dependency represents the vulnerable dependency.
DependencyGraphAutosubmitActionOptions represents the options for the DependencyGraphAutosubmitAction.
DependencyGraphSnapshot represent a snapshot of a repository's dependencies.
DependencyGraphSnapshotCreationData represents the dependency snapshot's creation result.
DependencyGraphSnapshotDetector represents a description of the detector used.
DependencyGraphSnapshotJob represents the job that created the snapshot.
DependencyGraphSnapshotManifest represents a collection of related dependencies declared in a file or representing a logical group of dependencies.
DependencyGraphSnapshotManifestFile represents the file declaring the repository's dependencies.
DependencyGraphSnapshotResolvedDependency represents a resolved dependency in a dependency graph snapshot.
DeployKeyEvent is triggered when a deploy key is added or removed from a repository.
Deployment represents a deployment in a repo.
DeploymentBranchPolicy represents a single deployment branch policy for an environment.
DeploymentBranchPolicyRequest represents a deployment branch policy request.
DeploymentBranchPolicyResponse represents the slightly different format of response that comes back when you list deployment branch policies.
DeploymentEvent represents a deployment.
DeploymentProtectionRuleEvent represents a deployment protection rule event.
DeploymentRequest represents a deployment request.
DeploymentReviewEvent represents a deployment review event.
DeploymentsListOptions specifies the optional parameters to the RepositoriesService.ListDeployments method.
DeploymentStatus represents the status of a particular deployment.
DeploymentStatusEvent represents a deployment status.
DeploymentStatusRequest represents a deployment request.
Discussion represents a discussion in a GitHub DiscussionEvent.
DiscussionCategory represents a discussion category in a GitHub DiscussionEvent.
DiscussionComment represents a GitHub discussion in a team.
DiscussionCommentEvent represents a webhook event for a comment on discussion.
DiscussionCommentListOptions specifies optional parameters to the TeamServices.ListComments method.
DiscussionEvent represents a webhook event for a discussion.
DiscussionListOptions specifies optional parameters to the TeamServices.ListDiscussions method.
DismissalRestrictions specifies which users and teams can dismiss pull request reviews.
DismissalRestrictionsRequest represents the request to create/edit the restriction to allows only specific users, teams or apps to dismiss pull request reviews.
DismissedReview represents details for 'dismissed_review' events.
DismissStaleReviewsOnPushChanges represents the changes made to the DismissStaleReviewsOnPushChanges policy.
DispatchRequestOptions represents a request to trigger a repository_dispatch event.
DraftReviewComment represents a comment part of the review.
EditBase represents the change of a pull-request base branch.
EditBody represents a change of pull-request body.
EditChange represents the changes when an issue, pull request, comment, or repository has been edited.
EditDefaultBranch represents a change of repository's default branch name.
EditOwner represents a change of repository ownership.
EditRef represents a ref change of a pull-request.
EditRepo represents a change of repository name.
EditSHA represents a sha change of a pull-request.
EditTitle represents a pull-request title change.
EditTopics represents a change of repository topics.
EmptyRuleParameters represents the parameters for a rule with no options.
EncryptedSecret represents a secret that is encrypted using a public key.
Enterprise represents the GitHub enterprise profile.
EnterpriseRunnerGroup represents a self-hosted runner group configured in an enterprise.
EnterpriseRunnerGroups represents a collection of self-hosted runner groups configured for an enterprise.
EnterpriseSecurityAnalysisSettings represents security analysis settings for an enterprise.
Environment represents a single environment in a repository.
EnvironmentListOptions specifies the optional parameters to the RepositoriesService.ListEnvironments method.
EnvResponse represents the slightly different format of response that comes back when you list an environment.
EnvReviewers represents a single environment reviewer entry.
An Error reports more details on an individual error in an ErrorResponse.
ErrorBlock contains a further explanation for the reason of an error.
An ErrorResponse reports one or more errors caused by an API request.
Event represents a GitHub event.
ExternalGroup represents an external group.
ExternalGroupList represents a list of external groups.
ExternalGroupMember represents a member of an external group.
ExternalGroupTeam represents a team connected to an external group.
FeedLink represents a link to a related resource.
FeedLinks represents the links in a Feed.
Feeds represents timeline resources in Atom format.
FileExtensionRestrictionBranchRule represents a file extension restriction branch rule.
FileExtensionRestrictionRuleParameters represents the file extension restriction rule parameters.
FilePathRestrictionBranchRule represents a file path restriction branch rule.
FilePathRestrictionRuleParameters represents the file path restriction rule parameters.
FirstPatchedVersion represents the identifier for the first patched version of that vulnerability.
ForkEvent is triggered when a user forks a repository.
GenerateJITConfigRequest specifies body parameters to GenerateRepoJITConfig.
GenerateNotesOptions represents the options to generate release notes.
GetAuditLogOptions sets up optional parameters to query audit-log endpoint.
GetCodeownersErrorsOptions specifies the optional parameters to the RepositoriesService.GetCodeownersErrors method.
Gist represents a GitHub's gist.
GistComment represents a Gist comment.
GistCommit represents a commit on a gist.
GistFile represents a file on a gist.
GistFork represents a fork of a gist.
GistListOptions specifies the optional parameters to the GistsService.List, GistsService.ListAll, and GistsService.ListStarred methods.
GistStats represents the number of total, private and public gists.
GitHubAppAuthorizationEvent is triggered when a user's authorization for a GitHub Application is revoked.
Gitignore represents a .gitignore file as returned by the GitHub API.
GitObject represents a Git object.
GlobalSecurityAdvisory represents the global security advisory object response.
GlobalSecurityVulnerability represents a vulnerability for a global security advisory.
GollumEvent is triggered when a Wiki page is created or updated.
GPGEmail represents an email address associated to a GPG key.
GPGKey represents a GitHub user's public GPG key used to verify GPG signed commits and tags.
Grant represents an OAuth application that has been granted access to an account.
HeadCommit represents a git commit in a GitHub PushEvent.
Hook represents a GitHub (web and service) hook for a repository.
HookConfig describes metadata about a webhook configuration.
HookDelivery represents the data that is received from GitHub's Webhook Delivery API
GitHub API docs: - https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook - https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook.
HookRequest is a part of HookDelivery that contains the HTTP headers and the JSON payload of the webhook request.
HookResponse is a part of HookDelivery that contains the HTTP headers and the response body served by the webhook endpoint.
HookStats represents the number of total, active and inactive hooks.
Hovercard represents hovercard information about a user.
HovercardOptions specifies optional parameters to the UsersService.GetHovercard method.
IDPGroup represents an external identity provider (IDP) group.
IDPGroupList represents a list of external identity provider (IDP) groups.
ImpersonateUserOptions represents the scoping for the OAuth token.
Import represents a repository import request.
InitialConfigOptions is a struct to hold the options for the InitialConfig API.
Installation represents a GitHub Apps installation.
InstallationChanges represents a change in slug or login on an installation.
InstallationEvent is triggered when a GitHub App has been installed, uninstalled, suspend, unsuspended or new permissions have been accepted.
InstallationLoginChange represents a change in login on an installation.
InstallationPermissions lists the repository and organization permissions for an installation.
InstallationRepositoriesEvent is triggered when a repository is added or removed from an installation.
InstallationRequest represents a pending GitHub App installation request.
InstallationSlugChange represents a change in slug on an installation.
InstallationTargetEvent is triggered when there is activity on an installation from a user or organization account.
InstallationToken represents an installation token.
No description provided by the author
InstallationTokenOptions allow restricting a token's access to specific repositories.
InteractionRestriction represents the interaction restrictions for repository and organization.
Invitation represents a team member's invitation status.
Issue represents a GitHub issue on a repository.
IssueComment represents a comment left on an issue.
IssueCommentEvent is triggered when an issue comment is created on an issue or pull request.
IssueEvent represents an event that occurred around an Issue or Pull Request.
IssueImport represents body of issue to import.
IssueImportError represents errors of an issue import create request.
IssueImportRequest represents a request to create an issue.
IssueImportResponse represents the response of an issue import create request.
IssueListByRepoOptions specifies the optional parameters to the IssuesService.ListByRepo method.
IssueListCommentsOptions specifies the optional parameters to the IssuesService.ListComments method.
IssueListOptions specifies the optional parameters to the IssuesService.List and IssuesService.ListByOrg methods.
IssueRequest represents a request to create/edit an issue.
IssuesEvent is triggered when an issue is opened, edited, deleted, transferred, pinned, unpinned, closed, reopened, assigned, unassigned, labeled, unlabeled, locked, unlocked, milestoned, or demilestoned.
IssuesSearchResult represents the result of an issues search.
IssueStats represents the number of total, open and closed issues.
IssueType represents the type of issue.
JITRunnerConfig represents encoded JIT configuration that can be used to bootstrap a self-hosted runner.
Jobs represents a slice of repository action workflow job.
Key represents a public SSH key used to authenticate a user or deploy script.
Label represents a GitHub label on an Issue.
LabelEvent is triggered when a repository's label is created, edited, or deleted.
LabelResult represents a single search result.
LabelsSearchResult represents the result of a code search.
LargeFile identifies a file larger than 100MB found during a repository import.
License represents an open source license.
LicenseCheck is a struct to hold the response from the LicenseStatus API.
LicenseStatus is a struct to hold the response from the License API.
LinearHistoryRequirementEnforcementLevelChanges represents the changes made to the LinearHistoryRequirementEnforcementLevel policy.
ListAlertsOptions specifies the optional parameters to the DependabotService.ListRepoAlerts and DependabotService.ListOrgAlerts methods.
ListArtifactsOptions specifies the optional parameters to the ActionsService.ListArtifacts method.
ListCheckRunsOptions represents parameters to list check runs.
ListCheckRunsResults represents the result of a check run list.
ListCheckSuiteOptions represents parameters to list check suites.
ListCheckSuiteResults represents the result of a check run list.
ListCodespaces represents the response from the list codespaces endpoints.
ListCodespacesOptions represents the options for listing codespaces for a user.
ListCollaboratorsOptions specifies the optional parameters to the RepositoriesService.ListCollaborators method.
ListCommentReactionOptions specifies the optional parameters to the ReactionsService.ListCommentReactions method.
ListContributorsOptions specifies the optional parameters to the RepositoriesService.ListContributors method.
ListCopilotSeatsResponse represents the Copilot for Business seat assignments for an organization.
ListCursorOptions specifies the optional parameters to various List methods that support cursor pagination.
ListCustomDeploymentRuleIntegrationsResponse represents the slightly different response that comes back when you list custom deployment rule integrations.
ListDeploymentProtectionRuleResponse represents the response that comes back when you list deployment protection rules.
ListEnterpriseRunnerGroupOptions extend ListOptions to have the optional parameters VisibleToOrganization.
ListExternalGroupsOptions specifies the optional parameters to the TeamsService.ListExternalGroups method.
ListFineGrainedPATOptions specifies optional parameters to ListFineGrainedPersonalAccessTokens.
ListGlobalSecurityAdvisoriesOptions specifies the optional parameters to list the global security advisories.
ListIDPGroupsOptions specifies the optional parameters to the ListIDPGroupsInOrganization method.
ListMembersOptions specifies optional parameters to the OrganizationsService.ListMembers method.
ListOptions specifies the optional parameters to various List methods that support offset pagination.
ListOrganizations represents the response from the list orgs endpoints.
ListOrgMembershipsOptions specifies optional parameters to the OrganizationsService.ListOrgMemberships method.
ListOrgRunnerGroupOptions extend ListOptions to have the optional parameters VisibleToRepository.
ListOutsideCollaboratorsOptions specifies optional parameters to the OrganizationsService.ListOutsideCollaborators method.
ListRepositories represents the response from the list repos endpoints.
ListRepositorySecurityAdvisoriesOptions specifies the optional parameters to list the repository security advisories.
ListRunnersOptions specifies the optional parameters to the ListRunners and ListOrganizationRunners methods.
ListSCIMProvisionedIdentitiesOptions represents options for ListSCIMProvisionedIdentities.
ListWorkflowJobsOptions specifies optional parameters to ListWorkflowJobs.
ListWorkflowRunsOptions specifies optional parameters to ListWorkflowRuns.
Location represents the exact location of the GitHub Code Scanning Alert in the scanned project.
LockBranch represents if the branch is marked as read-only.
LockIssueOptions specifies the optional parameters to the IssuesService.Lock method.
MaintenanceOperationStatus represents the message to be displayed when the instance gets a maintenance operation request.
MaintenanceOptions represents the options for setting the maintenance mode for the instance.
MaintenanceStatus represents the status of maintenance mode for all nodes.
MarkdownOptions specifies optional parameters to the Render method.
MarketplacePendingChange represents a pending change to a GitHub Apps Marketplace Plan.
MarketplacePlan represents a GitHub Apps Marketplace Listing Plan.
MarketplacePlanAccount represents a GitHub Account (user or organization) on a specific plan.
MarketplacePurchase represents a GitHub Apps Marketplace Purchase.
MarketplacePurchaseAccount represents a GitHub Account (user or organization) for a Purchase.
MarketplacePurchaseEvent is triggered when a user purchases, cancels, or changes their GitHub Marketplace plan.
MarketplaceService handles communication with the marketplace related methods of the GitHub API.
Match represents a single text match.
MaxFilePathLengthBranchRule represents a max file path length branch rule.
MaxFilePathLengthRuleParameters represents the max file path length rule parameters.
MaxFileSizeBranchRule represents a max file size branch rule.
MaxFileSizeRuleParameters represents the max file size rule parameters.
MemberChanges represents changes to a repository collaborator's role or permission.
MemberChangesPermission represents changes to a repository collaborator's permissions.
MemberChangesRoleName represents changes to a repository collaborator's role.
MemberEvent is triggered when a user's membership as a collaborator to a repository changes.
Membership represents the status of a user's membership in an organization or team.
MembershipEvent is triggered when a user is added or removed from a team.
MergeGroup represents the merge group in a merge queue.
MergeGroupEvent represents activity related to merge groups in a merge queue.
MergeQueueBranchRule represents a merge queue branch rule.
MergeQueueRuleParameters represents the merge_queue rule parameters.
Message is a part of MostRecentInstance struct which provides the appropriate message when any action is performed on the analysis object.
MetaEvent is triggered when the webhook that this event is configured on is deleted.
Metric represents the different fields for one file in community health files.
Migration represents a GitHub migration (archival).
MigrationOptions specifies the optional parameters to Migration methods.
Milestone represents a GitHub repository milestone.
MilestoneEvent is triggered when a milestone is created, closed, opened, edited, or deleted.
MilestoneListOptions specifies the optional parameters to the IssuesService.ListMilestones method.
MilestoneStats represents the number of total, open and close milestones.
MostRecentInstance provides details of the most recent instance of this alert for the default branch or for the specified Git reference.
NewPullRequest represents a new pull request to be created.
NewTeam represents a team to be created or modified.
NodeDetails is a struct to hold the response from the NodeMetadata API.
NodeMetadataStatus is a struct to hold the response from the NodeMetadata API.
NodeQueryOptions specifies the optional parameters to the EnterpriseService Node management APIs.
NodeReleaseVersion represents a response from the GetNodeReleaseVersions method.
Notification identifies a GitHub notification for a user.
NotificationListOptions specifies the optional parameters to the ActivityService.ListNotifications method.
NotificationSubject identifies the subject of a notification.
OAuthAPP represents the GitHub Site Administrator OAuth app.
OIDCSubjectClaimCustomTemplate represents an OIDC subject claim customization template.
Organization represents a GitHub organization account.
OrganizationCustomRepoRoles represents custom repository roles available in specified organization.
OrganizationCustomRoles represents custom organization roles available in specified organization.
OrganizationEvent is triggered when an organization is deleted and renamed, and when a user is added, removed, or invited to an organization.
OrganizationInstallations represents GitHub app installations for an organization.
OrganizationsListOptions specifies the optional parameters to the OrganizationsService.ListAll method.
OrgBlockEvent is triggered when an organization blocks or unblocks a user.
OrgRequiredWorkflow represents a required workflow object at the org level.
OrgRequiredWorkflows represents the required workflows for the org.
OrgStats represents the number of total, disabled organizations and the team and team member count.
OwnerInfo represents the account info of the owner of the repo (could be User or Organization but both are User structs).
Package represents a GitHub package.
PackageBilling represents a GitHub Package billing.
PackageContainerMetadata represents container metadata for docker container packages.
PackageEvent represents activity related to GitHub Packages.
PackageFile represents a GitHub package version release file.
PackageListOptions represents the optional list options for a package.
PackageMetadata represents metadata from a package.
PackageRegistry represents a GitHub package registry.
PackageRelease represents a GitHub package version release.
PackageVersion represents a GitHub package version.
Page represents a single Wiki page.
PageBuildEvent represents an attempted build of a GitHub Pages site, whether successful or not.
Pages represents a GitHub Pages site configuration.
PagesBuild represents the build information for a GitHub Pages site.
PagesDomain represents a domain associated with a GitHub Pages site.
PagesError represents a build error for a GitHub Pages site.
PagesHealthCheckResponse represents the response given for the health check of a GitHub Pages site.
PagesHTTPSCertificate represents the HTTPS Certificate information for a GitHub Pages site.
PagesSource represents a GitHub page's source.
PageStats represents the total number of github pages.
PagesUpdate sets up parameters needed to update a GitHub Pages site.
PatternBranchRule represents a pattern branch rule.
PatternRuleParameters represents the parameters for a pattern rule.
PendingDeployment represents the pending_deployments response.
PendingDeploymentEnvironment represents pending deployment environment properties.
PendingDeploymentsRequest specifies body parameters to PendingDeployments.
PersonalAccessToken represents the minimal representation of an organization programmatic access grant.
PersonalAccessTokenPermissions represents the original or newly requested scope of permissions for a fine-grained personal access token within a PersonalAccessTokenRequest.
PersonalAccessTokenRequest contains the details of a PersonalAccessTokenRequestEvent.
PersonalAccessTokenRequestEvent occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access.
PingEvent is triggered when a Webhook is added to GitHub.
Plan represents the payment plan for an account.
PreferenceList represents a list of auto trigger checks for repository.
PreReceiveHook represents a GitHub pre-receive hook for a repository.
PRLink represents a single link object from GitHub pull request _links.
PRLinks represents the "_links" object in a GitHub pull request.
ProjectBody represents a project body change.
ProjectCardChange represents the changes when a project card has been edited.
ProjectCardNote represents a change of a note of a project card.
ProjectChange represents the changes when a project has been edited.
ProjectColumnChange represents the changes when a project column has been edited.
ProjectColumnName represents a project column name change.
ProjectName represents a project name change.
ProjectV2 represents a v2 project.
ProjectV2Event is triggered when there is activity relating to an organization-level project.
ProjectV2Item represents an item belonging to a project.
ProjectV2ItemChange represents a project v2 item change.
ProjectV2ItemEvent is triggered when there is activity relating to an item on an organization-level project.
Protection represents a repository branch's protection.
ProtectionChanges represents the changes to the rule if the BranchProtection was edited.
ProtectionRequest represents a request to create/edit a branch's protection.
ProtectionRule represents a single protection rule applied to the environment.
PublicEvent is triggered when a private repository is open sourced.
PublicKey represents the public key that should be used to encrypt secrets.
PullRequest represents a GitHub pull request on a repository.
PullRequestAutoMerge represents the "auto_merge" response for a PullRequest.
PullRequestBranch represents a base or head branch in a GitHub pull request.
PullRequestBranchRule represents a pull request branch rule.
PullRequestBranchUpdateOptions specifies the optional parameters to the PullRequestsService.UpdateBranch method.
PullRequestBranchUpdateResponse specifies the response of pull request branch update.
PullRequestComment represents a comment left on a pull request.
PullRequestEvent is triggered when a pull request is assigned, unassigned, labeled, unlabeled, opened, edited, closed, reopened, synchronize, ready_for_review, locked, unlocked, a pull request review is requested, or a review request is removed.
PullRequestLinks object is added to the Issue object when it's an issue included in the IssueCommentEvent webhook payload, if the webhook is fired by a comment on a PR.
PullRequestListCommentsOptions specifies the optional parameters to the PullRequestsService.ListComments method.
PullRequestListOptions specifies the optional parameters to the PullRequestsService.List method.
PullRequestMergeResult represents the result of merging a pull request.
PullRequestOptions lets you define how a pull request will be merged.
PullRequestReview represents a review of a pull request.
PullRequestReviewCommentEvent is triggered when a comment is created on a portion of the unified diff of a pull request.
PullRequestReviewDismissalRequest represents a request to dismiss a review.
PullRequestReviewEvent is triggered when a review is submitted on a pull request.
PullRequestReviewRequest represents a request to create a review.
PullRequestReviewsEnforcement represents the pull request reviews enforcement of a protected branch.
PullRequestReviewsEnforcementLevelChanges represents the changes made to the PullRequestReviewsEnforcementLevel policy.
PullRequestReviewsEnforcementRequest represents request to set the pull request review enforcement of a protected branch.
PullRequestReviewsEnforcementUpdate represents request to patch the pull request review enforcement of a protected branch.
PullRequestReviewThreadEvent is triggered when a comment made as part of a review of a pull request is marked resolved or unresolved.
PullRequestRuleParameters represents the pull_request rule parameters.
PullRequestTargetEvent is triggered when a pull request is assigned, unassigned, labeled, unlabeled, opened, edited, closed, reopened, synchronize, ready_for_review, locked, unlocked, a pull request review is requested, or a review request is removed.
PullRequestThread represents a thread of comments on a pull request.
PullStats represents the number of total, merged, mergeable and unmergeable pull-requests.
PunchCard represents the number of commits made during a given hour of a day of the week.
PushEvent represents a git push to a GitHub repository.
PushEventRepoOwner is a basic representation of user/org in a PushEvent payload.
PushEventRepository represents the repo object in a PushEvent payload.
Rate represents the rate limit for the current client.
RateLimitError occurs when GitHub returns 403 Forbidden response with a rate limit remaining value of 0.
RateLimits represents the rate limits for the current client.
RawOptions specifies parameters when user wants to get raw format of a response instead of JSON.
Reaction represents a GitHub reaction.
Reactions represents a summary of GitHub reactions.
RedirectionError represents a response that returned a redirect status code:
301 (Moved Permanently) 302 (Found) 303 (See Other) 307 (Temporary Redirect) 308 (Permanent Redirect)
If there was a valid Location header included, it will be parsed to a URL.
Reference represents a GitHub reference.
No description provided by the author
ReferenceListOptions specifies optional parameters to the GitService.ListMatchingRefs method.
RegistrationToken represents a token that can be used to add a self-hosted runner to a repository.
ReleaseAsset represents a GitHub release asset in a repository.
ReleaseEvent is triggered when a release is published, unpublished, created, edited, deleted, or prereleased.
ReleaseVersion holds the release version information of the node.
RemoveToken represents a token that can be used to remove a self-hosted runner from a repository.
Rename contains details for 'renamed' events.
RenameOrgResponse is the response given when renaming an Organization.
RepoAdvisoryCredit represents the credit object for a repository Security Advisory.
RepoAdvisoryCreditDetailed represents a credit given to a user for a repository Security Advisory.
RepoCustomPropertyValue represents a repository custom property value.
RepoDependencies represents the dependencies of a repo.
RepoMergeUpstreamRequest represents a request to sync a branch of a forked repository to keep it up-to-date with the upstream repository.
RepoMergeUpstreamResult represents the result of syncing a branch of a forked repository with the upstream repository.
RepoName represents a change of repository name.
RepoRequiredWorkflow represents a required workflow object at the repo level.
RepoRequiredWorkflows represents the required workflows for a repo.
RepositoriesSearchResult represents the result of a repositories search.
Repository represents a GitHub repository.
RepositoryActionsAccessLevel represents the repository actions access level.
RepositoryActiveCommitters represents active committers on each repository.
RepositoryAddCollaboratorOptions specifies the optional parameters to the RepositoriesService.AddCollaborator method.
RepositoryCodeSecurityConfiguration represents a code security configuration for a repository.
RepositoryComment represents a comment for a commit, file, or line in a repository.
RepositoryCommit represents a commit in a repo.
RepositoryContent represents a file or directory in a github repository.
RepositoryContentFileOptions specifies optional parameters for CreateFile, UpdateFile, and DeleteFile.
RepositoryContentGetOptions represents an optional ref parameter, which can be a SHA, branch, or tag.
RepositoryContentResponse holds the parsed response from CreateFile, UpdateFile, and DeleteFile.
RepositoryCreateForkOptions specifies the optional parameters to the RepositoriesService.CreateFork method.
RepositoryDispatchEvent is triggered when a client sends a POST request to the repository dispatch event endpoint.
RepositoryEvent is triggered when a repository is created, archived, unarchived, renamed, edited, transferred, made public, or made private.
RepositoryImportEvent represents the activity related to a repository being imported to GitHub.
RepositoryInvitation represents an invitation to collaborate on a repo.
RepositoryLicense represents the license for a repository.
RepositoryListAllOptions specifies the optional parameters to the RepositoriesService.ListAll method.
RepositoryListByAuthenticatedUserOptions specifies the optional parameters to the RepositoriesService.ListByAuthenticatedUser method.
RepositoryListByOrgOptions specifies the optional parameters to the RepositoriesService.ListByOrg method.
RepositoryListByUserOptions specifies the optional parameters to the RepositoriesService.ListByUser method.
RepositoryListForksOptions specifies the optional parameters to the RepositoriesService.ListForks method.
RepositoryListOptions specifies the optional parameters to the RepositoriesService.List method.
RepositoryMergeRequest represents a request to merge a branch in a repository.
RepositoryParticipation is the number of commits by everyone who has contributed to the repository (including the owner) as well as the number of commits by the owner themself.
RepositoryPermissionLevel represents the permission level an organization member has for a given repository.
RepositoryRelease represents a GitHub release in a repository.
RepositoryReleaseNotes represents a GitHub-generated release notes.
RepositoryRule represents a GitHub ruleset rule object.
RepositoryRuleset represents a GitHub ruleset object.
RepositoryRulesetChangedConditions holds changes to conditions in a ruleset.
RepositoryRulesetChangedRule holds changes made to a rule in a ruleset.
RepositoryRulesetChangedRules holds changes to rules in a ruleset.
RepositoryRulesetChanges represents the changes made to a repository ruleset.
RepositoryRulesetChangeSource represents a source change for the ruleset.
RepositoryRulesetChangeSources represents multiple source changes for the ruleset.
RepositoryRulesetConditions represents the conditions object in a ruleset.
RepositoryRulesetEvent triggers whenever there is a change to the repository's ruleset configuration.
RepositoryRulesetLink represents a single link object from GitHub ruleset request _links.
RepositoryRulesetLinks represents the "_links" object in a Ruleset.
RepositoryRulesetOrganizationIDsConditionParameters represents the conditions object for organization_id.
RepositoryRulesetOrganizationNamesConditionParameters represents the conditions object for organization_name.
RepositoryRulesetRefConditionParameters represents the conditions object for ref_names.
RepositoryRulesetRepositoryIDsConditionParameters represents the conditions object for repository_id.
RepositoryRulesetRepositoryNamesConditionParameters represents the conditions object for repository_name.
RepositoryRulesetRepositoryPropertyConditionParameters represents the conditions object for repository_property.
RepositoryRulesetRepositoryPropertyTargetParameters represents a repository_property name and values to be used for targeting.
RepositoryRulesetRules represents a GitHub ruleset rules object.
RepositoryRulesetUpdatedCondition represents the changes to a condition in a ruleset.
RepositoryRulesetUpdatedConditions represents the edited updates to conditions in a ruleset.
RepositoryRulesetUpdatedRules holds updates to rules in a ruleset.
RepositoryTag represents a repository tag.
RepositoryVulnerabilityAlert represents a repository security alert.
RepositoryVulnerabilityAlertEvent is triggered when a security alert is created, dismissed, or resolved.
RepoStats represents the number of total, root, fork, organization repositories together with the total number of pushes and wikis.
RepoStatus represents the status of a repository at a particular reference.
RequestedAction is included in a CheckRunEvent when a user has invoked an action, i.e.
RequireCodeOwnerReviewChanges represents the changes made to the RequireCodeOwnerReview policy.
RequiredConversationResolution requires all comments on the pull request to be resolved before it can be merged to a protected branch when enabled.
RequiredConversationResolutionLevelChanges represents the changes made to the RequiredConversationResolutionLevel policy.
RequiredDeploymentsBranchRule represents a required deployments branch rule.
RequiredDeploymentsEnforcementLevelChanges represents the changes made to the RequiredDeploymentsEnforcementLevel policy.
RequiredDeploymentsRuleParameters represents the required deployments rule parameters.
RequiredReviewer represents a required reviewer.
RequiredStatusCheck represents a status check of a protected branch.
RequiredStatusChecks represents the protection status of a individual branch.
RequiredStatusChecksBranchRule represents a required status checks branch rule.
RequiredStatusChecksChanges represents the changes made to the RequiredStatusChecks policy.
RequiredStatusChecksEnforcementLevelChanges represents the changes made to the RequiredStatusChecksEnforcementLevel policy.
RequiredStatusChecksRequest represents a request to edit a protected branch's status checks.
RequiredStatusChecksRuleParameters represents the required status checks rule parameters.
RequiredWorkflowSelectedRepos represents the repos that a required workflow is applied to.
RequireLinearHistory represents the configuration to enforce branches with no merge commit.
Response is a GitHub API response.
ReviewCustomDeploymentProtectionRuleRequest specifies the parameters to ReviewCustomDeploymentProtectionRule.
Reviewers represents reviewers of a pull request.
ReviewersRequest specifies users and teams for a pull request review request.
ReviewPersonalAccessTokenRequestOptions specifies the parameters to the ReviewPersonalAccessTokenRequest method.
Rule represents the complete details of GitHub Code Scanning alert type.
RuleCodeScanningTool represents a single code scanning tool for the code scanning parameters.
RuleStatusCheck represents a status checks for the required status checks rule parameters.
RuleWorkflow represents a Workflow for the workflows rule parameters.
Runner represents a self-hosted runner registered with a repository.
RunnerApplicationDownload represents a binary for the self-hosted runner application that can be downloaded.
RunnerGroup represents a self-hosted runner group configured in an organization.
RunnerGroups represents a collection of self-hosted runner groups configured for an organization.
RunnerLabels represents a collection of labels attached to each runner.
Runners represents a collection of self-hosted runners for a repository.
SarifAnalysis specifies the results of a code scanning job.
SarifID identifies a sarif analysis upload.
SARIFUpload represents information about a SARIF upload.
SBOM represents a software bill of materials, which describes the packages/libraries that a repository depends on.
SBOMInfo represents a software bill of materials (SBOM) using SPDX.
ScanningAnalysis represents an individual GitHub Code Scanning ScanningAnalysis on a single repository.
SCIMDisplayReference represents a JSON SCIM (System for Cross-domain Identity Management) resource.
SCIMGroupAttributes represents supported SCIM Group attributes.
SCIMMeta represents metadata about the SCIM resource.
SCIMProvisionedGroups represents the result of calling ListSCIMProvisionedGroupsForEnterprise.
SCIMProvisionedIdentities represents the result of calling ListSCIMProvisionedIdentities.
SCIMUserAttributes represents supported SCIM User attributes.
SCIMUserEmail represents SCIM user email.
SCIMUserName represents SCIM user information.
SearchOptions specifies optional parameters to the SearchService methods.
SeatAssignments represents the number of seats assigned.
SeatCancellations represents the number of seats cancelled.
Secret represents a repository action secret.
Secrets represents one item from the ListSecrets response.
SecretScanning specifies the state of secret scanning on a repository.
SecretScanningAlert represents a GitHub secret scanning alert.
SecretScanningAlertEvent is triggered when a secret scanning alert occurs in a repository.
SecretScanningAlertListOptions specifies optional parameters to the SecretScanningService.ListAlertsForEnterprise method.
SecretScanningAlertLocation represents the location for a secret scanning alert.
SecretScanningAlertLocationDetails represents the location details for a secret scanning alert.
SecretScanningAlertLocationEvent is triggered when there is activity relating to the locations of a secret in a secret scanning alert.
SecretScanningAlertUpdateOptions specifies optional parameters to the SecretScanningService.UpdateAlert method.
SecretScanningPushProtection specifies the state of secret scanning push protection on a repository.
SecretScanningValidityChecks represents the state of secret scanning validity checks on a repository.
SecurityAdvisory represents the advisory object in SecurityAdvisoryEvent payload.
SecurityAdvisoryEvent is triggered when a security-related vulnerability is found in software on GitHub.
SecurityAdvisorySubmission represents the Security Advisory Submission.
SecurityAndAnalysis specifies the optional advanced security features that are enabled on a given repository.
SecurityAndAnalysisChange represents the changes when security and analysis features are enabled or disabled for a repository.
SecurityAndAnalysisChangeFrom represents which change was made when security and analysis features are enabled or disabled for a repository.
SecurityAndAnalysisEvent is triggered when code security and analysis features are enabled or disabled for a repository.
SelectedReposList represents the list of repositories selected for an organization secret.
SetOrgAccessRunnerGroupRequest represents a request to replace the list of organizations that can access a self-hosted runner group configured in an enterprise.
SetRepoAccessRunnerGroupRequest represents a request to replace the list of repositories that can access a self-hosted runner group configured in an organization.
SetRunnerGroupRunnersRequest represents a request to replace the list of self-hosted runners that are part of an organization runner group.
SignatureRequirementEnforcementLevelChanges represents the changes made to the SignatureRequirementEnforcementLevel policy.
SignaturesProtectedBranch represents the protection status of an individual branch.
SignatureVerification represents GPG signature verification.
Source represents a reference's source.
SourceImportAuthor identifies an author imported from a source repository.
SponsorshipChanges represents changes made to the sponsorship.
SponsorshipEvent represents a sponsorship event in GitHub.
SponsorshipTier represents the tier information of a sponsorship.
SSHKeyOptions specifies the parameters to the SSH create and delete functions.
SSHKeyStatus represents the status of a SSH key operation.
SSHSigningKey represents a public SSH key used to sign git commits.
StarEvent is triggered when a star is added or removed from a repository.
Stargazer represents a user that has starred a repository.
StarredRepository is returned by ListStarred.
StatusEvent is triggered when the status of a Git commit changes.
StorageBilling represents a GitHub Storage billing.
Subscription identifies a repository or thread subscription.
SystemRequirements represents a response from the CheckSystemRequirements method.
SystemRequirementsNode represents the status of a system node.
SystemRequirementsNodeRoleStatus represents the status of a role on a system node.
Tag represents a tag object.
TagProtection represents a repository tag protection.
TaskStep represents a single task step from a sequence of tasks of a job.
Team represents a team within a GitHub organization.
TeamAddEvent is triggered when a repository is added to a team.
TeamAddTeamMembershipOptions specifies the optional parameters to the TeamsService.AddTeamMembership method.
TeamAddTeamRepoOptions specifies the optional parameters to the TeamsService.AddTeamRepoByID and TeamsService.AddTeamRepoBySlug methods.
TeamChange represents the changes when a team has been edited.
TeamDescription represents a team description change.
TeamDiscussion represents a GitHub discussion in a team.
TeamEvent is triggered when an organization's team is created, modified or deleted.
TeamLDAPMapping represents the mapping between a GitHub team and an LDAP group.
TeamListTeamMembersOptions specifies the optional parameters to the TeamsService.ListTeamMembers method.
TeamName represents a team name change.
TeamPermissions represents a team permission change.
TeamPermissionsFrom represents a team permission change.
TeamPrivacy represents a team privacy change.
TeamProjectOptions specifies the optional parameters to the TeamsService.AddTeamProject method.
TeamRepository represents a team repository permission change.
TemplateRepoRequest represents a request to create a repository from a template.
TextMatch represents a text match for a SearchResult.
Timeline represents an event that occurred around an Issue or Pull Request.
Timestamp represents a time that can be unmarshaled from a JSON string formatted as either an RFC3339 or Unix timestamp.
Tool represents the tool used to generate a GitHub Code Scanning Alert.
No description provided by the author
TopicsSearchResult represents the result of a topics search.
TotalCacheUsage represents total GitHub actions cache usage of an organization or enterprise.
TrafficBreakdownOptions specifies the parameters to methods that support breakdown per day or week.
TrafficClones represent information about the number of clones in the last 14 days.
TrafficData represent information about a specific timestamp in views or clones list.
TrafficPath represent information about the traffic on a path of the repo.
TrafficReferrer represent information about traffic from a referrer .
TrafficViews represent information about the number of views in the last 14 days.
TransferRequest represents a request to transfer a repository.
Tree represents a GitHub tree.
TreeEntry represents the contents of a tree structure.
UnauthenticatedRateLimitedTransport allows you to make unauthenticated calls
that need to use a higher rate limit associated with your OAuth application.
UpdateAttributeForSCIMUserOperations represents operations for UpdateAttributeForSCIMUser.
UpdateAttributeForSCIMUserOptions represents options for UpdateAttributeForSCIMUser.
UpdateBranchRule represents an update branch rule.
UpdateCheckRunOptions sets up parameters needed to update a CheckRun.
UpdateDefaultSetupConfigurationOptions specifies parameters to the CodeScanningService.UpdateDefaultSetupConfiguration method.
UpdateDefaultSetupConfigurationResponse represents a response from updating a code scanning default setup configuration.
UpdateEnterpriseRunnerGroupRequest represents a request to update a Runner group for an enterprise.
UpdateRuleParameters represents the update rule parameters.
UpdateRunnerGroupRequest represents a request to update a Runner group for an organization.
UploadLicenseOptions is a struct to hold the options for the UploadLicense API.
UploadOptions specifies the parameters to methods that support uploads.
User represents a GitHub user.
UserAuthorization represents the impersonation response.
UserContext represents the contextual information about user.
UserEmail represents user's email address.
UserEvent is triggered when a user is created or deleted.
UserLDAPMapping represents the mapping between a GitHub user and an LDAP user.
UserListOptions specifies optional parameters to the UsersService.ListAll method.
UserMigration represents a GitHub migration (archival).
UserMigrationOptions specifies the optional parameters to Migration methods.
UsersSearchResult represents the result of a users search.
UserStats represents the number of total, admin and suspended users.
UserSuspendOptions represents the reason a user is being suspended.
VulnerabilityPackage represents the package object for an Advisory Vulnerability.
WatchEvent is related to starring a repository, not watching.
WeeklyCommitActivity represents the weekly commit activity for a repository.
WeeklyStats represents the number of additions, deletions and commits a Contributor made in a given week.
Workflow represents a repository action workflow.
WorkflowBill specifies billable time for a specific environment in a workflow.
WorkflowDispatchEvent is triggered when someone triggers a workflow run on GitHub or sends a POST request to the create a workflow dispatch event endpoint.
WorkflowJob represents a repository action workflow job.
WorkflowJobEvent is triggered when a job is queued, started or completed.
WorkflowJobRun represents a workflow_job_run in a GitHub DeploymentReviewEvent.
WorkflowRun represents a repository action workflow run.
WorkflowRunAttemptOptions specifies optional parameters to GetWorkflowRunAttempt.
WorkflowRunBill specifies billable time for a specific environment in a workflow run.
WorkflowRunEvent is triggered when a GitHub Actions workflow run is requested or completed.
WorkflowRunJobRun represents a usage of individual jobs of a specific workflow run.
WorkflowRuns represents a slice of repository action workflow run.
WorkflowRunUsage represents a usage of a specific workflow run.
Workflows represents a slice of repository action workflows.
WorkflowsBranchRule represents a workflows branch rule.
WorkflowsRuleParameters represents the workflows rule parameters.
WorkflowUsage represents a usage of a specific workflow.
# Interfaces
MessageSigner is used by GitService.CreateCommit to sign a commit.
# Type aliases
ActionsService handles communication with the actions related methods of the GitHub API.
ActivityService handles communication with the activity related methods of the GitHub API.
AdminService handles communication with the admin related methods of the GitHub API.
AppsService provides access to the installation related functions in the GitHub API.
ArchiveFormat is used to define the archive type when calling GetArchiveLink.
AuthorizationsService handles communication with the authorization related methods of the GitHub API.
BillingService provides access to the billing related functions in the GitHub API.
BypassActorType represents a GitHub ruleset bypass actor type.
BypassMode represents a GitHub ruleset bypass mode.
ChecksService provides access to the Checks API in the GitHub API.
CodeScanningAlertsThreshold models a GitHub code scanning alerts threshold.
CodeScanningSecurityAlertsThreshold models a GitHub code scanning security alerts threshold.
CodeScanningService handles communication with the code scanning related methods of the GitHub API.
CodesOfConductService provides access to code-of-conduct-related functions in the GitHub API.
CodespacesService handles communication with the Codespaces related methods of the GitHub API.
CopilotService provides access to the Copilot-related functions in the GitHub API.
DependabotSecretsSelectedRepoIDs are the repository IDs that have access to the dependabot secrets.
DependabotService handles communication with the Dependabot related methods of the GitHub API.
No description provided by the author
EmojisService provides access to emoji-related functions in the GitHub API.
EnterpriseService provides access to the enterprise related functions in the GitHub API.
GistFilename represents filename on a gist.
GistsService handles communication with the Gist related methods of the GitHub API.
GitignoresService provides access to the gitignore related functions in the GitHub API.
GitService handles communication with the git data related methods of the GitHub API.
InteractionsService handles communication with the repository and organization related methods of the GitHub API.
IssueImportService handles communication with the issue import related methods of the Issue Import GitHub API.
IssuesService handles communication with the issue related methods of the GitHub API.
LicensesService handles communication with the license related methods of the GitHub API.
MarkdownService provides access to markdown-related functions in the GitHub API.
MergeGroupingStrategy models a GitHub merge grouping strategy.
MergeMethod models a GitHub merge method.
MessageSignerFunc is a single function implementation of MessageSigner.
MetaService provides access to functions in the GitHub API that GitHub categorizes as "meta".
MigrationService provides access to the migration related functions in the GitHub API.
MinutesUsedBreakdown counts the actions minutes used by machine type (e.g.
OrganizationsService provides access to the organization related functions in the GitHub API.
PatternRuleOperator models a GitHub pattern rule operator.
PullRequestsService handles communication with the pull request related methods of the GitHub API.
No description provided by the author
RateLimitService provides access to rate limit functions in the GitHub API.
RawType represents type of raw format of a request instead of JSON.
ReactionsService provides access to the reactions-related functions in the GitHub API.
RepositoriesService handles communication with the repository related methods of the GitHub API.
RepositoryRuleType represents a GitHub ruleset rule type.
RequestOption represents an option that can modify an http.Request.
RulesetEnforcement represents a GitHub ruleset enforcement.
RulesetSourceType represents a GitHub ruleset source type.
RulesetTarget represents a GitHub ruleset target.
SCIMService provides access to SCIM related functions in the GitHub API.
Scope models a GitHub authorization scope.
SearchService provides access to the search related functions in the GitHub API.
SecretScanningService handles communication with the secret scanning related methods of the GitHub API.
No description provided by the author
SelectedRepoIDs are the repository IDs that have access to the actions secrets.
TeamsService provides access to the team-related functions in the GitHub API.
TwoFactorAuthError occurs when using HTTP Basic Authentication for a user that has two-factor authentication enabled.
UsersService handles communication with the user related methods of the GitHub API.
WebHookAuthor represents the author or committer of a commit, as specified in a WebHookCommit.
WebHookCommit represents the commit variant we receive from GitHub in a WebHookPayload.
WebHookPayload represents the data that is received from GitHub when a push event hook is triggered.
WorkflowBillMap represents different runner environments available for a workflow.
WorkflowRunBillMap represents different runner environments available for a workflow run.