Skip to main content

Reference documentation for GraphQL schema types in the Repositories category.

Neste artigo

Queries

repository

Query

Lookup a given repository by the owner and repository name.

Tipo: Repository

Argumentos para repository

NomeDescrição

followRenames (Boolean)

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

The default value is true.

name (String!)

The name of the repository.

owner (String!)

The login field of a user or organization.

repositoryOwner

Query

Lookup a repository owner (ie. either a User or an Organization) by login.

Tipo: RepositoryOwner

Argumentos para repositoryOwner

NomeDescrição

login (String!)

The username to lookup the owner by.

topic

Query

Look up a topic by name.

Tipo: Topic

Argumentos para topic

NomeDescrição

name (String!)

The topic's name.

Mutations

acceptTopicSuggestion

Mutation

Applies a suggested topic to the repository.

Campos de entrada para acceptTopicSuggestion

Campos de retorno para acceptTopicSuggestion

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

topic (Topic)

The accepted topic.

Aviso

topic is deprecated.

Suggested topics are no longer supported Removal on 2024-04-01 UTC.

archiveRepository

Mutation

Marks a repository as archived.

Campos de entrada para archiveRepository

Campos de retorno para archiveRepository

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The repository that was marked as archived.

cloneTemplateRepository

Mutation

Create a new repository with the same files and directory structure as a template repository.

Campos de entrada para cloneTemplateRepository

Campos de retorno para cloneTemplateRepository

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The new repository.

createRepository

Mutation

Create a new repository.

Campos de entrada para createRepository

Campos de retorno para createRepository

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The new repository.

createRepositoryCustomProperty

Mutation

Create a repository custom property.

Campos de entrada para createRepositoryCustomProperty

Campos de retorno para createRepositoryCustomProperty

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryCustomProperty (RepositoryCustomProperty)

The newly created repository custom property.

createRepositoryRuleset

Mutation

Create a repository ruleset.

Campos de entrada para createRepositoryRuleset

Campos de retorno para createRepositoryRuleset

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

ruleset (RepositoryRuleset)

The newly created Ruleset.

declineTopicSuggestion

Mutation

Rejects a suggested topic for the repository.

Campos de entrada para declineTopicSuggestion

Campos de retorno para declineTopicSuggestion

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

topic (Topic)

The declined topic.

Aviso

topic is deprecated.

Suggested topics are no longer supported Removal on 2024-04-01 UTC.

deleteRepositoryCustomProperty

Mutation

Delete a repository custom property.

Campos de entrada para deleteRepositoryCustomProperty

Campos de retorno para deleteRepositoryCustomProperty

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryCustomProperty (RepositoryCustomProperty)

The deleted custom property.

deleteRepositoryRuleset

Mutation

Delete a repository ruleset.

Campos de entrada para deleteRepositoryRuleset

Campos de retorno para deleteRepositoryRuleset

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

promoteRepositoryCustomProperty

Mutation

Promote a repository custom property to the enterprise level.

Campos de entrada para promoteRepositoryCustomProperty

Campos de retorno para promoteRepositoryCustomProperty

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryCustomProperty (RepositoryCustomProperty)

The repository custom property that has been promoted.

setRepositoryCustomPropertyValues

Mutation

Set repository custom property values for a repository.

Campos de entrada para setRepositoryCustomPropertyValues

Campos de retorno para setRepositoryCustomPropertyValues

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The repository that the custom properties were set for.

setRepositoryInteractionLimit

Mutation

Sets an interaction limit setting for a repository.

Campos de entrada para setRepositoryInteractionLimit

Campos de retorno para setRepositoryInteractionLimit

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The repository that the interaction limit was set for.

unarchiveRepository

Mutation

Unarchives a repository.

Campos de entrada para unarchiveRepository

Campos de retorno para unarchiveRepository

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The repository that was unarchived.

updateRepository

Mutation

Update information about a repository.

Campos de entrada para updateRepository

Campos de retorno para updateRepository

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The updated repository.

updateRepositoryCustomProperty

Mutation

Update a repository custom property.

Campos de entrada para updateRepositoryCustomProperty

Campos de retorno para updateRepositoryCustomProperty

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryCustomProperty (RepositoryCustomProperty)

The updated repository custom property.

updateRepositoryRuleset

Mutation

Update a repository ruleset.

Campos de entrada para updateRepositoryRuleset

Campos de retorno para updateRepositoryRuleset

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

ruleset (RepositoryRuleset)

The newly created Ruleset.

updateRepositoryWebCommitSignoffSetting

Mutation

Sets whether contributors are required to sign off on web-based commits for a repository.

Campos de entrada para updateRepositoryWebCommitSignoffSetting

Campos de retorno para updateRepositoryWebCommitSignoffSetting

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

message (String)

A message confirming the result of updating the web commit signoff setting.

repository (Repository)

The updated repository.

updateTopics

Mutation

Replaces the repository's topics with the given topics.

Campos de entrada para updateTopics

Campos de retorno para updateTopics

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

invalidTopicNames ([String!])

Names of the provided topics that are not valid.

repository (Repository)

The updated repository.

Objects

CodeScanningParameters

Object

Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated.

Campos para CodeScanningParameters

NomeDescrição

codeScanningTools ([CodeScanningTool!]!)

Tools that must provide code scanning results for this rule to pass.

CodeScanningTool

Object

A tool that must provide code scanning results for this rule to pass.

Campos para CodeScanningTool

NomeDescrição

alertsThreshold (String!)

The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see "About code scanning alerts.".

securityAlertsThreshold (String!)

The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see "About code scanning alerts.".

tool (String!)

The name of a code scanning tool.

ContributingGuidelines

Object

The Contributing Guidelines for a repository.

Campos para ContributingGuidelines

NomeDescrição

body (String)

The body of the Contributing Guidelines.

resourcePath (URI)

The HTTP path for the Contributing Guidelines.

url (URI)

The HTTP URL for the Contributing Guidelines.

FileExtensionRestrictionParameters

Object

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

Campos para FileExtensionRestrictionParameters

NomeDescrição

restrictedFileExtensions ([String!]!)

The file extensions that are restricted from being pushed to the commit graph.

FilePathRestrictionParameters

Object

Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. This includes absolute paths that contain file names.

Campos para FilePathRestrictionParameters

NomeDescrição

restrictedFilePaths ([String!]!)

The file paths that are restricted from being pushed to the commit graph.

Object

A funding platform link for a repository.

Campos para FundingLink

NomeDescrição

platform (FundingPlatform!)

The funding platform this link is for.

url (URI!)

The configured URL for this funding link.

Language

Object

Represents a given language found in repositories.

Language Implementa

Campos para Language

NomeDescrição

color (String)

The color defined for the current language.

id (ID!)

The Node ID of the Language object.

name (String!)

The name of the current language.

LanguageConnection

Object

A list of languages associated with the parent.

Campos para LanguageConnection

NomeDescrição

edges ([LanguageEdge])

A list of edges.

nodes ([Language])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

totalSize (Int!)

The total size in bytes of files written in that language.

LanguageEdge

Object

Represents the language of a repository.

Campos para LanguageEdge

NomeDescrição

cursor (String!)

N/A

node (Language!)

N/A

size (Int!)

The number of bytes of code written in the language.

MaxFilePathLengthParameters

Object

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

Campos para MaxFilePathLengthParameters

NomeDescrição

maxFilePathLength (Int!)

The maximum amount of characters allowed in file paths.

MaxFileSizeParameters

Object

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

Campos para MaxFileSizeParameters

NomeDescrição

maxFileSize (Int!)

The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS).

PermissionSource

Object

A level of permission and source for a user's access to a repository.

Campos para PermissionSource

NomeDescrição

organization (Organization!)

The organization the repository belongs to.

permission (DefaultRepositoryPermissionField!)

The level of access this source has granted to the user.

roleName (String)

The name of the role this source has granted to the user.

source (PermissionGranter!)

The source of this permission.

PropertyTargetDefinition

Object

A property that must match.

Campos para PropertyTargetDefinition

NomeDescrição

name (String!)

The name of the property.

propertyValues ([String!]!)

The values to match for.

source (String)

The source of the property. Choosecustomor 'system'. Defaults to 'custom' if not specified.

RepoAccessAuditEntry

Object

Audit log entry for a repo.access event.

RepoAccessAuditEntry Implementa

Campos para RepoAccessAuditEntry

NomeDescrição

action (String!)

The action name.

Aviso

action is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actor (AuditEntryActor)

The user who initiated the action.

Aviso

actor is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorIp (String)

The IP address of the actor.

Aviso

actorIp is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLocation (ActorLocation)

A readable representation of the actor's location.

Aviso

actorLocation is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLogin (String)

The username of the user who initiated the action.

Aviso

actorLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorResourcePath (URI)

The HTTP path for the actor.

Aviso

actorResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorUrl (URI)

The HTTP URL for the actor.

Aviso

actorUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

createdAt (PreciseDateTime!)

The time the action was initiated.

Aviso

createdAt is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

id (ID!)

The Node ID of the RepoAccessAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

Aviso

operationType is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organization (Organization)

The Organization associated with the Audit Entry.

Aviso

organization is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationName (String)

The name of the Organization.

Aviso

organizationName is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationResourcePath (URI)

The HTTP path for the organization.

Aviso

organizationResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationUrl (URI)

The HTTP URL for the organization.

Aviso

organizationUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

Aviso

user is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

Aviso

userLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userResourcePath (URI)

The HTTP path for the user.

Aviso

userResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userUrl (URI)

The HTTP URL for the user.

Aviso

userUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

visibility (RepoAccessAuditEntryVisibility)

The visibility of the repository.

Aviso

visibility is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

RepoAddMemberAuditEntry

Object

Audit log entry for a repo.add_member event.

RepoAddMemberAuditEntry Implementa

Campos para RepoAddMemberAuditEntry

NomeDescrição

action (String!)

The action name.

Aviso

action is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actor (AuditEntryActor)

The user who initiated the action.

Aviso

actor is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorIp (String)

The IP address of the actor.

Aviso

actorIp is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLocation (ActorLocation)

A readable representation of the actor's location.

Aviso

actorLocation is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLogin (String)

The username of the user who initiated the action.

Aviso

actorLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorResourcePath (URI)

The HTTP path for the actor.

Aviso

actorResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorUrl (URI)

The HTTP URL for the actor.

Aviso

actorUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

createdAt (PreciseDateTime!)

The time the action was initiated.

Aviso

createdAt is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

id (ID!)

The Node ID of the RepoAddMemberAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

Aviso

operationType is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organization (Organization)

The Organization associated with the Audit Entry.

Aviso

organization is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationName (String)

The name of the Organization.

Aviso

organizationName is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationResourcePath (URI)

The HTTP path for the organization.

Aviso

organizationResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationUrl (URI)

The HTTP URL for the organization.

Aviso

organizationUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

Aviso

user is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

Aviso

userLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userResourcePath (URI)

The HTTP path for the user.

Aviso

userResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userUrl (URI)

The HTTP URL for the user.

Aviso

userUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

visibility (RepoAddMemberAuditEntryVisibility)

The visibility of the repository.

Aviso

visibility is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

RepoAddTopicAuditEntry

Object

Audit log entry for a repo.add_topic event.

RepoAddTopicAuditEntry Implementa

Campos para RepoAddTopicAuditEntry

NomeDescrição

action (String!)

The action name.

Aviso

action is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actor (AuditEntryActor)

The user who initiated the action.

Aviso

actor is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorIp (String)

The IP address of the actor.

Aviso

actorIp is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLocation (ActorLocation)

A readable representation of the actor's location.

Aviso

actorLocation is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLogin (String)

The username of the user who initiated the action.

Aviso

actorLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorResourcePath (URI)

The HTTP path for the actor.

Aviso

actorResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorUrl (URI)

The HTTP URL for the actor.

Aviso

actorUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

createdAt (PreciseDateTime!)

The time the action was initiated.

Aviso

createdAt is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

id (ID!)

The Node ID of the RepoAddTopicAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

Aviso

operationType is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organization (Organization)

The Organization associated with the Audit Entry.

Aviso

organization is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationName (String)

The name of the Organization.

Aviso

organizationName is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationResourcePath (URI)

The HTTP path for the organization.

Aviso

organizationResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationUrl (URI)

The HTTP URL for the organization.

Aviso

organizationUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

topic (Topic)

The name of the topic added to the repository.

topicName (String)

The name of the topic added to the repository.

user (User)

The user affected by the action.

Aviso

user is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

Aviso

userLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userResourcePath (URI)

The HTTP path for the user.

Aviso

userResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userUrl (URI)

The HTTP URL for the user.

Aviso

userUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

RepoArchivedAuditEntry

Object

Audit log entry for a repo.archived event.

RepoArchivedAuditEntry Implementa

Campos para RepoArchivedAuditEntry

NomeDescrição

action (String!)

The action name.

Aviso

action is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actor (AuditEntryActor)

The user who initiated the action.

Aviso

actor is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorIp (String)

The IP address of the actor.

Aviso

actorIp is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLocation (ActorLocation)

A readable representation of the actor's location.

Aviso

actorLocation is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLogin (String)

The username of the user who initiated the action.

Aviso

actorLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorResourcePath (URI)

The HTTP path for the actor.

Aviso

actorResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorUrl (URI)

The HTTP URL for the actor.

Aviso

actorUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

createdAt (PreciseDateTime!)

The time the action was initiated.

Aviso

createdAt is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

id (ID!)

The Node ID of the RepoArchivedAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

Aviso

operationType is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organization (Organization)

The Organization associated with the Audit Entry.

Aviso

organization is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationName (String)

The name of the Organization.

Aviso

organizationName is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationResourcePath (URI)

The HTTP path for the organization.

Aviso

organizationResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationUrl (URI)

The HTTP URL for the organization.

Aviso

organizationUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

Aviso

user is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

Aviso

userLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userResourcePath (URI)

The HTTP path for the user.

Aviso

userResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userUrl (URI)

The HTTP URL for the user.

Aviso

userUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

visibility (RepoArchivedAuditEntryVisibility)

The visibility of the repository.

Aviso

visibility is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

RepoChangeMergeSettingAuditEntry

Object

Audit log entry for a repo.change_merge_setting event.

RepoChangeMergeSettingAuditEntry Implementa

Campos para RepoChangeMergeSettingAuditEntry

NomeDescrição

action (String!)

The action name.

Aviso

action is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actor (AuditEntryActor)

The user who initiated the action.

Aviso

actor is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorIp (String)

The IP address of the actor.

Aviso

actorIp is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLocation (ActorLocation)

A readable representation of the actor's location.

Aviso

actorLocation is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLogin (String)

The username of the user who initiated the action.

Aviso

actorLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorResourcePath (URI)

The HTTP path for the actor.

Aviso

actorResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorUrl (URI)

The HTTP URL for the actor.

Aviso

actorUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

createdAt (PreciseDateTime!)

The time the action was initiated.

Aviso

createdAt is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

id (ID!)

The Node ID of the RepoChangeMergeSettingAuditEntry object.

isEnabled (Boolean)

Whether the change was to enable (true) or disable (false) the merge type.

Aviso

isEnabled is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

mergeType (RepoChangeMergeSettingAuditEntryMergeType)

The merge method affected by the change.

Aviso

mergeType is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

operationType (OperationType)

The corresponding operation type for the action.

Aviso

operationType is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organization (Organization)

The Organization associated with the Audit Entry.

Aviso

organization is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationName (String)

The name of the Organization.

Aviso

organizationName is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationResourcePath (URI)

The HTTP path for the organization.

Aviso

organizationResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationUrl (URI)

The HTTP URL for the organization.

Aviso

organizationUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

Aviso

user is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

Aviso

userLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userResourcePath (URI)

The HTTP path for the user.

Aviso

userResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userUrl (URI)

The HTTP URL for the user.

Aviso

userUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

RepoCreateAuditEntry

Object

Audit log entry for a repo.create event.

RepoCreateAuditEntry Implementa

Campos para RepoCreateAuditEntry

NomeDescrição

action (String!)

The action name.

Aviso

action is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actor (AuditEntryActor)

The user who initiated the action.

Aviso

actor is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorIp (String)

The IP address of the actor.

Aviso

actorIp is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLocation (ActorLocation)

A readable representation of the actor's location.

Aviso

actorLocation is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLogin (String)

The username of the user who initiated the action.

Aviso

actorLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorResourcePath (URI)

The HTTP path for the actor.

Aviso

actorResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorUrl (URI)

The HTTP URL for the actor.

Aviso

actorUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

createdAt (PreciseDateTime!)

The time the action was initiated.

Aviso

createdAt is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

forkParentName (String)

The name of the parent repository for this forked repository.

Aviso

forkParentName is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

forkSourceName (String)

The name of the root repository for this network.

Aviso

forkSourceName is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

id (ID!)

The Node ID of the RepoCreateAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

Aviso

operationType is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organization (Organization)

The Organization associated with the Audit Entry.

Aviso

organization is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationName (String)

The name of the Organization.

Aviso

organizationName is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationResourcePath (URI)

The HTTP path for the organization.

Aviso

organizationResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationUrl (URI)

The HTTP URL for the organization.

Aviso

organizationUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

Aviso

user is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

Aviso

userLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userResourcePath (URI)

The HTTP path for the user.

Aviso

userResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userUrl (URI)

The HTTP URL for the user.

Aviso

userUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

visibility (RepoCreateAuditEntryVisibility)

The visibility of the repository.

Aviso

visibility is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

RepoDestroyAuditEntry

Object

Audit log entry for a repo.destroy event.

RepoDestroyAuditEntry Implementa

Campos para RepoDestroyAuditEntry

NomeDescrição

action (String!)

The action name.

Aviso

action is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actor (AuditEntryActor)

The user who initiated the action.

Aviso

actor is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorIp (String)

The IP address of the actor.

Aviso

actorIp is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLocation (ActorLocation)

A readable representation of the actor's location.

Aviso

actorLocation is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLogin (String)

The username of the user who initiated the action.

Aviso

actorLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorResourcePath (URI)

The HTTP path for the actor.

Aviso

actorResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorUrl (URI)

The HTTP URL for the actor.

Aviso

actorUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

createdAt (PreciseDateTime!)

The time the action was initiated.

Aviso

createdAt is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

id (ID!)

The Node ID of the RepoDestroyAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

Aviso

operationType is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organization (Organization)

The Organization associated with the Audit Entry.

Aviso

organization is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationName (String)

The name of the Organization.

Aviso

organizationName is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationResourcePath (URI)

The HTTP path for the organization.

Aviso

organizationResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationUrl (URI)

The HTTP URL for the organization.

Aviso

organizationUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

Aviso

user is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

Aviso

userLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userResourcePath (URI)

The HTTP path for the user.

Aviso

userResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userUrl (URI)

The HTTP URL for the user.

Aviso

userUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

visibility (RepoDestroyAuditEntryVisibility)

The visibility of the repository.

Aviso

visibility is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

RepoRemoveMemberAuditEntry

Object

Audit log entry for a repo.remove_member event.

RepoRemoveMemberAuditEntry Implementa

Campos para RepoRemoveMemberAuditEntry

NomeDescrição

action (String!)

The action name.

Aviso

action is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actor (AuditEntryActor)

The user who initiated the action.

Aviso

actor is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorIp (String)

The IP address of the actor.

Aviso

actorIp is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLocation (ActorLocation)

A readable representation of the actor's location.

Aviso

actorLocation is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLogin (String)

The username of the user who initiated the action.

Aviso

actorLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorResourcePath (URI)

The HTTP path for the actor.

Aviso

actorResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorUrl (URI)

The HTTP URL for the actor.

Aviso

actorUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

createdAt (PreciseDateTime!)

The time the action was initiated.

Aviso

createdAt is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

id (ID!)

The Node ID of the RepoRemoveMemberAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

Aviso

operationType is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organization (Organization)

The Organization associated with the Audit Entry.

Aviso

organization is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationName (String)

The name of the Organization.

Aviso

organizationName is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationResourcePath (URI)

The HTTP path for the organization.

Aviso

organizationResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationUrl (URI)

The HTTP URL for the organization.

Aviso

organizationUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

user (User)

The user affected by the action.

Aviso

user is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

Aviso

userLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userResourcePath (URI)

The HTTP path for the user.

Aviso

userResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userUrl (URI)

The HTTP URL for the user.

Aviso

userUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

visibility (RepoRemoveMemberAuditEntryVisibility)

The visibility of the repository.

Aviso

visibility is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

RepoRemoveTopicAuditEntry

Object

Audit log entry for a repo.remove_topic event.

RepoRemoveTopicAuditEntry Implementa

Campos para RepoRemoveTopicAuditEntry

NomeDescrição

action (String!)

The action name.

Aviso

action is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actor (AuditEntryActor)

The user who initiated the action.

Aviso

actor is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorIp (String)

The IP address of the actor.

Aviso

actorIp is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLocation (ActorLocation)

A readable representation of the actor's location.

Aviso

actorLocation is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLogin (String)

The username of the user who initiated the action.

Aviso

actorLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorResourcePath (URI)

The HTTP path for the actor.

Aviso

actorResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorUrl (URI)

The HTTP URL for the actor.

Aviso

actorUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

createdAt (PreciseDateTime!)

The time the action was initiated.

Aviso

createdAt is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

