GitHubUser

A user is an individual's account on GitHub that owns repositories and can make new content.

EXAMPLE USAGES
GitHubUnresolvedIssuesQuery

Fetch the first ten open issues for a GitHub repository, sorted by when they were created.

UpdateGitHubUserProfile

Updates the currently authenticated GitHub user's profile. To run this, you'll need to either use a personal access token, or you'll need to make a custom GitHub app that requests the user permission.

Once you've made a custom GitHub app, set the client id/secret for it in your OneGraph dashboard, authenticate a user, and run this mutation!

FIELDS
anyPinnableItems (Boolean!)

Determine if this repository owner has any items that can be pinned to their profile.

avatarUrl (GitHubURI!)

A URL pointing to the user's public avatar.

bio (String)

The user's public profile bio.

bioHTML (GitHubHTML!)

The user's public profile bio as HTML.

commitComments (GitHubCommitCommentConnection!)

A list of commit comments made by this user.

company (String)

The user's public profile company.

companyHTML (GitHubHTML!)

The user's public profile company as HTML.

contributionsCollection (GitHubContributionsCollection!)

The collection of contributions this user has made to different repositories.

createdAt (GitHubDateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

email (String!)

The user's publicly visible profile email.

eventilUser (EventilUser)

User type

followers (GitHubFollowerConnection!)

A list of users the given user is followed by.

following (GitHubFollowingConnection!)

A list of users the given user is following.

gist (GitHubGist)

Find gist by repo name.

gistComments (GitHubGistCommentConnection!)

A list of gist comments made by this user.

gists (GitHubGistConnection!)

A list of the Gists the user has created.

hasSponsorsListing (Boolean!)

True if this user/organization has a GitHub Sponsors listing.

hovercard (GitHubHovercard!)

The hovercard information for this user in a given context

id (ID!)

No description

interactionAbility (GitHubRepositoryInteractionAbility)

The interaction ability settings for this user.

isBountyHunter (Boolean!)

Whether or not this user is a participant in the GitHub Security Bug Bounty.

isCampusExpert (Boolean!)

Whether or not this user is a participant in the GitHub Campus Experts Program.

isDeveloperProgramMember (Boolean!)

Whether or not this user is a GitHub Developer Program member.

isEmployee (Boolean!)

Whether or not this user is a GitHub employee.

isGitHubStar (Boolean!)

Whether or not this user is a member of the GitHub Stars Program.

isHireable (Boolean!)

Whether or not the user has marked themselves as for hire.

isSiteAdmin (Boolean!)

Whether or not this user is a site administrator.

isSponsoredBy (Boolean!)

Check if the given account is sponsoring this user/organization.

isSponsoringViewer (Boolean!)

True if the viewer is sponsored by this user/organization.

issueComments (GitHubIssueCommentConnection!)

A list of issue comments made by this user.

issues (GitHubIssueConnection!)

A list of issues associated with this user.

isViewer (Boolean!)

Whether or not this user is the viewing user.

itemShowcase (GitHubProfileItemShowcase!)

Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.

location (String)

The user's public profile location.

login (String!)

The username used to login.

name (String)

The user's public profile name.

oneGraphId (ID!)

Unique id across all of OneGraph

oneGraphLinkedNodes (OneGraphLinkedNodesConnection!)

List of OneGraphNodes that are linked from this node.

organization (GitHubOrganization)

Find an organization by its login that the user belongs to.

organizations (GitHubOrganizationConnection!)

A list of organizations the user belongs to.

organizationVerifiedDomainEmails ([String!]!)

Verified email addresses that match verified domains for a specified organization the user is a member of.

packages (GitHubPackageConnection!)

A list of packages under the owner.

pinnableItems (GitHubPinnableItemConnection!)

A list of repositories and gists this profile owner can pin to their profile.

pinnedItems (GitHubPinnableItemConnection!)

A list of repositories and gists this profile owner has pinned to their profile

pinnedItemsRemaining (Int!)

Returns how many more items this profile owner can pin to their profile.

project (GitHubProject)

Find project by number.

projects (GitHubProjectConnection!)

A list of projects under the owner.

projectsResourcePath (GitHubURI!)

The HTTP path listing user's projects

projectsUrl (GitHubURI!)

The HTTP URL listing user's projects

publicKeys (GitHubPublicKeyConnection!)

A list of public keys associated with this user.

pullRequests (GitHubPullRequestConnection!)

A list of pull requests associated with this user.

repositories (GitHubRepositoryConnection!)

A list of repositories that the user owns.

repositoriesContributedTo (GitHubRepositoryConnection!)

A list of repositories that the user recently contributed to.

repository (GitHubRepository)

Find Repository.

repositoryDiscussionComments (GitHubDiscussionCommentConnection!)

Discussion comments this user has authored.

repositoryDiscussions (GitHubDiscussionConnection!)

Discussions this user has started.

resourcePath (GitHubURI!)

The HTTP path for this user

salesforceUser (SalesforceUser)

Linked Salesforce user

savedReplies (GitHubSavedReplyConnection)

Replies this user has saved

sponsorshipForViewerAsSponsor (GitHubSponsorship)

The viewer's sponsorship of this entity.

sponsorshipsAsMaintainer (GitHubSponsorshipConnection!)

This object's sponsorships as the maintainer.

sponsorshipsAsSponsor (GitHubSponsorshipConnection!)

This object's sponsorships as the sponsor.

sponsorsListing (GitHubSponsorsListing)

The GitHub Sponsors listing for this user or organization.

starredRepositories (GitHubStarredRepositoryConnection!)

Repositories the user has starred.

status (GitHubUserStatus)

The user's description of what they're currently doing.

topRepositories (GitHubRepositoryConnection!)

Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created

twitterUsername (String)

The user's Twitter username.

updatedAt (GitHubDateTime!)

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

url (GitHubURI!)

The HTTP URL for this user

viewerCanChangePinnedItems (Boolean!)

Can the viewer pin repositories and gists to the profile?

viewerCanCreateProjects (Boolean!)

Can the current viewer create new projects on this owner.

viewerCanFollow (Boolean!)

Whether or not the viewer is able to follow the user.

viewerCanSponsor (Boolean!)

Whether or not the viewer is able to sponsor this user/organization.

viewerIsFollowing (Boolean!)

Whether or not this user is followed by the viewer.

viewerIsSponsoring (Boolean!)

True if the viewer is sponsoring this user/organization.

watching (GitHubRepositoryConnection!)

A list of repositories the given user is watching.

websiteUrl (GitHubURI)

A URL pointing to the user's public website/blog.

DEPRECATED FIELDS
IMPLEMENTS
OneGraphNode

An object with a globally unique id across all of OneGraph

GitHubActor

Represents an object which can take actions on GitHub. Typically a User or Bot.

GitHubNode

An object with an ID.

GitHubPackageOwner

Represents an owner of a package.

GitHubProfileOwner

Represents any entity on GitHub that has a profile page.

GitHubProjectOwner

Represents an owner of a Project.

GitHubRepositoryDiscussionAuthor

Represents an author of discussions in repositories.

GitHubRepositoryDiscussionCommentAuthor

Represents an author of discussion comments in repositories.

GitHubRepositoryOwner

Represents an owner of a Repository.

GitHubSponsorable

Entities that can be sponsored through GitHub Sponsors

GitHubUniformResourceLocatable

Represents a type that can be retrieved by a URL.

REQUIRED BY
ClearbitPerson

The result of a Clearbit contact enrichment call

DescuriGitHubResult

The GitHub result of a Descuri call

EventilProfile

Profile type

GitHubAssignedEvent

Represents an 'assigned' event on any assignable object.

GitHubAuditEntry

An entry in the audit log.

GitHubAutoMergeDisabledEvent

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

GitHubAutoMergeEnabledEvent

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

GitHubAutoRebaseEnabledEvent

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

GitHubAutoSquashEnabledEvent

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

GitHubContribution

Represents a contribution a user made on GitHub, such as opening an issue.

GitHubContributionsCollection

A contributions collection aggregates contributions such as opened issues and commits created by a user.

GitHubCreatedCommitContribution

Represents the contribution a user made by committing to a repository.

GitHubCreatedIssueContribution

Represents the contribution a user made on GitHub by opening an issue.

GitHubCreatedPullRequestContribution

Represents the contribution a user made on GitHub by opening a pull request.

GitHubCreatedPullRequestReviewContribution

Represents the contribution a user made by leaving a review on a pull request.

GitHubCreatedRepositoryContribution

Represents the contribution a user made on GitHub by creating a repository.

GitHubEnterpriseAdministratorConnection

The connection type for User.

GitHubEnterpriseAdministratorEdge

A User who is an administrator of an enterprise.

GitHubEnterpriseAdministratorInvitation

An invitation for a user to become an owner or billing manager of an enterprise.

GitHubEnterpriseOutsideCollaboratorConnection

The connection type for User.

GitHubEnterpriseOutsideCollaboratorEdge

A User who is an outside collaborator of an enterprise through one or more organizations.

GitHubEnterprisePendingCollaboratorConnection

The connection type for User.

GitHubEnterprisePendingCollaboratorEdge

A user with an invitation to be a collaborator on a repository owned by an organization in an enterprise.

GitHubEnterpriseUserAccount

An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations.

GitHubExternalIdentity

An external identity provisioned by SAML SSO or SCIM.

GitHubFollowerConnection

The connection type for User.

GitHubFollowingConnection

The connection type for User.

GitHubFollowUserPayload

Autogenerated return type of FollowUser

GitHubGitActor

Represents an actor in a Git commit (ie. an author or committer).

GitHubGitSignature

Information about a signature (GPG or S/MIME) on a Commit or Tag.

GitHubGpgSignature

Represents a GPG signature on a Commit or Tag.

GitHubJoinedGitHubContribution

Represents a user signing up for a GitHub account.

GitHubMembersCanDeleteReposClearAuditEntry

Audit log entry for a members_can_delete_repos.clear event.

GitHubMembersCanDeleteReposDisableAuditEntry

Audit log entry for a members_can_delete_repos.disable event.

GitHubMembersCanDeleteReposEnableAuditEntry

Audit log entry for a members_can_delete_repos.enable event.

GitHubOauthApplicationCreateAuditEntry

Audit log entry for a oauth_application.create event.

GitHubOrgAddBillingManagerAuditEntry

Audit log entry for a org.add_billing_manager

GitHubOrgAddMemberAuditEntry

Audit log entry for a org.add_member

GitHubOrganizationInvitation

An Invitation for a user to an organization.

GitHubOrganizationMemberConnection

The connection type for User.

GitHubOrganizationMemberEdge

Represents a user within an organization.

GitHubOrgBlockUserAuditEntry

Audit log entry for a org.block_user

GitHubOrgConfigDisableCollaboratorsOnlyAuditEntry

Audit log entry for a org.config.disable_collaborators_only event.

GitHubOrgConfigEnableCollaboratorsOnlyAuditEntry

Audit log entry for a org.config.enable_collaborators_only event.

GitHubOrgCreateAuditEntry

Audit log entry for a org.create event.

GitHubOrgDisableOauthAppRestrictionsAuditEntry

Audit log entry for a org.disable_oauth_app_restrictions event.

GitHubOrgDisableSamlAuditEntry

Audit log entry for a org.disable_saml event.

GitHubOrgDisableTwoFactorRequirementAuditEntry

Audit log entry for a org.disable_two_factor_requirement event.

GitHubOrgEnableOauthAppRestrictionsAuditEntry

Audit log entry for a org.enable_oauth_app_restrictions event.

GitHubOrgEnableSamlAuditEntry

Audit log entry for a org.enable_saml event.

GitHubOrgEnableTwoFactorRequirementAuditEntry

Audit log entry for a org.enable_two_factor_requirement event.

GitHubOrgInviteMemberAuditEntry

Audit log entry for a org.invite_member event.

GitHubOrgInviteToBusinessAuditEntry

Audit log entry for a org.invite_to_business event.

GitHubOrgOauthAppAccessApprovedAuditEntry

Audit log entry for a org.oauth_app_access_approved event.

GitHubOrgOauthAppAccessDeniedAuditEntry

Audit log entry for a org.oauth_app_access_denied event.

GitHubOrgOauthAppAccessRequestedAuditEntry

Audit log entry for a org.oauth_app_access_requested event.

GitHubOrgRemoveBillingManagerAuditEntry

Audit log entry for a org.remove_billing_manager event.

GitHubOrgRemoveMemberAuditEntry

Audit log entry for a org.remove_member event.

GitHubOrgRemoveOutsideCollaboratorAuditEntry

Audit log entry for a org.remove_outside_collaborator event.

GitHubOrgRestoreMemberAuditEntry

Audit log entry for a org.restore_member event.

GitHubOrgUnblockUserAuditEntry

Audit log entry for a org.unblock_user

GitHubOrgUpdateDefaultRepositoryPermissionAuditEntry

Audit log entry for a org.update_default_repository_permission

GitHubOrgUpdateMemberAuditEntry

Audit log entry for a org.update_member event.

GitHubOrgUpdateMemberRepositoryCreationPermissionAuditEntry

Audit log entry for a org.update_member_repository_creation_permission event.

GitHubOrgUpdateMemberRepositoryInvitationPermissionAuditEntry

Audit log entry for a org.update_member_repository_invitation_permission event.

GitHubPrivateRepositoryForkingDisableAuditEntry

Audit log entry for a private_repository_forking.disable event.

GitHubPrivateRepositoryForkingEnableAuditEntry

Audit log entry for a private_repository_forking.enable event.

GitHubPullRequestReviewThread

A threaded list of comments for a given pull request.

GitHubPush

A Git push.

GitHubQuery

The query root of GitHub's GraphQL interface.

GitHubReactingUserConnection

The connection type for User.

GitHubReactingUserEdge

Represents a user that's made a reaction.

GitHubReaction

An emoji reaction to a particular piece of content.

GitHubRelease

A release contains the content for a release.

GitHubReleaseAsset

A release asset contains the content for a release asset.

GitHubRemoveEnterpriseAdminPayload

Autogenerated return type of RemoveEnterpriseAdmin

GitHubRemoveEnterpriseOrganizationPayload

Autogenerated return type of RemoveEnterpriseOrganization

GitHubRemoveOutsideCollaboratorPayload

Autogenerated return type of RemoveOutsideCollaborator

GitHubRepoAccessAuditEntry

Audit log entry for a repo.access event.

GitHubRepoAddMemberAuditEntry

Audit log entry for a repo.add_member event.

GitHubRepoAddTopicAuditEntry

Audit log entry for a repo.add_topic event.

GitHubRepoArchivedAuditEntry

Audit log entry for a repo.archived event.

GitHubRepoChangeMergeSettingAuditEntry

Audit log entry for a repo.change_merge_setting event.

GitHubRepoConfigDisableAnonymousGitAccessAuditEntry

Audit log entry for a repo.config.disable_anonymous_git_access event.

GitHubRepoConfigDisableCollaboratorsOnlyAuditEntry

Audit log entry for a repo.config.disable_collaborators_only event.

GitHubRepoConfigDisableContributorsOnlyAuditEntry

Audit log entry for a repo.config.disable_contributors_only event.

GitHubRepoConfigDisableSockpuppetDisallowedAuditEntry

Audit log entry for a repo.config.disable_sockpuppet_disallowed event.

GitHubRepoConfigEnableAnonymousGitAccessAuditEntry

Audit log entry for a repo.config.enable_anonymous_git_access event.

GitHubRepoConfigEnableCollaboratorsOnlyAuditEntry

Audit log entry for a repo.config.enable_collaborators_only event.

GitHubRepoConfigEnableContributorsOnlyAuditEntry

Audit log entry for a repo.config.enable_contributors_only event.

GitHubRepoConfigEnableSockpuppetDisallowedAuditEntry

Audit log entry for a repo.config.enable_sockpuppet_disallowed event.

GitHubRepoConfigLockAnonymousGitAccessAuditEntry

Audit log entry for a repo.config.lock_anonymous_git_access event.

GitHubRepoConfigUnlockAnonymousGitAccessAuditEntry

Audit log entry for a repo.config.unlock_anonymous_git_access event.

GitHubRepoCreateAuditEntry

Audit log entry for a repo.create event.

GitHubRepoDestroyAuditEntry

Audit log entry for a repo.destroy event.

GitHubRepoRemoveMemberAuditEntry

Audit log entry for a repo.remove_member event.

GitHubRepoRemoveTopicAuditEntry

Audit log entry for a repo.remove_topic event.

GitHubRepositoryCollaboratorConnection

The connection type for User.

GitHubRepositoryCollaboratorEdge

Represents a user who is a collaborator of a repository.

GitHubRepositoryInvitation

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

GitHubRepositoryVisibilityChangeDisableAuditEntry

Audit log entry for a repository_visibility_change.disable event.

GitHubRepositoryVisibilityChangeEnableAuditEntry

Audit log entry for a repository_visibility_change.enable event.

GitHubRepositoryVulnerabilityAlert

A alert for a repository with an affected vulnerability.

GitHubRestrictedContribution

Represents a private contribution a user made on GitHub.

GitHubSetUserInteractionLimitPayload

Autogenerated return type of SetUserInteractionLimit

GitHubSmimeSignature

Represents an S/MIME signature on a Commit or Tag.

GitHubSponsorship

A sponsorship relationship between a sponsor and a maintainer

GitHubStargazerConnection

The connection type for User.

GitHubStargazerEdge

Represents a user that's starred a repository.

GitHubSuggestedReviewer

A suggestion to review a pull request based on a user's commit history and review comments.

GitHubTeamAddMemberAuditEntry

Audit log entry for a team.add_member event.

GitHubTeamAddRepositoryAuditEntry

Audit log entry for a team.add_repository event.

GitHubTeamChangeParentTeamAuditEntry

Audit log entry for a team.change_parent_team event.

GitHubTeamMemberConnection

The connection type for User.

GitHubTeamMemberEdge

Represents a user who is a member of a team.

GitHubTeamRemoveMemberAuditEntry

Audit log entry for a team.remove_member event.

GitHubTeamRemoveRepositoryAuditEntry

Audit log entry for a team.remove_repository event.

GitHubUnassignedEvent

Represents an 'unassigned' event on any assignable object.

GitHubUnfollowUserPayload

Autogenerated return type of UnfollowUser

GitHubUnknownSignature

Represents an unknown signature on a Commit or Tag.

GitHubUserBlockedEvent

Represents a 'user_blocked' event on a given user.

GitHubUserConnection

The connection type for User.

GitHubUserEdge

Represents a user.

GitHubUserStatus

The user's description of what they're currently doing.

GitHubViewerHovercardContext

A hovercard context with a message describing how the viewer is related.

SalesforceUserPreviousVersion

The previous version of User before the update.

Viewer

Currently authed user

____________________________________________________________________________________________________