Skip to main content

GitHubRepository

No description

type GitHubRepository {
policyReportId: ID!
name: ID!
branchProtections: [GitHubBranchProtectionRule!]!
interactionAbility: GitHubRepositoryInteractionAbility
defaultBranchRef: GitHubRepositoryRef
deleteBranchOnMerge: Boolean!
description: String
forkCount: Int!
forkingAllowed: Boolean!
hasIssuesEnabled: Boolean!
hasProjectsEnabled: Boolean!
hasWikiEnabled: Boolean!
isArchived: Boolean!
isBlankIssuesEnabled: Boolean!
isDisabled: Boolean!
isEmpty: Boolean!
isFork: Boolean!
isInOrganization: Boolean!
isLocked: Boolean!
isMirror: Boolean!
isPrivate: Boolean!
isSecurityPolicyEnabled: Boolean
isTemplate: Boolean!
isUserConfigurationRepository: Boolean!
mergeCommitAllowed: Boolean!
rebaseMergeAllowed: Boolean!
stargazerCount: Int!
createdAt: DateTime!
updatedAt: DateTime!
visibility: GitHubRepositoryVisibility!
collaborators: [GitHubRepositoryCollaborator!]!
outsideCollaborators: [GitHubRepositoryCollaborator!]!
hasCollaborators: Boolean!
hasOutsideCollaborators: Boolean!
packages(
onlyVulnerablePackages: Boolean
): [Package!]!
}

Fields

GitHubRepository.policyReportId ● ID! non-null scalar

GitHubRepository.name ● ID! non-null scalar

The name of the repository.

GitHubRepository.branchProtections ● [GitHubBranchProtectionRule!]! non-null object

TODO

GitHubRepository.interactionAbility ● GitHubRepositoryInteractionAbility object

The interaction ability settings for this user.

GitHubRepository.defaultBranchRef ● GitHubRepositoryRef object

The Ref associated with the repository's default branch.

GitHubRepository.deleteBranchOnMerge ● Boolean! non-null scalar

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

GitHubRepository.description ● String scalar

The description of the repository.

GitHubRepository.forkCount ● Int! non-null scalar

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

GitHubRepository.forkingAllowed ● Boolean! non-null scalar

Whether this repository allows forks.

GitHubRepository.hasIssuesEnabled ● Boolean! non-null scalar

Indicates if the repository has issues feature enabled.

GitHubRepository.hasProjectsEnabled ● Boolean! non-null scalar

Indicates if the repository has the Projects feature enabled.

GitHubRepository.hasWikiEnabled ● Boolean! non-null scalar

Indicates if the repository has wiki feature enabled.

GitHubRepository.isArchived ● Boolean! non-null scalar

Indicates if the repository is unmaintained.

GitHubRepository.isBlankIssuesEnabled ● Boolean! non-null scalar

Returns true if blank issue creation is allowed

GitHubRepository.isDisabled ● Boolean! non-null scalar

Returns whether or not this repository disabled.

GitHubRepository.isEmpty ● Boolean! non-null scalar

Returns whether or not this repository is empty.

GitHubRepository.isFork ● Boolean! non-null scalar

Identifies if the repository is a fork.

GitHubRepository.isInOrganization ● Boolean! non-null scalar

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

GitHubRepository.isLocked ● Boolean! non-null scalar

Indicates if the repository has been locked or not.

GitHubRepository.isMirror ● Boolean! non-null scalar

Identifies if the repository is a mirror.

GitHubRepository.isPrivate ● Boolean! non-null scalar

Identifies if the repository is private or internal.

GitHubRepository.isSecurityPolicyEnabled ● Boolean scalar

Returns true if this repository has a security policy

GitHubRepository.isTemplate ● Boolean! non-null scalar

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

GitHubRepository.isUserConfigurationRepository ● Boolean! non-null scalar

Is this repository a user configuration repository?

GitHubRepository.mergeCommitAllowed ● Boolean! non-null scalar

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

GitHubRepository.rebaseMergeAllowed ● Boolean! non-null scalar

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

GitHubRepository.stargazerCount ● Int! non-null scalar

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

GitHubRepository.createdAt ● DateTime! non-null scalar

Identifies the date and time when the object was created.

GitHubRepository.updatedAt ● DateTime! non-null scalar

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

GitHubRepository.visibility ● GitHubRepositoryVisibility! non-null enum

Indicates the repository's visibility level.

GitHubRepository.collaborators ● [GitHubRepositoryCollaborator!]! non-null object

A list of collaborators

GitHubRepository.outsideCollaborators ● [GitHubRepositoryCollaborator!]! non-null object

A list of outside collaborators for the repository; may be unavailable depending on the plan of the GitHub organization

GitHubRepository.hasCollaborators ● Boolean! non-null scalar

Whether or not the repository has collaborators

GitHubRepository.hasOutsideCollaborators ● Boolean! non-null scalar

Whether or not the repository has outside collaborators; may be unavailable depending on the plan of the GitHub organization

GitHubRepository.packages ● [Package!]! non-null object

Packages detected in this repository so far

GitHubRepository.packages.onlyVulnerablePackages ● Boolean scalar

Member of

GitHubOrganization object