id (ID!)

The Node ID of the RepoRemoveTopicAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

Aviso

operationType is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organization (Organization)

The Organization associated with the Audit Entry.

Aviso

organization is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationName (String)

The name of the Organization.

Aviso

organizationName is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationResourcePath (URI)

The HTTP path for the organization.

Aviso

organizationResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationUrl (URI)

The HTTP URL for the organization.

Aviso

organizationUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

topic (Topic)

The name of the topic added to the repository.

topicName (String)

The name of the topic added to the repository.

user (User)

The user affected by the action.

Aviso

user is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

Aviso

userLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userResourcePath (URI)

The HTTP path for the user.

Aviso

userResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userUrl (URI)

The HTTP URL for the user.

Aviso

userUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

Repository

Object

A repository contains the content for a project.

Repository Implementa

Campos para Repository

NomeDescrição

allowUpdateBranch (Boolean!)

Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.

archivedAt (DateTime)

Identifies the date and time when the repository was archived.

assignableUsers (UserConnection!)

A list of users that can be assigned to issues in this repository.

Argumentos para assignableUsers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    Filters users with query on user name and login.

autoMergeAllowed (Boolean!)

Whether or not Auto-merge can be enabled on pull requests in this repository.

branchProtectionRules (BranchProtectionRuleConnection!)

A list of branch protection rules for this repository.

Argumentos para branchProtectionRules

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

codeOfConduct (CodeOfConduct)

Returns the code of conduct for this repository.

codeowners (RepositoryCodeowners)

Information extracted from the repository's CODEOWNERS file.

Argumentos para codeowners

  • refName (String)

    The ref name used to return the associated CODEOWNERS file.

collaborators (RepositoryCollaboratorConnection)

A list of collaborators associated with the repository.

Argumentos para collaborators

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • login (String)

    The login of one specific collaborator.

  • query (String)

    Filters users with query on user name and login.

commitComments (CommitCommentConnection!)

A list of commit comments associated with the repository.

Argumentos para commitComments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

contactLinks ([RepositoryContactLink!])

Returns a list of contact links associated to the repository.

contributingGuidelines (ContributingGuidelines)

Returns the contributing guidelines for this repository.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

defaultBranchRef (Ref)

The Ref associated with the repository's default branch.

deleteBranchOnMerge (Boolean!)

Whether or not branches are automatically deleted when merged in this repository.

dependencyGraphManifests (DependencyGraphManifestConnection)

A list of dependency manifests contained in the repository.

Argumentos para dependencyGraphManifests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • dependenciesAfter (String)

    Cursor to paginate dependencies.

  • dependenciesFirst (Int)

    Number of dependencies to fetch.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • withDependencies (Boolean)

    Flag to scope to only manifests with dependencies.

deployKeys (DeployKeyConnection!)

A list of deploy keys that are on this repository.

Argumentos para deployKeys

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

deployments (DeploymentConnection!)

Deployments associated with the repository.

Argumentos para deployments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • environments ([String!])

    Environments to list deployments for.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (DeploymentOrder)

    Ordering options for deployments returned from the connection.

description (String)

The description of the repository.

descriptionHTML (HTML!)

The description of the repository rendered to HTML.

discussion (Discussion)

Returns a single discussion from the current repository by number.

Argumentos para discussion

  • number (Int!)

    The number for the discussion to be returned.

discussionCategories (DiscussionCategoryConnection!)

A list of discussion categories that are available in the repository.

Argumentos para discussionCategories

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • filterByAssignable (Boolean)

    Filter by categories that are assignable by the viewer.

    The default value is false.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

discussionCategory (DiscussionCategory)

A discussion category by slug.

Argumentos para discussionCategory

  • slug (String!)

    The slug of the discussion category to be returned.

discussions (DiscussionConnection!)

A list of discussions that have been opened in the repository.

Argumentos para discussions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • answered (Boolean)

    Only show answered or unanswered discussions.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • categoryId (ID)

    Only include discussions that belong to the category with this ID.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (DiscussionOrder)

    Ordering options for discussions returned from the connection.

diskUsage (Int)

The number of kilobytes this repository occupies on disk.

environment (Environment)

Returns a single active environment from the current repository by name.

Argumentos para environment

  • name (String!)

    The name of the environment to be returned.

environments (EnvironmentConnection!)

A list of environments that are in this repository.

Argumentos para environments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • names ([String!])

    The names of the environments to be returned.

  • orderBy (Environments)

    Ordering options for the environments.

forkCount (Int!)

Returns how many forks there are of this repository in the whole network.

forkingAllowed (Boolean!)

Whether this repository allows forks.

forks (RepositoryConnection!)

A list of direct forked repositories.

Argumentos para forks

  • affiliations ([RepositoryAffiliation])

    Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasIssuesEnabled (Boolean)

    If non-null, filters repositories according to whether they have issues enabled.

  • isLocked (Boolean)

    If non-null, filters repositories according to whether they have been locked.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.

  • privacy (RepositoryPrivacy)

    If non-null, filters repositories according to privacy. Internal repositories are considered private; consider using the visibility argument if only internal repositories are needed. Cannot be combined with the visibility argument.

  • visibility (RepositoryVisibility)

    If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument.

fundingLinks ([FundingLink!]!)

The funding links for this repository.

hasDiscussionsEnabled (Boolean!)

Indicates if the repository has the Discussions feature enabled.

hasIssuesEnabled (Boolean!)

Indicates if the repository has issues feature enabled.

hasProjectsEnabled (Boolean!)

Indicates if the repository has the Projects feature enabled.

hasPullRequestsEnabled (Boolean!)

Indicates if the repository has the pull requests feature enabled.

hasSponsorshipsEnabled (Boolean!)

Indicates if the repository displays a Sponsor button for financial contributions.

hasVulnerabilityAlertsEnabled (Boolean!)

Whether vulnerability alerts are enabled for the repository.

hasWikiEnabled (Boolean!)

Indicates if the repository has wiki feature enabled.

homepageUrl (URI)

The repository's URL.

id (ID!)

The Node ID of the Repository object.

interactionAbility (RepositoryInteractionAbility)

The interaction ability settings for this repository.

isArchived (Boolean!)

Indicates if the repository is unmaintained.

isBlankIssuesEnabled (Boolean!)

Returns true if the viewer can create a blank issue in this repository.

isDisabled (Boolean!)

Returns whether or not this repository disabled.

isEmpty (Boolean!)

Returns whether or not this repository is empty.

isFork (Boolean!)

Identifies if the repository is a fork.

isInOrganization (Boolean!)

Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.

isLocked (Boolean!)

Indicates if the repository has been locked or not.

isMirror (Boolean!)

Identifies if the repository is a mirror.

isPrivate (Boolean!)

Identifies if the repository is private or internal.

isSecurityPolicyEnabled (Boolean)

Returns true if this repository has a security policy.

isTemplate (Boolean!)

Identifies if the repository is a template that can be used to generate new repositories.

isUserConfigurationRepository (Boolean!)

Is this repository a user configuration repository?.

issue (Issue)

Returns a single issue from the current repository by number.

Argumentos para issue

  • number (Int!)

    The number for the issue to be returned.

issueFields (IssueFieldsConnection)

A list of the repository's issue fields, inherited from the organization.

Argumentos para issueFields

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueFieldOrder)

    Ordering options for issue fields returned from the connection.

issueOrPullRequest (IssueOrPullRequest)

Returns a single issue-like object from the current repository by number.

Argumentos para issueOrPullRequest

  • number (Int!)

    The number for the issue to be returned.

issueTemplates ([IssueTemplate!])

Returns a list of issue templates associated to the repository.

issueType (IssueType)

Returns a single issue type by name.

Argumentos para issueType

issueTypes (IssueTypeConnection)

A list of the repository's issue types.

Argumentos para issueTypes

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueTypeOrder)

    Ordering options for issue types returned from the connection.

issues (IssueConnection!)

A list of issues that have been opened in the repository.

Argumentos para issues

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • filterBy (IssueFilters)

    Filtering options for issues returned from the connection.

  • first (Int)

    Returns the first n elements from the list.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for issues returned from the connection.

label (Label)

Returns a single label by name.

Argumentos para label

labels (LabelConnection)

A list of labels associated with the repository.

Argumentos para labels

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

  • query (String)

    If provided, searches labels by name and description.

languages (LanguageConnection)

A list containing a breakdown of the language composition of the repository.

Argumentos para languages

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

latestRelease (Release)

Get the latest release for the repository if one exists.

licenseInfo (License)

The license associated with the repository.

lockReason (RepositoryLockReason)

The reason the repository has been locked.

mentionableUsers (UserConnection!)

A list of Users that can be mentioned in the context of the repository.

Argumentos para mentionableUsers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    Filters users with query on user name and login.

mergeCommitAllowed (Boolean!)

Whether or not PRs are merged with a merge commit on this repository.

mergeCommitMessage (MergeCommitMessage!)

How the default commit message will be generated when merging a pull request.

mergeCommitTitle (MergeCommitTitle!)

How the default commit title will be generated when merging a pull request.

mergeQueue (MergeQueue)

The merge queue for a specified branch, otherwise the default branch if not provided.

Argumentos para mergeQueue

  • branch (String)

    The name of the branch to get the merge queue for. Case sensitive.

milestone (Milestone)

Returns a single milestone from the current repository by number.

Argumentos para milestone

  • number (Int!)

    The number for the milestone to be returned.

milestones (MilestoneConnection)

A list of milestones associated with the repository.

Argumentos para milestones

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    Filters milestones with a query on the title.

mirrorUrl (URI)

The repository's original mirror URL.

name (String!)

The name of the repository.

nameWithOwner (String!)

The repository's name with owner.

object (GitObject)

A Git object in the repository.

Argumentos para object

  • expression (String)

    A Git revision expression suitable for rev-parse.

openGraphImageUrl (URI!)

The image used to represent this repository in Open Graph data.

owner (RepositoryOwner!)

The User owner of the repository.

packages (PackageConnection!)

A list of packages under the owner.

Argumentos para packages

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • names ([String])

    Find packages by their names.

  • packageType (PackageType)

    Filter registry package by type.

  • repositoryId (ID)

    Find packages in a repository by ID.

parent (Repository)

The repository parent, if this is a fork.

pinnedDiscussions (PinnedDiscussionConnection!)

A list of discussions that have been pinned in this repository.

Argumentos para pinnedDiscussions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedEnvironments (PinnedEnvironmentConnection)

A list of pinned environments for this repository.

Argumentos para pinnedEnvironments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedIssues (PinnedIssueConnection)

A list of pinned issues for this repository.

Argumentos para pinnedIssues

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

planFeatures (RepositoryPlanFeatures!)

Returns information about the availability of certain features and limits based on the repository's billing plan.

primaryLanguage (Language)

