GitHubRef

Represents a Git reference.

EXAMPLE USAGES
GitHubCreateBranchMutation

Create a branch name $branchName (from master) on the GitHub project ${repoOwner}/${repoName}

FIELDS
associatedPullRequests (GitHubPullRequestConnection!)

A list of pull requests with this ref as the head ref.

branchProtectionRule (GitHubBranchProtectionRule)

Branch protection rules for this ref

id (ID!)

No description

name (String!)

The ref name.

oneGraphId (ID!)

Unique id across all of OneGraph

oneGraphLinkedNodes (OneGraphLinkedNodesConnection!)

List of OneGraphNodes that are linked from this node.

prefix (String!)

The ref's prefix, such as refs/heads/ or refs/tags/.

refUpdateRule (GitHubRefUpdateRule)

Branch protection rules that are viewable by non-admins

repository (GitHubRepository!)

The repository the ref belongs to.

target (GitHubGitObject)

The object the ref points to. Returns null when object does not exist.

IMPLEMENTS
OneGraphNode

An object with a globally unique id across all of OneGraph

GitHubNode

An object with an ID.

REQUIRED BY
GitHubBaseRefForcePushedEvent

Represents a 'base_ref_force_pushed' event on a given pull request.

GitHubBranchProtectionRuleConflict

A conflict between two branch protection rules.

GitHubCheckSuite

A check suite.

GitHubCreateRefPayload

Autogenerated return type of CreateRef

GitHubDeployedEvent

Represents a 'deployed' event on a given pull request.

GitHubDeployment

Represents triggered deployment instance.

GitHubHeadRefDeletedEvent

Represents a 'head_ref_deleted' event on a given pull request.

GitHubHeadRefForcePushedEvent

Represents a 'head_ref_force_pushed' event on a given pull request.

GitHubMergedEvent

Represents a 'merged' event on a given pull request.

GitHubPullRequest

A repository pull request.

GitHubRefConnection

The connection type for Ref.

GitHubRefEdge

An edge in a connection.

GitHubRelease

A release contains the content for a release.

GitHubRepository

A repository contains the content for a project.

GitHubUpdateRefPayload

Autogenerated return type of UpdateRef

____________________________________________________________________________________________________