The primary language of the repository's code.

project (Project)

Find project by number.

Aviso

project is deprecated.

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

Argumentos para project

  • number (Int!)

    The project number to find.

projectV2 (ProjectV2)

Finds and returns the Project according to the provided Project number.

Argumentos para projectV2

  • number (Int!)

    The Project number.

projects (ProjectConnection!)

A list of projects under the owner.

Aviso

projects is deprecated.

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

Argumentos para projects

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectOrder)

    Ordering options for projects returned from the connection.

  • search (String)

    Query to search projects by, currently only searching by name.

projectsResourcePath (URI!)

The HTTP path listing the repository's projects.

projectsUrl (URI!)

The HTTP URL listing the repository's projects.

projectsV2 (ProjectV2Connection!)

List of projects linked to this repository.

Argumentos para projectsV2

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    A project to search for linked to the repo.

pullRequest (PullRequest)

Returns a single pull request from the current repository by number.

Argumentos para pullRequest

  • number (Int!)

    The number for the pull request to be returned.

pullRequestCreationPolicy (PullRequestCreationPolicy)

The policy controlling who can create pull requests in this repository.

pullRequestTemplates ([PullRequestTemplate!])

Returns a list of pull request templates associated to the repository.

pullRequests (PullRequestConnection!)

A list of pull requests that have been opened in the repository.

Argumentos para pullRequests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • baseRefName (String)

    The base ref name to filter the pull requests by.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • headRefName (String)

    The head ref name to filter the pull requests by.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for pull requests returned from the connection.

pushedAt (DateTime)

Identifies the date and time when the repository was last pushed to.

rebaseMergeAllowed (Boolean!)

Whether or not rebase-merging is enabled on this repository.

recentProjects (ProjectV2Connection!)

Recent projects that this user has modified in the context of the owner.

Argumentos para recentProjects

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ref (Ref)

Fetch a given ref from the repository.

Argumentos para ref

  • qualifiedName (String!)

    The ref to retrieve. Fully qualified matches are checked in order (refs/heads/master) before falling back onto checks for short name matches (master).

refs (RefConnection)

Fetch a list of refs from the repository.

Argumentos para refs

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • direction (OrderDirection)

    DEPRECATED: use orderBy. The ordering direction.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RefOrder)

    Ordering options for refs returned from the connection.

  • query (String)

    Filters refs with query on name.

  • refPrefix (String!)

    A ref name prefix like refs/heads/, refs/tags/, etc.

release (Release)

Lookup a single release given various criteria.

Argumentos para release

  • tagName (String!)

    The name of the Tag the Release was created from.

releases (ReleaseConnection!)

List of releases which are dependent on this repository.

Argumentos para releases

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

repositoryCustomPropertyValue (RepositoryCustomPropertyValue)

A custom property value for the repository.

Argumentos para repositoryCustomPropertyValue

  • propertyName (String!)

    The name of the custom property to retrieve the value for.

repositoryCustomPropertyValues (RepositoryCustomPropertyValueConnection)

A list of custom properties and their associated values for a repository.

Argumentos para repositoryCustomPropertyValues

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

repositoryTopics (RepositoryTopicConnection!)

A list of applied repository-topic associations for this repository.

Argumentos para repositoryTopics

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

resourcePath (URI!)

The HTTP path for this repository.

ruleset (RepositoryRuleset)

Returns a single ruleset from the current repository by ID.

Argumentos para ruleset

  • databaseId (Int!)

    The ID of the ruleset to be returned.

  • includeParents (Boolean)

    Include rulesets configured at higher levels that apply to this repository.

    The default value is true.

rulesets (RepositoryRulesetConnection)

A list of rulesets for this repository.

Argumentos para rulesets

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • includeParents (Boolean)

    Return rulesets configured at higher levels that apply to this repository.

    The default value is true.

  • last (Int)

    Returns the last n elements from the list.

securityPolicyUrl (URI)

The security policy URL.

shortDescriptionHTML (HTML!)

A description of the repository, rendered to HTML without any links in it.

Argumentos para shortDescriptionHTML

  • limit (Int)

    How many characters to return.

    The default value is 200.

squashMergeAllowed (Boolean!)

Whether or not squash-merging is enabled on this repository.

squashMergeCommitMessage (SquashMergeCommitMessage!)

How the default commit message will be generated when squash merging a pull request.

squashMergeCommitTitle (SquashMergeCommitTitle!)

How the default commit title will be generated when squash merging a pull request.

squashPrTitleUsedAsDefault (Boolean!)

Whether a squash merge commit can use the pull request title as default.

Aviso

squashPrTitleUsedAsDefault is deprecated.

squashPrTitleUsedAsDefault will be removed. Use Repository.squashMergeCommitTitle instead. Removal on 2023-04-01 UTC.

sshUrl (GitSSHRemote!)

The SSH URL to clone this repository.

stargazerCount (Int!)

Returns a count of how many stargazers there are on this object.

stargazers (StargazerConnection!)

A list of users who have starred this starrable.

Argumentos para stargazers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

submodules (SubmoduleConnection!)

Returns a list of all submodules in this repository parsed from the .gitmodules file as of the default branch's HEAD commit.

Argumentos para submodules

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

suggestedActors (ActorConnection!)

A list of suggested actors that can be attributed to content in this repository.

Argumentos para suggestedActors

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • loginNames (String)

    A comma separated list of login names to filter actors by. Only the first 10 logins will be used.

  • query (String)

    Search actors with query on user name and login.

tempCloneToken (String)

Temporary authentication token for cloning this repository.

templateRepository (Repository)

The repository from which this repository was generated, if any.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

url (URI!)

The HTTP URL for this repository.

usesCustomOpenGraphImage (Boolean!)

Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.

viewerCanAdminister (Boolean!)

Indicates whether the viewer has admin permissions on this repository.

viewerCanCreateProjects (Boolean!)

Can the current viewer create new projects on this owner.

Aviso

viewerCanCreateProjects is deprecated.

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

viewerCanSeeIssueFields (Boolean!)

Indicates whether the current user can see issue fields in this repository.

viewerCanSubscribe (Boolean!)

Check if the viewer is able to change their subscription status for the repository.

viewerCanUpdateTopics (Boolean!)

Indicates whether the viewer can update the topics of this repository.

viewerContentWarning (ContentWarning)

The content warning for this repository for the viewer.

viewerDefaultCommitEmail (String)

The last commit email for the viewer.

viewerDefaultMergeMethod (PullRequestMergeMethod!)

The last used merge method by the viewer or the default for the repository.

viewerHasStarred (Boolean!)

Returns a boolean indicating whether the viewing user has starred this starrable.

viewerPermission (RepositoryPermission)

The users permission level on the repository. Will return null if authenticated as an GitHub App.

viewerPossibleCommitEmails ([String!])

A list of emails this viewer can commit with.

viewerSubscription (SubscriptionState)

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

visibility (RepositoryVisibility!)

Indicates the repository's visibility level.

vulnerabilityAlert (RepositoryVulnerabilityAlert)

Returns a single vulnerability alert from the current repository by number.

Argumentos para vulnerabilityAlert

  • number (Int!)

    The number for the vulnerability alert to be returned.

vulnerabilityAlerts (RepositoryVulnerabilityAlertConnection)

A list of vulnerability alerts that are on this repository.

Argumentos para vulnerabilityAlerts

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

watchers (UserConnection!)

A list of users watching the repository.

Argumentos para watchers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

webCommitSignoffRequired (Boolean!)

Whether contributors are required to sign off on web-based commits in this repository.

RepositoryCodeowners

Object

Information extracted from a repository's CODEOWNERS file.

Campos para RepositoryCodeowners

NomeDescrição

errors ([RepositoryCodeownersError!]!)

Any problems that were encountered while parsing the CODEOWNERS file.

RepositoryCodeownersError

Object

An error in a CODEOWNERS file.

Campos para RepositoryCodeownersError

NomeDescrição

column (Int!)

The column number where the error occurs.

kind (String!)

A short string describing the type of error.

line (Int!)

The line number where the error occurs.

message (String!)

A complete description of the error, combining information from other fields.

path (String!)

The path to the file when the error occurs.

source (String!)

The content of the line where the error occurs.

suggestion (String)

A suggestion of how to fix the error.

RepositoryConnection

Object

A list of repositories owned by the subject.

Campos para RepositoryConnection

NomeDescrição

edges ([RepositoryEdge])

A list of edges.

nodes ([Repository])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

totalDiskUsage (Int!)

The total size in kilobytes of all repositories in the connection. Value will never be larger than max 32-bit signed integer.

Object

A repository contact link.

Campos para RepositoryContactLink

NomeDescrição

about (String!)

The contact link purpose.

name (String!)

The contact link name.

url (URI!)

The contact link URL.

RepositoryCustomProperty

Object

A repository custom property.

RepositoryCustomProperty Implementa

Campos para RepositoryCustomProperty

NomeDescrição

allowedValues ([String!])

The allowed values for the custom property. Required if value_type is single_select or multi_select.

defaultValue (CustomPropertyValue)

The default value of the custom property, if the property is required.

description (String)

The description of the custom property.

id (ID!)

The Node ID of the RepositoryCustomProperty object.

propertyName (String!)

The name of the custom property.

regex (String)

The regex pattern that the value of the custom property must match, if the value_type is string.

requireExplicitValues (Boolean)

Whether this repository custom property requires explicit values.

required (Boolean)

Whether the custom property is required.

source (CustomPropertySource!)

The source type of the custom property.

valueType (CustomPropertyValueType!)

The value type of the custom property.

valuesEditableBy (RepositoryCustomPropertyValuesEditableBy!)

Who can edit the values of this repository custom property.

RepositoryCustomPropertyConnection

Object

The connection type for RepositoryCustomProperty.

Campos para RepositoryCustomPropertyConnection

NomeDescrição

edges ([RepositoryCustomPropertyEdge])

A list of edges.

nodes ([RepositoryCustomProperty])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryCustomPropertyEdge

Object

An edge in a connection.

Campos para RepositoryCustomPropertyEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (RepositoryCustomProperty)

The item at the end of the edge.

RepositoryCustomPropertyValue

Object

A value associated with a repository custom property.

Campos para RepositoryCustomPropertyValue

NomeDescrição

propertyName (String!)

The name of the custom property.

value (CustomPropertyValue!)

The value of the custom property.

RepositoryCustomPropertyValueConnection

Object

The connection type for RepositoryCustomPropertyValue.

Campos para RepositoryCustomPropertyValueConnection

NomeDescrição

edges ([RepositoryCustomPropertyValueEdge])

A list of edges.

nodes ([RepositoryCustomPropertyValue])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryCustomPropertyValueEdge

Object

An edge in a connection.

Campos para RepositoryCustomPropertyValueEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (RepositoryCustomPropertyValue)

The item at the end of the edge.

RepositoryEdge

Object

An edge in a connection.

Campos para RepositoryEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (Repository)

The item at the end of the edge.

RepositoryIdConditionTarget

Object

Parameters to be used for the repository_id condition.

Campos para RepositoryIdConditionTarget

NomeDescrição

repositoryIds ([ID!]!)

One of these repo IDs must match the repo.

RepositoryInteractionAbility

Object

Repository interaction limit that applies to this object.

Campos para RepositoryInteractionAbility

NomeDescrição

expiresAt (DateTime)

The time the currently active limit expires.

limit (RepositoryInteractionLimit!)

The current limit that is enabled on this object.

origin (RepositoryInteractionLimitOrigin!)

The origin of the currently active interaction limit.

RepositoryInvitation

Object

An invitation for a user to be added to a repository.

RepositoryInvitation Implementa

Campos para RepositoryInvitation

NomeDescrição

email (String)

The email address that received the invitation.

id (ID!)

The Node ID of the RepositoryInvitation object.

invitee (User)

The user who received the invitation.

inviter (User!)

The user who created the invitation.

permalink (URI!)

The permalink for this repository invitation.

permission (RepositoryPermission!)

The permission granted on this repository by this invitation.

repository (RepositoryInfo)

The Repository the user is invited to.

RepositoryInvitationConnection

Object

A list of repository invitations.

Campos para RepositoryInvitationConnection

NomeDescrição

edges ([RepositoryInvitationEdge])

A list of edges.

nodes ([RepositoryInvitation])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryInvitationEdge

Object

An edge in a connection.

Campos para RepositoryInvitationEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (RepositoryInvitation)

The item at the end of the edge.

RepositoryNameConditionTarget

Object

Parameters to be used for the repository_name condition.

Campos para RepositoryNameConditionTarget

NomeDescrição

exclude ([String!]!)

Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.

include ([String!]!)

Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~ALL to include all repositories.

protected (Boolean!)

Target changes that match these patterns will be prevented except by those with bypass permissions.

RepositoryPlanFeatures

Object

Information about the availability of features and limits for a repository based on its billing plan.

Campos para RepositoryPlanFeatures

NomeDescrição

codeowners (Boolean!)

Whether reviews can be automatically requested and enforced with a CODEOWNERS file.

draftPullRequests (Boolean!)

Whether pull requests can be created as or converted to draft.

maximumAssignees (Int!)

Maximum number of users that can be assigned to an issue or pull request.

maximumManualReviewRequests (Int!)

Maximum number of manually-requested reviews on a pull request.

teamReviewRequests (Boolean!)

Whether teams can be requested to review pull requests.

RepositoryPropertyConditionTarget

Object

Parameters to be used for the repository_property condition.

Campos para RepositoryPropertyConditionTarget

NomeDescrição

exclude ([PropertyTargetDefinition!]!)

Array of repository properties that must not match.

include ([PropertyTargetDefinition!]!)

Array of repository properties that must match.

RepositoryRule

Object

A repository rule.

RepositoryRule Implementa

Campos para RepositoryRule

NomeDescrição

id (ID!)

The Node ID of the RepositoryRule object.

parameters (RuleParameters)

The parameters for this rule.

repositoryRuleset (RepositoryRuleset)

The repository ruleset associated with this rule configuration.

type (RepositoryRuleType!)

The type of rule.

RepositoryRuleConditions

Object

Set of conditions that determine if a ruleset will evaluate.

Campos para RepositoryRuleConditions

NomeDescrição

organizationProperty (OrganizationPropertyConditionTarget)

Configuration for the organization_property condition.

refName (RefNameConditionTarget)

Configuration for the ref_name condition.

repositoryId (RepositoryIdConditionTarget)

Configuration for the repository_id condition.

repositoryName (RepositoryNameConditionTarget)

Configuration for the repository_name condition.

repositoryProperty (RepositoryPropertyConditionTarget)

Configuration for the repository_property condition.

RepositoryRuleConnection

Object

The connection type for RepositoryRule.

Campos para RepositoryRuleConnection

NomeDescrição

edges ([RepositoryRuleEdge])

A list of edges.

nodes ([RepositoryRule])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryRuleEdge

Object

An edge in a connection.

Campos para RepositoryRuleEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (RepositoryRule)

The item at the end of the edge.

RepositoryRuleset

Object

A repository ruleset.

RepositoryRuleset Implementa

Campos para RepositoryRuleset

NomeDescrição

bypassActors (RepositoryRulesetBypassActorConnection)

The actors that can bypass this ruleset.

Argumentos para bypassActors

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

conditions (RepositoryRuleConditions!)

The set of conditions that must evaluate to true for this ruleset to apply.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

enforcement (RuleEnforcement!)

The enforcement level of this ruleset.

id (ID!)

The Node ID of the RepositoryRuleset object.

name (String!)

Name of the ruleset.

rules (RepositoryRuleConnection)

List of rules.

Argumentos para rules

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

source (RuleSource!)

Source of ruleset.

target (RepositoryRulesetTarget)

Target of the ruleset.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

RepositoryRulesetBypassActor

Object

A team, app or user that has the ability to bypass rules defined on a ruleset.

RepositoryRulesetBypassActor Implementa

Campos para RepositoryRulesetBypassActor

NomeDescrição

actor (BypassActor)

The actor that can bypass rules.

bypassMode (RepositoryRulesetBypassActorBypassMode)

The mode for the bypass actor.

deployKey (Boolean!)

This actor represents the ability for a deploy key to bypass.

enterpriseOwner (Boolean!)

This actor represents the ability for an enterprise owner to bypass.

enterpriseRole (Boolean!)

This actor represents the ability for an enterprise role to bypass.

id (ID!)

The Node ID of the RepositoryRulesetBypassActor object.

organizationAdmin (Boolean!)

This actor represents the ability for an organization owner to bypass.

repositoryRoleDatabaseId (Int)

If the actor is a repository role, the repository role's ID that can bypass.

repositoryRoleName (String)

If the actor is a repository role, the repository role's name that can bypass.

repositoryRuleset (RepositoryRuleset)

Identifies the ruleset associated with the allowed actor.

RepositoryRulesetBypassActorConnection

Object

The connection type for RepositoryRulesetBypassActor.

Campos para RepositoryRulesetBypassActorConnection

NomeDescrição

edges ([RepositoryRulesetBypassActorEdge])

A list of edges.

nodes ([RepositoryRulesetBypassActor])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryRulesetBypassActorEdge

Object

An edge in a connection.

Campos para RepositoryRulesetBypassActorEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (RepositoryRulesetBypassActor)

The item at the end of the edge.

RepositoryRulesetConnection

Object

The connection type for RepositoryRuleset.

Campos para RepositoryRulesetConnection

NomeDescrição

edges ([RepositoryRulesetEdge])

A list of edges.

nodes ([RepositoryRuleset])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryRulesetEdge

Object

An edge in a connection.

Campos para RepositoryRulesetEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (RepositoryRuleset)

The item at the end of the edge.

RepositoryTopic

Object

A repository-topic connects a repository to a topic.

RepositoryTopic Implementa

Campos para RepositoryTopic

NomeDescrição

id (ID!)

The Node ID of the RepositoryTopic object.

resourcePath (URI!)

The HTTP path for this repository-topic.

topic (Topic!)

The topic.

url (URI!)

The HTTP URL for this repository-topic.

RepositoryTopicConnection

Object

The connection type for RepositoryTopic.

Campos para RepositoryTopicConnection

NomeDescrição

edges ([RepositoryTopicEdge])

A list of edges.

nodes ([RepositoryTopic])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryTopicEdge

Object

An edge in a connection.

Campos para RepositoryTopicEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (RepositoryTopic)

The item at the end of the edge.

StarredRepositoryConnection

Object

The connection type for Repository.

Campos para StarredRepositoryConnection

NomeDescrição

edges ([StarredRepositoryEdge])

A list of edges.

isOverLimit (Boolean!)

Is the list of stars for this user truncated? This is true for users that have many stars.

nodes ([Repository])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

StarredRepositoryEdge

Object

Represents a starred repository.

Campos para StarredRepositoryEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (Repository!)

N/A

starredAt (DateTime!)

Identifies when the item was starred.

TagNamePatternParameters

Object

Parameters to be used for the tag_name_pattern rule.

Campos para TagNamePatternParameters

NomeDescrição

name (String)

How this rule appears when configuring it.

negate (Boolean!)

If true, the rule will fail if the pattern matches.

operator (String!)

The operator to use for matching.

pattern (String!)

The pattern to match with.

TeamRepositoryConnection

Object

The connection type for Repository.

Campos para TeamRepositoryConnection

NomeDescrição

edges ([TeamRepositoryEdge])

A list of edges.

nodes ([Repository])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

TeamRepositoryEdge

Object

Represents a team repository.

Campos para TeamRepositoryEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (Repository!)

N/A

permission (RepositoryPermission!)

The permission level the team has on the repository.

Topic

Object

A topic aggregates entities that are related to a subject.

Topic Implementa

Campos para Topic

NomeDescrição

id (ID!)

The Node ID of the Topic object.

name (String!)

The topic's name.

relatedTopics ([Topic!]!)

A list of related topics, including aliases of this topic, sorted with the most relevant first. Returns up to 10 Topics.

Argumentos para relatedTopics

  • first (Int)

    How many topics to return.

    The default value is 3.

repositories (RepositoryConnection!)

A list of repositories.

Argumentos para repositories

  • affiliations ([RepositoryAffiliation])

    Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasIssuesEnabled (Boolean)

    If non-null, filters repositories according to whether they have issues enabled.

  • isLocked (Boolean)

    If non-null, filters repositories according to whether they have been locked.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.

  • privacy (RepositoryPrivacy)

    If non-null, filters repositories according to privacy. Internal repositories are considered private; consider using the visibility argument if only internal repositories are needed. Cannot be combined with the visibility argument.

  • sponsorableOnly (Boolean)

    If true, only repositories whose owner can be sponsored via GitHub Sponsors will be returned.

    The default value is false.

  • visibility (RepositoryVisibility)

    If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument.

stargazerCount (Int!)

Returns a count of how many stargazers there are on this object.

stargazers (StargazerConnection!)

A list of users who have starred this starrable.

Argumentos para stargazers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

viewerHasStarred (Boolean!)

Returns a boolean indicating whether the viewing user has starred this starrable.

UpdateParameters

Object

Only allow users with bypass permission to update matching refs.

Campos para UpdateParameters

NomeDescrição

updateAllowsFetchAndMerge (Boolean!)

Branch can pull changes from its upstream repository.

Interfaces

RepositoryAuditEntryData

Interface

Metadata for an audit entry with action repo.*.

RepositoryAuditEntryData é implementado por

Campos para RepositoryAuditEntryData

NomeDescrição

repository (Repository)

The repository associated with the action.

repositoryName (String)

The name of the repository.

repositoryResourcePath (URI)

The HTTP path for the repository.

repositoryUrl (URI)

The HTTP URL for the repository.

RepositoryInfo

Interface

A subset of repository info.

RepositoryInfo é implementado por

Campos para RepositoryInfo

NomeDescrição

archivedAt (DateTime)

Identifies the date and time when the repository was archived.

createdAt (DateTime!)

Identifies the date and time when the object was created.

description (String)

The description of the repository.

descriptionHTML (HTML!)

The description of the repository rendered to HTML.

forkCount (Int!)

Returns how many forks there are of this repository in the whole network.

hasDiscussionsEnabled (Boolean!)

Indicates if the repository has the Discussions feature enabled.

hasIssuesEnabled (Boolean!)

Indicates if the repository has issues feature enabled.

hasProjectsEnabled (Boolean!)

Indicates if the repository has the Projects feature enabled.

hasPullRequestsEnabled (Boolean!)

Indicates if the repository has the pull requests feature enabled.

hasSponsorshipsEnabled (Boolean!)

Indicates if the repository displays a Sponsor button for financial contributions.

hasWikiEnabled (Boolean!)

Indicates if the repository has wiki feature enabled.

homepageUrl (URI)

The repository's URL.

isArchived (Boolean!)

Indicates if the repository is unmaintained.

isFork (Boolean!)

Identifies if the repository is a fork.

isInOrganization (Boolean!)

Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.

isLocked (Boolean!)

Indicates if the repository has been locked or not.

isMirror (Boolean!)

Identifies if the repository is a mirror.

isPrivate (Boolean!)

Identifies if the repository is private or internal.

isTemplate (Boolean!)

Identifies if the repository is a template that can be used to generate new repositories.

licenseInfo (License)

The license associated with the repository.

lockReason (RepositoryLockReason)

The reason the repository has been locked.

mirrorUrl (URI)

The repository's original mirror URL.

name (String!)

The name of the repository.

nameWithOwner (String!)

The repository's name with owner.

openGraphImageUrl (URI!)

The image used to represent this repository in Open Graph data.

owner (RepositoryOwner!)

The User owner of the repository.

pullRequestCreationPolicy (PullRequestCreationPolicy)

The policy controlling who can create pull requests in this repository.

pushedAt (DateTime)

Identifies the date and time when the repository was last pushed to.

resourcePath (URI!)

The HTTP path for this repository.

shortDescriptionHTML (HTML!)

A description of the repository, rendered to HTML without any links in it.

Argumentos para shortDescriptionHTML

  • limit (Int)

    How many characters to return.

    The default value is 200.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

url (URI!)

The HTTP URL for this repository.

usesCustomOpenGraphImage (Boolean!)

Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.

visibility (RepositoryVisibility!)

Indicates the repository's visibility level.

RepositoryNode

Interface

Represents a object that belongs to a repository.

RepositoryNode é implementado por

Campos para RepositoryNode

NomeDescrição

repository (Repository!)

The repository associated with this node.

RepositoryOwner

Interface

Represents an owner of a Repository.

RepositoryOwner é implementado por

Campos para RepositoryOwner

NomeDescrição

avatarUrl (URI!)

A URL pointing to the owner's public avatar.

Argumentos para avatarUrl

  • size (Int)

    The size of the resulting square image.

id (ID!)

The Node ID of the RepositoryOwner object.

login (String!)

The username used to login.

repositories (RepositoryConnection!)

A list of repositories that the user owns.

Argumentos para repositories

  • affiliations ([RepositoryAffiliation])

    Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasIssuesEnabled (Boolean)

    If non-null, filters repositories according to whether they have issues enabled.

  • isArchived (Boolean)

    If non-null, filters repositories according to whether they are archived and not maintained.

  • isFork (Boolean)

    If non-null, filters repositories according to whether they are forks of another repository.

  • isLocked (Boolean)

    If non-null, filters repositories according to whether they have been locked.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.

  • privacy (RepositoryPrivacy)

    If non-null, filters repositories according to privacy. Internal repositories are considered private; consider using the visibility argument if only internal repositories are needed. Cannot be combined with the visibility argument.

  • visibility (RepositoryVisibility)

    If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument.

repository (Repository)

Find Repository.

Argumentos para repository

  • followRenames (Boolean)

    Follow repository renames. If disabled, a repository referenced by its old name will return an error.

    The default value is true.

  • name (String!)

    Name of Repository to find.

resourcePath (URI!)

The HTTP URL for the owner.

url (URI!)

The HTTP URL for the owner.

Enums

CollaboratorAffiliation

Enum

Collaborators affiliation level with a subject.

Valores para CollaboratorAffiliation

NomeDescrição
ALL

All collaborators the authenticated user can see.

DIRECT

All collaborators with permissions to an organization-owned subject, regardless of organization membership status.

OUTSIDE

All outside collaborators of an organization-owned subject.

CustomPropertyValueType

Enum

The allowed value types for a custom property definition.

Valores para CustomPropertyValueType

NomeDescrição
MULTI_SELECT

A multi-select value.

SINGLE_SELECT

A single-select value.

STRING

A string value.

TRUE_FALSE

A true/false value.

URL

A URL value.

DefaultRepositoryPermissionField

Enum

The possible base permissions for repositories.

Valores para DefaultRepositoryPermissionField

NomeDescrição
ADMIN

Can read, write, and administrate repos by default.

NONE

No access.

READ

Can read repos by default.

WRITE

Can read and write repos by default.

FundingPlatform

Enum

The possible funding platforms for repository funding links.

Valores para FundingPlatform

NomeDescrição
BUY_ME_A_COFFEE

Buy Me a Coffee funding platform.

COMMUNITY_BRIDGE

Community Bridge funding platform.

CUSTOM

Custom funding platform.

GITHUB

GitHub funding platform.

ISSUEHUNT

IssueHunt funding platform.

KO_FI

Ko-fi funding platform.

LFX_CROWDFUNDING

LFX Crowdfunding funding platform.

LIBERAPAY

Liberapay funding platform.

OPEN_COLLECTIVE

Open Collective funding platform.

PATREON

Patreon funding platform.

POLAR

Polar funding platform.

THANKS_DEV

thanks.dev funding platform.

TIDELIFT

Tidelift funding platform.

LanguageOrderField

Enum

Properties by which language connections can be ordered.

Valores para LanguageOrderField

NomeDescrição
SIZE

Order languages by the size of all files containing the language.

MergeCommitMessage

Enum

The possible default commit messages for merges.

Valores para MergeCommitMessage

NomeDescrição
BLANK

Default to a blank commit message.

PR_BODY

Default to the pull request's body.

PR_TITLE

Default to the pull request's title.

MergeCommitTitle

Enum

The possible default commit titles for merges.

Valores para MergeCommitTitle

NomeDescrição
MERGE_MESSAGE

Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).

PR_TITLE

Default to the pull request's title.

RepoAccessAuditEntryVisibility

Enum

The privacy of a repository.

Valores para RepoAccessAuditEntryVisibility

NomeDescrição
INTERNAL

The repository is visible only to users in the same enterprise.

PRIVATE

The repository is visible only to those with explicit access.

PUBLIC

The repository is visible to everyone.

RepoAddMemberAuditEntryVisibility

Enum

The privacy of a repository.

Valores para RepoAddMemberAuditEntryVisibility

NomeDescrição
INTERNAL

The repository is visible only to users in the same enterprise.

PRIVATE

The repository is visible only to those with explicit access.

PUBLIC

The repository is visible to everyone.

RepoArchivedAuditEntryVisibility

Enum

The privacy of a repository.

Valores para RepoArchivedAuditEntryVisibility

NomeDescrição
INTERNAL

The repository is visible only to users in the same enterprise.

PRIVATE

The repository is visible only to those with explicit access.

PUBLIC

The repository is visible to everyone.

RepoChangeMergeSettingAuditEntryMergeType

Enum

The merge options available for pull requests to this repository.

Valores para RepoChangeMergeSettingAuditEntryMergeType

NomeDescrição
MERGE

The pull request is added to the base branch in a merge commit.

REBASE

Commits from the pull request are added onto the base branch individually without a merge commit.

SQUASH

The pull request's commits are squashed into a single commit before they are merged to the base branch.

RepoCreateAuditEntryVisibility

Enum

The privacy of a repository.

Valores para RepoCreateAuditEntryVisibility

NomeDescrição
INTERNAL

The repository is visible only to users in the same enterprise.

PRIVATE

The repository is visible only to those with explicit access.

PUBLIC

The repository is visible to everyone.

RepoDestroyAuditEntryVisibility

Enum

The privacy of a repository.

Valores para RepoDestroyAuditEntryVisibility

NomeDescrição
INTERNAL

The repository is visible only to users in the same enterprise.

PRIVATE

The repository is visible only to those with explicit access.

PUBLIC

The repository is visible to everyone.

RepoRemoveMemberAuditEntryVisibility

Enum

The privacy of a repository.

Valores para RepoRemoveMemberAuditEntryVisibility

NomeDescrição
INTERNAL

The repository is visible only to users in the same enterprise.

PRIVATE

The repository is visible only to those with explicit access.

PUBLIC

The repository is visible to everyone.

RepositoryAffiliation

Enum

The affiliation of a user to a repository.

Valores para RepositoryAffiliation

NomeDescrição
COLLABORATOR

Repositories that the user has been added to as a collaborator.

ORGANIZATION_MEMBER

Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.

OWNER

Repositories that are owned by the authenticated user.

RepositoryContributionType

Enum

The reason a repository is listed as 'contributed'.

Valores para RepositoryContributionType

NomeDescrição
COMMIT

Created a commit.

ISSUE

Created an issue.

PULL_REQUEST

Created a pull request.

PULL_REQUEST_REVIEW

Reviewed a pull request.

REPOSITORY

Created the repository.

RepositoryCustomPropertyValuesEditableBy

Enum

The allowed actors who can edit the values of a custom property.

Valores para RepositoryCustomPropertyValuesEditableBy

NomeDescrição
ORG_ACTORS

The organization actors.

ORG_AND_REPO_ACTORS

The organization and repository actors.

RepositoryInteractionLimit

Enum

A repository interaction limit.

Valores para RepositoryInteractionLimit

NomeDescrição
COLLABORATORS_ONLY

Users that are not collaborators will not be able to interact with the repository.

CONTRIBUTORS_ONLY

Users that have not previously committed to a repository’s default branch will be unable to interact with the repository.

EXISTING_USERS

Users that have recently created their account will be unable to interact with the repository.

NO_LIMIT

No interaction limits are enabled.

RepositoryInteractionLimitExpiry

Enum

The length for a repository interaction limit to be enabled for.

Valores para RepositoryInteractionLimitExpiry

NomeDescrição
ONE_DAY

The interaction limit will expire after 1 day.

ONE_MONTH

The interaction limit will expire after 1 month.

ONE_WEEK

The interaction limit will expire after 1 week.

SIX_MONTHS

The interaction limit will expire after 6 months.

THREE_DAYS

The interaction limit will expire after 3 days.

RepositoryInteractionLimitOrigin

Enum

Indicates where an interaction limit is configured.

Valores para RepositoryInteractionLimitOrigin

NomeDescrição
ORGANIZATION

A limit that is configured at the organization level.

REPOSITORY

A limit that is configured at the repository level.

USER

A limit that is configured at the user-wide level.

RepositoryInvitationOrderField

Enum

Properties by which repository invitation connections can be ordered.

Valores para RepositoryInvitationOrderField

NomeDescrição
CREATED_AT

Order repository invitations by creation time.

RepositoryLockReason

Enum

The possible reasons a given repository could be in a locked state.

Valores para RepositoryLockReason

NomeDescrição
BILLING

The repository is locked due to a billing related reason.

MIGRATING

The repository is locked due to a migration.

MOVING

The repository is locked due to a move.

RENAME

The repository is locked due to a rename.

TRADE_RESTRICTION

The repository is locked due to a trade controls related reason.

TRANSFERRING_OWNERSHIP

The repository is locked due to an ownership transfer.

RepositoryOrderField

Enum

Properties by which repository connections can be ordered.

Valores para RepositoryOrderField

NomeDescrição
CREATED_AT

Order repositories by creation time.

NAME

Order repositories by name.

PUSHED_AT

Order repositories by push time.

STARGAZERS

Order repositories by number of stargazers.

UPDATED_AT

Order repositories by update time.

RepositoryPermission

Enum

The access level to a repository.

Valores para RepositoryPermission

NomeDescrição
ADMIN

Can read, clone, and push to this repository. Can also manage issues, pull requests, and repository settings, including adding collaborators.

MAINTAIN

Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings.

READ

Can read and clone this repository. Can also open and comment on issues and pull requests.

TRIAGE

Can read and clone this repository. Can also manage issues and pull requests.

WRITE

Can read, clone, and push to this repository. Can also manage issues and pull requests.

RepositoryPrivacy

Enum

The privacy of a repository.

Valores para RepositoryPrivacy

NomeDescrição
PRIVATE

Private.

PUBLIC

Public.

RepositoryRuleOrderField

Enum

Properties by which repository rule connections can be ordered.

Valores para RepositoryRuleOrderField

NomeDescrição
CREATED_AT

Order repository rules by created time.

TYPE

Order repository rules by type.

UPDATED_AT

Order repository rules by updated time.

RepositoryRulesetBypassActorBypassMode

Enum

The bypass mode for a specific actor on a ruleset.

Valores para RepositoryRulesetBypassActorBypassMode

NomeDescrição
ALWAYS

The actor can always bypass rules.

EXEMPT

The actor is exempt from rules without generating a pass / fail result.

PULL_REQUEST

The actor can only bypass rules via a pull request.

RepositoryRulesetTarget

Enum

The targets supported for rulesets.

Valores para RepositoryRulesetTarget

NomeDescrição
BRANCH

Branch.

PUSH

Push.

REPOSITORY

repository.

TAG

Tag.

RepositorySuggestedActorFilter

Enum

The possible filters for suggested actors in a repository.

Valores para RepositorySuggestedActorFilter

NomeDescrição
CAN_BE_ASSIGNED

Actors that can be assigned to issues and pull requests.

CAN_BE_AUTHOR

Actors that can be the author of issues and pull requests.

RepositoryVisibility

Enum

The repository's visibility level.

Valores para RepositoryVisibility

NomeDescrição
INTERNAL

The repository is visible only to users in the same enterprise.

PRIVATE

The repository is visible only to those with explicit access.

PUBLIC

The repository is visible to everyone.

RuleEnforcement

Enum

The level of enforcement for a rule or ruleset.

Valores para RuleEnforcement

NomeDescrição
ACTIVE

Rules will be enforced.

DISABLED

Do not evaluate or enforce rules.

EVALUATE

Allow admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (evaluate is only available with GitHub Enterprise).

SquashMergeCommitMessage

Enum

The possible default commit messages for squash merges.

Valores para SquashMergeCommitMessage

NomeDescrição
BLANK

Default to a blank commit message.

COMMIT_MESSAGES

Default to the branch's commit messages.

PR_BODY

Default to the pull request's body.

SquashMergeCommitTitle

Enum

The possible default commit titles for squash merges.

Valores para SquashMergeCommitTitle

NomeDescrição
COMMIT_OR_PR_TITLE

Default to the commit's title (if only one commit) or the pull request's title (when more than one commit).

PR_TITLE

Default to the pull request's title.

TopicSuggestionDeclineReason

Enum

Reason that the suggested topic is declined.

Valores para TopicSuggestionDeclineReason

NomeDescrição
NOT_RELEVANT

The suggested topic is not relevant to the repository.

PERSONAL_PREFERENCE

The viewer does not like the suggested topic.

TOO_GENERAL

The suggested topic is too general for the repository.

TOO_SPECIFIC

The suggested topic is too specific for the repository (e.g. #ruby-on-rails-version-4-2-1).

Unions

BypassActor

Union

Types that can represent a repository ruleset bypass actor.

Os possíveis tipos para BypassActor

CustomPropertySource

Union

Sources which can have custom properties defined.

Os possíveis tipos para CustomPropertySource

RuleSource

Union

Types which can have RepositoryRule objects.

Os possíveis tipos para RuleSource

Input objects

AcceptTopicSuggestionInput

Input object

Autogenerated input type of AcceptTopicSuggestion.

Campos de entrada para AcceptTopicSuggestionInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

name (String)

The name of the suggested topic.

Upcoming Change on 2024-04-01 UTC Description: name will be removed. Reason: Suggested topics are no longer supported.

repositoryId (ID)

The Node ID of the repository.

Upcoming Change on 2024-04-01 UTC Description: repositoryId will be removed. Reason: Suggested topics are no longer supported.

ArchiveRepositoryInput

Input object

Autogenerated input type of ArchiveRepository.

Campos de entrada para ArchiveRepositoryInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryId (ID!)

The ID of the repository to mark as archived.

CloneTemplateRepositoryInput

Input object

Autogenerated input type of CloneTemplateRepository.

Campos de entrada para CloneTemplateRepositoryInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

description (String)

A short description of the new repository.

includeAllBranches (Boolean)

Whether to copy all branches from the template to the new repository. Defaults to copying only the default branch of the template.

name (String!)

The name of the new repository.

ownerId (ID!)

The ID of the owner for the new repository.

repositoryId (ID!)

The Node ID of the template repository.

visibility (RepositoryVisibility!)

Indicates the repository's visibility level.

CodeScanningParametersInput

Input object

Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated.

Campos de entrada para CodeScanningParametersInput

NomeDescrição

codeScanningTools ([CodeScanningToolInput!]!)

Tools that must provide code scanning results for this rule to pass.

CodeScanningToolInput

Input object

A tool that must provide code scanning results for this rule to pass.

Campos de entrada para CodeScanningToolInput

NomeDescrição

alertsThreshold (String!)

The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see "About code scanning alerts.".

securityAlertsThreshold (String!)

The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see "About code scanning alerts.".

tool (String!)

The name of a code scanning tool.

CreateRepositoryCustomPropertyInput

Input object

Autogenerated input type of CreateRepositoryCustomProperty.

Campos de entrada para CreateRepositoryCustomPropertyInput

NomeDescrição

allowedValues ([String!])

The allowed values for the custom property.

clientMutationId (String)

A unique identifier for the client performing the mutation.

defaultValue (String)

The default value for the custom property if the property is required.

description (String)

The description of the custom property.

propertyName (String!)

The name of the custom property.

regex (String)

The regex pattern that the value of the custom property must match, if the value_type is string.

requireExplicitValues (Boolean)

Whether this repository custom property requires explicit values.

required (Boolean)

Whether the custom property is required.

sourceId (ID!)

The global relay id of the source in which a new custom property should be created in.

valueType (CustomPropertyValueType!)

The value type for the custom property.

valuesEditableBy (RepositoryCustomPropertyValuesEditableBy)

The allowed actors who can edit the values of a custom property.

CreateRepositoryInput

Input object

Autogenerated input type of CreateRepository.

Campos de entrada para CreateRepositoryInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

description (String)

A short description of the new repository.

hasIssuesEnabled (Boolean)

Indicates if the repository should have the issues feature enabled.

hasWikiEnabled (Boolean)

Indicates if the repository should have the wiki feature enabled.

homepageUrl (URI)

The URL for a web page about this repository.

name (String!)

The name of the new repository.

ownerId (ID)

The ID of the owner for the new repository.

teamId (ID)

When an organization is specified as the owner, this ID identifies the team that should be granted access to the new repository.

template (Boolean)

Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure.

visibility (RepositoryVisibility!)

Indicates the repository's visibility level.

CreateRepositoryRulesetInput

Input object

Autogenerated input type of CreateRepositoryRuleset.

Campos de entrada para CreateRepositoryRulesetInput

NomeDescrição

bypassActors ([RepositoryRulesetBypassActorInput!])

A list of actors that are allowed to bypass rules in this ruleset.

clientMutationId (String)

A unique identifier for the client performing the mutation.

conditions (RepositoryRuleConditionsInput!)

The set of conditions for this ruleset.

enforcement (RuleEnforcement!)

The enforcement level for this ruleset.

name (String!)

The name of the ruleset.

rules ([RepositoryRuleInput!])

The list of rules for this ruleset.

sourceId (ID!)

The global relay id of the source in which a new ruleset should be created in.

target (RepositoryRulesetTarget)

The target of the ruleset.

CustomPropertyValueInput

Input object

The custom property name and value to be set.

Campos de entrada para CustomPropertyValueInput

NomeDescrição

propertyName (String!)

The name of the custom property.

value (CustomPropertyValue)

The value to set for the custom property. Using a value of null will unset the property value, reverting to the default value if the property is required.

DeclineTopicSuggestionInput

Input object

Autogenerated input type of DeclineTopicSuggestion.

Campos de entrada para DeclineTopicSuggestionInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

name (String)

The name of the suggested topic.

Upcoming Change on 2024-04-01 UTC Description: name will be removed. Reason: Suggested topics are no longer supported.

reason (TopicSuggestionDeclineReason)

The reason why the suggested topic is declined.

Upcoming Change on 2024-04-01 UTC Description: reason will be removed. Reason: Suggested topics are no longer supported.

repositoryId (ID)

The Node ID of the repository.

Upcoming Change on 2024-04-01 UTC Description: repositoryId will be removed. Reason: Suggested topics are no longer supported.

DeleteRepositoryCustomPropertyInput

Input object

Autogenerated input type of DeleteRepositoryCustomProperty.

Campos de entrada para DeleteRepositoryCustomPropertyInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

id (ID!)

The global relay id of the custom property to be deleted.

DeleteRepositoryRulesetInput

Input object

Autogenerated input type of DeleteRepositoryRuleset.

Campos de entrada para DeleteRepositoryRulesetInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryRulesetId (ID!)

The global relay id of the repository ruleset to be deleted.

FileExtensionRestrictionParametersInput

Input object

Prevent commits that include files with specified file extensions from being pushed to the commit graph.

Campos de entrada para FileExtensionRestrictionParametersInput

NomeDescrição

restrictedFileExtensions ([String!]!)

The file extensions that are restricted from being pushed to the commit graph.

FilePathRestrictionParametersInput

Input object

Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. This includes absolute paths that contain file names.

Campos de entrada para FilePathRestrictionParametersInput

NomeDescrição

restrictedFilePaths ([String!]!)

The file paths that are restricted from being pushed to the commit graph.

LanguageOrder

Input object

Ordering options for language connections.

Campos de entrada para LanguageOrder

NomeDescrição

direction (OrderDirection!)

The ordering direction.

field (LanguageOrderField!)

The field to order languages by.

MaxFilePathLengthParametersInput

Input object

Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph.

Campos de entrada para MaxFilePathLengthParametersInput

NomeDescrição

maxFilePathLength (Int!)

The maximum amount of characters allowed in file paths.

MaxFileSizeParametersInput

Input object

Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph.

Campos de entrada para MaxFileSizeParametersInput

NomeDescrição

maxFileSize (Int!)

The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS).

PromoteRepositoryCustomPropertyInput

Input object

Autogenerated input type of PromoteRepositoryCustomProperty.

Campos de entrada para PromoteRepositoryCustomPropertyInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryCustomPropertyId (ID!)

The ID of the repository custom property to be promoted.

PropertyTargetDefinitionInput

Input object

A property that must match.

Campos de entrada para PropertyTargetDefinitionInput

NomeDescrição

name (String!)

The name of the property.

propertyValues ([String!]!)

The values to match for.

source (String)

The source of the property. Choosecustomor 'system'. Defaults to 'custom' if not specified.

RepositoryIdConditionTargetInput

Input object

Parameters to be used for the repository_id condition.

Campos de entrada para RepositoryIdConditionTargetInput

NomeDescrição

repositoryIds ([ID!]!)

One of these repo IDs must match the repo.

RepositoryInvitationOrder

Input object

Ordering options for repository invitation connections.

Campos de entrada para RepositoryInvitationOrder

NomeDescrição

direction (OrderDirection!)

The ordering direction.

field (RepositoryInvitationOrderField!)

The field to order repository invitations by.

RepositoryNameConditionTargetInput

Input object

Parameters to be used for the repository_name condition.

Campos de entrada para RepositoryNameConditionTargetInput

NomeDescrição

exclude ([String!]!)

Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.

include ([String!]!)

Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~ALL to include all repositories.

protected (Boolean)

Target changes that match these patterns will be prevented except by those with bypass permissions.

RepositoryOrder

Input object

Ordering options for repository connections.

Campos de entrada para RepositoryOrder

NomeDescrição

direction (OrderDirection!)

The ordering direction.

field (RepositoryOrderField!)

The field to order repositories by.

RepositoryPropertyConditionTargetInput

Input object

Parameters to be used for the repository_property condition.

Campos de entrada para RepositoryPropertyConditionTargetInput

NomeDescrição

exclude ([PropertyTargetDefinitionInput!]!)

Array of repository properties that must not match.

include ([PropertyTargetDefinitionInput!]!)

Array of repository properties that must match.

RepositoryRuleConditionsInput

Input object

Specifies the conditions required for a ruleset to evaluate.

Campos de entrada para RepositoryRuleConditionsInput

NomeDescrição

organizationProperty (OrganizationPropertyConditionTargetInput)

Configuration for the organization_property condition.

refName (RefNameConditionTargetInput)

Configuration for the ref_name condition.

repositoryId (RepositoryIdConditionTargetInput)

Configuration for the repository_id condition.

repositoryName (RepositoryNameConditionTargetInput)

Configuration for the repository_name condition.

repositoryProperty (RepositoryPropertyConditionTargetInput)

Configuration for the repository_property condition.

RepositoryRuleInput

Input object

Specifies the attributes for a new or updated rule.

Campos de entrada para RepositoryRuleInput

NomeDescrição

id (ID)

Optional ID of this rule when updating.

parameters (RuleParametersInput)

The parameters for the rule.

type (RepositoryRuleType!)

The type of rule to create.

RepositoryRuleOrder

Input object

Ordering options for repository rules.

Campos de entrada para RepositoryRuleOrder

NomeDescrição

direction (OrderDirection!)

The ordering direction.

field (RepositoryRuleOrderField!)

The field to order repository rules by.

RepositoryRulesetBypassActorInput

Input object

Specifies the attributes for a new or updated ruleset bypass actor. Only one of actor_id, repository_role_database_id, organization_admin, enterprise_owner, or deploy_key should be specified.

Campos de entrada para RepositoryRulesetBypassActorInput

NomeDescrição

actorId (ID)

For Team, Integration and User bypasses, the Team, Integration, or User ID.

bypassMode (RepositoryRulesetBypassActorBypassMode!)

The bypass mode for this actor.

deployKey (Boolean)

For deploy key bypasses, true. Can only use ALWAYS as the bypass mode.

enterpriseOwner (Boolean)

For enterprise owner bypasses, true.

enterpriseRole (Boolean)

For enterprise role bypasses, true. NOTE: This bypass actor is in beta.

organizationAdmin (Boolean)

For organization owner bypasses, true.

repositoryRoleDatabaseId (Int)

For role bypasses, the role database ID.

SetRepositoryCustomPropertyValuesInput

Input object

Autogenerated input type of SetRepositoryCustomPropertyValues.

Campos de entrada para SetRepositoryCustomPropertyValuesInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

properties ([CustomPropertyValueInput!]!)

A list of custom property names and associated values to apply.

repositoryId (ID!)

The ID of the repository to set properties for.

SetRepositoryInteractionLimitInput

Input object

Autogenerated input type of SetRepositoryInteractionLimit.

Campos de entrada para SetRepositoryInteractionLimitInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

expiry (RepositoryInteractionLimitExpiry)

When this limit should expire.

limit (RepositoryInteractionLimit!)

The limit to set.

repositoryId (ID!)

The ID of the repository to set a limit for.

TagNamePatternParametersInput

Input object

Parameters to be used for the tag_name_pattern rule.

Campos de entrada para TagNamePatternParametersInput

NomeDescrição

name (String)

How this rule appears when configuring it.

negate (Boolean)

If true, the rule will fail if the pattern matches.

operator (String!)

The operator to use for matching.

pattern (String!)

The pattern to match with.

UnarchiveRepositoryInput

Input object

Autogenerated input type of UnarchiveRepository.

Campos de entrada para UnarchiveRepositoryInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryId (ID!)

The ID of the repository to unarchive.

UpdateParametersInput

Input object

Only allow users with bypass permission to update matching refs.

Campos de entrada para UpdateParametersInput

NomeDescrição

updateAllowsFetchAndMerge (Boolean!)

Branch can pull changes from its upstream repository.

UpdateRepositoryCustomPropertyInput

Input object

Autogenerated input type of UpdateRepositoryCustomProperty.

Campos de entrada para UpdateRepositoryCustomPropertyInput

NomeDescrição

allowedValues ([String!])

The updated allowed values for the custom property.

clientMutationId (String)

A unique identifier for the client performing the mutation.

defaultValue (String)

The updated default value for the custom property if the property is required.

description (String)

The updated description of the custom property.

regex (String)

The regex pattern that the value of the custom property must match, if the value_type is string.

repositoryCustomPropertyId (ID!)

The global relay id of the source of the custom property.

requireExplicitValues (Boolean)

Whether this repository custom property requires explicit values.

required (Boolean)

Whether the updated custom property is required.

valuesEditableBy (RepositoryCustomPropertyValuesEditableBy)

The updated actors who can edit the values of the custom property.

UpdateRepositoryInput

Input object

Autogenerated input type of UpdateRepository.

Campos de entrada para UpdateRepositoryInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

description (String)

A new description for the repository. Pass an empty string to erase the existing description.

hasDiscussionsEnabled (Boolean)

Indicates if the repository should have the discussions feature enabled.

hasIssuesEnabled (Boolean)

Indicates if the repository should have the issues feature enabled.

hasProjectsEnabled (Boolean)

Indicates if the repository should have the project boards feature enabled.

hasPullRequestsEnabled (Boolean)

Indicates if the repository should have the pull requests feature enabled.

hasSponsorshipsEnabled (Boolean)

Indicates if the repository displays a Sponsor button for financial contributions.

hasWikiEnabled (Boolean)

Indicates if the repository should have the wiki feature enabled.

homepageUrl (URI)

The URL for a web page about this repository. Pass an empty string to erase the existing URL.

name (String)

The new name of the repository.

pullRequestCreationPolicy (PullRequestCreationPolicy)

The policy controlling who can create pull requests in this repository.

repositoryId (ID!)

The ID of the repository to update.

template (Boolean)

Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure.

UpdateRepositoryRulesetInput

Input object

Autogenerated input type of UpdateRepositoryRuleset.

Campos de entrada para UpdateRepositoryRulesetInput

NomeDescrição

bypassActors ([RepositoryRulesetBypassActorInput!])

A list of actors that are allowed to bypass rules in this ruleset.

clientMutationId (String)

A unique identifier for the client performing the mutation.

conditions (RepositoryRuleConditionsInput)

The list of conditions for this ruleset.

enforcement (RuleEnforcement)

The enforcement level for this ruleset.

name (String)

The name of the ruleset.

repositoryRulesetId (ID!)

The global relay id of the repository ruleset to be updated.

rules ([RepositoryRuleInput!])

The list of rules for this ruleset.

target (RepositoryRulesetTarget)

The target of the ruleset.

UpdateRepositoryWebCommitSignoffSettingInput

Input object

Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting.

Campos de entrada para UpdateRepositoryWebCommitSignoffSettingInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryId (ID!)

The ID of the repository to update.

webCommitSignoffRequired (Boolean!)

Indicates if the repository should require signoff on web-based commits.

UpdateTopicsInput

Input object

Autogenerated input type of UpdateTopics.

Campos de entrada para UpdateTopicsInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryId (ID!)

The Node ID of the repository.

topicNames ([String!]!)

An array of topic names.