跳至主要内容

Enums represent possible sets of values for a field.

本文内容

关于枚举

枚举表示字段可能的值集。

例如,Issue 对象有一个名为 state 的字段。 state 是一个枚举(具体来说,类型为 IssueState),因为它可以是 OPENCLOSED

有关更多信息,请参阅GraphQL 简介

ActorType

参与者的类型。

ActorType 的值

TEAM

表示一个团队参与者。

USER

表示一个用户参与者。

AuditLogOrderField

审计日志连接可以排序的属性。

AuditLogOrderField 的值

CREATED_AT

按时间戳排序审计日志条目。

CheckAnnotationLevel

表示注释的信息级别。

CheckAnnotationLevel 的值

FAILURE

表示一个不可避免的错误的注释。

NOTICE

表示一些信息的注释。

WARNING

表示一个可忽略的错误的注释。

CheckConclusionState

检查套件或运行结论的可能状态。

CheckConclusionState 的值

ACTION_REQUIRED

检查套件或运行需要操作。

CANCELLED

检查套件或运行已被取消。

FAILURE

检查套件或运行已失败。

NEUTRAL

检查套件或运行是中立的。

SKIPPED

检查套件或运行被跳过。

STALE

检查套件或运行被 GitHub 标记为过时。只有 GitHub 可以使用此结论。

STARTUP_FAILURE

检查套件或运行在启动时失败。

SUCCESS

检查套件或运行已成功。

TIMED_OUT

检查套件或运行已超时。

CheckRunState

状态汇总中检查运行的可能状态。

CheckRunState 的值

ACTION_REQUIRED

检查运行需要操作。

CANCELLED

检查运行已被取消。

COMPLETED

检查运行已完成。

FAILURE

检查运行已失败。

IN_PROGRESS

检查运行正在进行中。

NEUTRAL

检查运行是中立的。

PENDING

检查运行处于待处理状态。

QUEUED

检查运行已排队。

SKIPPED

检查运行被跳过。

STALE

检查运行被 GitHub 标记为过时。只有 GitHub 可以使用此结论。

STARTUP_FAILURE

检查运行在启动时失败。

SUCCESS

检查运行已成功。

TIMED_OUT

检查运行已超时。

WAITING

检查运行处于等待状态。

CheckRunType

检查运行的可能类型。

CheckRunType 的值

ALL

所有可用的检查运行。

LATEST

最新的检查运行。

CheckStatusState

检查套件或运行状态的可能状态。

CheckStatusState 的值

COMPLETED

检查套件或运行已完成。

IN_PROGRESS

检查套件或运行正在进行中。

PENDING

检查套件或运行处于待处理状态。

QUEUED

检查套件或运行已排队。

REQUESTED

检查套件或运行已请求。

WAITING

检查套件或运行处于等待状态。

CollaboratorAffiliation

协作者与主题的关联级别。

CollaboratorAffiliation 的值

ALL

经验证的用户可以看到的所有协作者。

DIRECT

对组织拥有的主题具有权限的所有协作者,无论组织成员资格状态如何。

OUTSIDE

组织拥有的主题的所有外部协作者。

CommentAuthorAssociation

评论作者与存储库的关联。

CommentAuthorAssociation 的值

COLLABORATOR

作者已被邀请协作处理存储库。

CONTRIBUTOR

作者以前曾提交到存储库。

FIRST_TIMER

作者以前没有提交到 GitHub。

FIRST_TIME_CONTRIBUTOR

作者以前没有提交到存储库。

MANNEQUIN

作者是未声明用户的占位符。

MEMBER

作者是拥有该存储库的组织的成员。

NONE

作者与存储库没有关联。

OWNER

作者是存储库的所有者。

CommentCannotUpdateReason

将阻止用户更新评论的可能错误。

CommentCannotUpdateReason 的值

ARCHIVED

无法创建评论,因为存储库已存档。

DENIED

您无法更新此评论。

INSUFFICIENT_ACCESS

您必须是作者或对此存储库具有写入权限才能更新此评论。

LOCKED

无法创建评论,因为议题已锁定。

LOGIN_REQUIRED

您必须登录才能更新此评论。

MAINTENANCE

存储库正在维护中。

VERIFIED_EMAIL_REQUIRED

必须至少验证一个电子邮件地址才能更新此评论。

CommitContributionOrderField

提交贡献连接可以排序的属性。

CommitContributionOrderField 的值

COMMIT_COUNT

按提交数量排序提交贡献。

OCCURRED_AT

按提交时间排序提交贡献。

ComparisonStatus

两个引用之间 git 比较的状态。

ComparisonStatus 的值

AHEAD

head 引用领先于 base 引用。

BEHIND

head 引用落后于 base 引用。

DIVERGED

head 引用既领先又落后于 base 引用,表示 git 历史已发散。

IDENTICAL

head 引用和 base 引用相同。

ContributionLevel

从无到多的不同贡献级别。

ContributionLevel 的值

FIRST_QUARTILE

贡献天数最低的 25%。

FOURTH_QUARTILE

贡献天数最高的 25%。贡献多于第三个四分位数。

NONE

没有发生贡献。

SECOND_QUARTILE

贡献天数第二低的 25%。贡献多于第一个四分位数。

THIRD_QUARTILE

贡献天数第二高的 25%。贡献多于第二个四分位数,少于第四个四分位数。

CustomPropertyValueType

自定义属性定义允许的值类型。

CustomPropertyValueType 的值

MULTI_SELECT

多选值。

SINGLE_SELECT

单选值。

STRING

字符串值。

TRUE_FALSE

真/假值。

URL

URL 值。

DefaultRepositoryPermissionField

存储库的可能基本权限。

DefaultRepositoryPermissionField 的值

ADMIN

默认可以读取、写入和管理存储库。

NONE

没有访问权限。

READ

默认可以读取存储库。

WRITE

默认可以读取和写入存储库。

DependencyGraphEcosystem

依赖图包的可能生态系统。

DependencyGraphEcosystem 的值

ACTIONS

GitHub Actions。

COMPOSER

托管在 packagist.org 上的 PHP 包。

GO

Go 模块。

MAVEN

托管在 Maven 中央存储库上的 Java 工件。

NPM

托管在 npmjs.com 上的 JavaScript 包。

NUGET

托管在 NuGet Gallery 上的 .NET 包。

PIP

托管在 PyPI.org 上的 Python 包。

PUB

托管在 pub.dev 上的 Dart 包。

RUBYGEMS

托管在 RubyGems.org 上的 Ruby gem。

RUST

Rust crate。

SWIFT

Swift 包。

DeploymentOrderField

部署连接可以排序的属性。

DeploymentOrderField 的值

CREATED_AT

按创建时间排序集合。

DeploymentProtectionRuleType

可能的保护规则类型。

DeploymentProtectionRuleType 的值

BRANCH_POLICY

分支策略。

REQUIRED_REVIEWERS

所需审阅者。

WAIT_TIMER

等待计时器。

DeploymentReviewState

部署审阅的可能状态。

DeploymentReviewState 的值

APPROVED

部署已批准。

REJECTED

部署被拒绝。

DeploymentState

部署可能处于的状态。

DeploymentState 的值

ABANDONED

待处理的部署在 30 分钟后未更新。

ACTIVE

部署当前处于活动状态。

DESTROYED

非活动的瞬态部署。

ERROR

部署遇到错误。

FAILURE

部署已失败。

INACTIVE

部署处于非活动状态。

IN_PROGRESS

部署正在进行中。

PENDING

部署处于待处理状态。

QUEUED

部署已排队。

SUCCESS

部署成功。

WAITING

部署正在等待中。

DeploymentStatusState

部署状态的可能状态。

DeploymentStatusState 的值

ERROR

部署遇到错误。

FAILURE

部署已失败。

INACTIVE

部署处于非活动状态。

IN_PROGRESS

部署正在进行中。

PENDING

部署处于待处理状态。

QUEUED

部署已排队。

SUCCESS

部署成功。

WAITING

部署正在等待中。

DiffSide

差异的可能方面。

DiffSide 的值

LEFT

差异的左侧。

RIGHT

差异的右侧。

DiscussionCloseReason

关闭讨论的可能原因。

DiscussionCloseReason 的值

DUPLICATE

讨论是另一个的重复。

OUTDATED

讨论不再相关。

RESOLVED

讨论已解决。

DiscussionOrderField

讨论连接可以排序的属性。

DiscussionOrderField 的值

CREATED_AT

按创建时间排序讨论。

UPDATED_AT

按最近修改时间排序讨论。

DiscussionPollOptionOrderField

讨论投票选项连接可以排序的属性。

DiscussionPollOptionOrderField 的值

AUTHORED_ORDER

按投票作者创建投票时指定的顺序排序投票选项。

VOTE_COUNT

按投票数排序投票选项。

DiscussionState

讨论的可能状态。

DiscussionState 的值

CLOSED

已关闭的讨论。

OPEN

开放中的讨论。

DiscussionStateReason

讨论的可能状态原因。

DiscussionStateReason 的值

DUPLICATE

讨论是另一个的重复。

OUTDATED

讨论不再相关。

REOPENED

讨论已重新打开。

RESOLVED

讨论已解决。

DismissReason

Dependabot 警报被解除的可能原因。

DismissReason 的值

FIX_STARTED

修复已经开始。

INACCURATE

此警报不准确或不正确。

NOT_USED

易受攻击的代码实际上未使用。

NO_BANDWIDTH

没有带宽来修复此问题。

TOLERABLE_RISK

此项目的风险可容忍。

EnterpriseAdministratorInvitationOrderField

企业管理员邀请连接可以排序的属性。

EnterpriseAdministratorInvitationOrderField 的值

CREATED_AT

按创建时间排序企业管理员成员邀请。

EnterpriseAdministratorRole

企业帐户中可能的管理员角色。

EnterpriseAdministratorRole 的值

BILLING_MANAGER

表示企业帐户的计费管理员。

OWNER

表示企业帐户的所有者。

UNAFFILIATED

没有管理员角色的企业帐户非关联成员。

EnterpriseAllowPrivateRepositoryForkingPolicyValue

企业允许私有存储库分叉策略值的可能值。

EnterpriseAllowPrivateRepositoryForkingPolicyValue 的值

ENTERPRISE_ORGANIZATIONS

成员可以将存储库分叉到此企业内的组织。

ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS

成员可以将存储库分叉到其企业管理的 用户帐户或此企业内的组织。

EVERYWHERE

成员可以将存储库分叉到其用户帐户或组织,无论是在此企业内部还是外部。

SAME_ORGANIZATION

成员只能在同一组织内分叉存储库(组织内部)。

SAME_ORGANIZATION_USER_ACCOUNTS

成员可以将存储库分叉到其用户帐户或在同一组织内。

USER_ACCOUNTS

成员可以将存储库分叉到其用户帐户。

EnterpriseDefaultRepositoryPermissionSettingValue

企业基本存储库权限设置的可能值。

EnterpriseDefaultRepositoryPermissionSettingValue 的值

ADMIN

组织成员将能够克隆、拉取、推送和添加新协作者到所有组织存储库。

NONE

组织成员将只能克隆和拉取公共存储库。

NO_POLICY

企业中的组织为其成员选择基本存储库权限。

READ

组织成员将能够克隆和拉取所有组织存储库。

WRITE

组织成员将能够克隆、拉取和推送所有组织存储库。

EnterpriseDisallowedMethodsSettingValue

启用/无策略企业设置的可能值。

EnterpriseDisallowedMethodsSettingValue 的值

INSECURE

该设置阻止企业成员使用不安全的 2FA 方法。

NO_POLICY

没有设置策略来阻止企业成员使用不安全的 2FA 方法。

EnterpriseEnabledDisabledSettingValue

启用/禁用企业设置的可能值。

EnterpriseEnabledDisabledSettingValue 的值

DISABLED

此设置在企业中的组织中被禁用。

ENABLED

此设置在企业中的组织中被启用。

NO_POLICY

未设置企业中组织的策略。

EnterpriseEnabledSettingValue

启用/无策略企业设置的可能值。

EnterpriseEnabledSettingValue 的值

ENABLED

此设置在企业中的组织中被启用。

NO_POLICY

未设置企业中组织的策略。

EnterpriseMemberInvitationOrderField

企业成员邀请连接可以排序的属性。

EnterpriseMemberInvitationOrderField 的值

CREATED_AT

按创建时间排序企业成员邀请。

EnterpriseMemberOrderField

企业成员连接可以排序的属性。

EnterpriseMemberOrderField 的值

CREATED_AT

按创建时间排序企业成员。

LOGIN

按登录名排序企业成员。

EnterpriseMembersCanCreateRepositoriesSettingValue

企业成员可以创建存储库设置的可能值。

EnterpriseMembersCanCreateRepositoriesSettingValue 的值

ALL

成员将能够创建公共和私有存储库。

DISABLED

成员将无法创建公共或私有存储库。

NO_POLICY

组织所有者选择是否允许成员创建存储库。

PRIVATE

成员将只能创建私有存储库。

PUBLIC

成员将只能创建公共存储库。

EnterpriseMembersCanMakePurchasesSettingValue

成员可以进行购买设置的可能值。

EnterpriseMembersCanMakePurchasesSettingValue 的值

DISABLED

此设置在企业中的组织中被禁用。

ENABLED

此设置在企业中的组织中被启用。

EnterpriseMembershipType

我们用于筛选 Platform::Objects::User#enterprises 的可能值。

EnterpriseMembershipType 的值

ADMIN

返回用户是管理员的所有企业。

ALL

返回用户是成员、管理员或计费管理员的所有企业。

BILLING_MANAGER

返回用户是计费管理员的所有企业。

ORG_MEMBERSHIP

返回用户是企业拥有的组织的成员的所有企业。

EnterpriseOrderField

企业连接可以排序的属性。

EnterpriseOrderField 的值

NAME

按名称排序企业。

EnterpriseServerInstallationOrderField

企业服务器安装连接可以排序的属性。

EnterpriseServerInstallationOrderField 的值

CREATED_AT

按创建时间排序企业服务器安装。

CUSTOMER_NAME

按客户名称排序企业服务器安装。

HOST_NAME

按主机名排序企业服务器安装。

EnterpriseServerUserAccountEmailOrderField

企业服务器用户帐户电子邮件连接可以排序的属性。

EnterpriseServerUserAccountEmailOrderField 的值

EMAIL

按电子邮件排序电子邮件。

EnterpriseServerUserAccountOrderField

企业服务器用户帐户连接可以排序的属性。

EnterpriseServerUserAccountOrderField 的值

LOGIN

按登录名排序用户帐户。

REMOTE_CREATED_AT

按企业服务器安装上的创建时间排序用户帐户。

EnterpriseServerUserAccountsUploadOrderField

企业服务器用户帐户上传连接可以排序的属性。

EnterpriseServerUserAccountsUploadOrderField 的值

CREATED_AT

按创建时间排序用户帐户上传。

EnterpriseServerUserAccountsUploadSyncState

企业服务器用户帐户上传的同步状态。

EnterpriseServerUserAccountsUploadSyncState 的值

FAILURE

上传同步失败。

PENDING

上传同步正在待处理。

SUCCESS

上传同步成功。

EnterpriseUserAccountMembershipRole

企业成员资格的可能角色。

EnterpriseUserAccountMembershipRole 的值

MEMBER

用户是企业中组织的成员。

OWNER

用户是企业中组织的所有者。

UNAFFILIATED

用户不是企业的所有者,也不是企业中任何组织的成员或所有者;仅适用于启用 EMU 的企业。

EnterpriseUserDeployment

此用户可以存在的可能的 GitHub Enterprise 部署。

EnterpriseUserDeployment 的值

CLOUD

用户是 GitHub Enterprise Cloud 部署的一部分。

SERVER

用户是 GitHub Enterprise Server 部署的一部分。

EnvironmentOrderField

环境连接可以排序的属性。

EnvironmentOrderField 的值

NAME

按名称排序环境。

EnvironmentPinnedFilterField

环境连接可以排序的属性。

EnvironmentPinnedFilterField 的值

ALL

将返回所有环境。

NONE

Environments exclude pinned will be returned.

ONLY

Only pinned environment will be returned.

FileViewedState

The possible viewed states of a file .

Values for FileViewedState

DISMISSED

The file has new changes since last viewed.

UNVIEWED

The file has not been marked as viewed.

VIEWED

The file has been marked as viewed.

FundingPlatform

The possible funding platforms for repository funding links.

Values for FundingPlatform

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.

GistOrderField

Properties by which gist connections can be ordered.

Values for GistOrderField

CREATED_AT

Order gists by creation time.

PUSHED_AT

Order gists by push time.

UPDATED_AT

Order gists by update time.

GistPrivacy

The privacy of a Gist.

Values for GistPrivacy

ALL

Gists that are public and secret.

PUBLIC

Public.

SECRET

Secret.

GitSignatureState

The state of a Git signature.

Values for GitSignatureState

BAD_CERT

The signing certificate or its chain could not be verified.

BAD_EMAIL

Invalid email used for signing.

EXPIRED_KEY

Signing key expired.

GPGVERIFY_ERROR

Internal error - the GPG verification service misbehaved.

GPGVERIFY_UNAVAILABLE

Internal error - the GPG verification service is unavailable at the moment.

INVALID

Invalid signature.

MALFORMED_SIG

Malformed signature.

NOT_SIGNING_KEY

The usage flags for the key that signed this don't allow signing.

NO_USER

Email used for signing not known to GitHub.

OCSP_ERROR

Valid signature, though certificate revocation check failed.

OCSP_PENDING

Valid signature, pending certificate revocation checking.

OCSP_REVOKED

One or more certificates in chain has been revoked.

UNKNOWN_KEY

Key used for signing not known to GitHub.

UNKNOWN_SIG_TYPE

Unknown signature type.

UNSIGNED

Unsigned.

UNVERIFIED_EMAIL

Email used for signing unverified on GitHub.

VALID

Valid signature and verified by GitHub.

IdentityProviderConfigurationState

The possible states in which authentication can be configured with an identity provider.

Values for IdentityProviderConfigurationState

CONFIGURED

Authentication with an identity provider is configured but not enforced.

ENFORCED

Authentication with an identity provider is configured and enforced.

UNCONFIGURED

Authentication with an identity provider is not configured.

IpAllowListEnabledSettingValue

The possible values for the IP allow list enabled setting.

Values for IpAllowListEnabledSettingValue

DISABLED

The setting is disabled for the owner.

ENABLED

The setting is enabled for the owner.

IpAllowListEntryOrderField

Properties by which IP allow list entry connections can be ordered.

Values for IpAllowListEntryOrderField

ALLOW_LIST_VALUE

Order IP allow list entries by the allow list value.

CREATED_AT

Order IP allow list entries by creation time.

IpAllowListForInstalledAppsEnabledSettingValue

The possible values for the IP allow list configuration for installed GitHub Apps setting.

Values for IpAllowListForInstalledAppsEnabledSettingValue

DISABLED

The setting is disabled for the owner.

ENABLED

The setting is enabled for the owner.

IpAllowListUserLevelEnforcementEnabledSettingValue

The possible values for the IP allow list user-level enforcement enabled setting.

Values for IpAllowListUserLevelEnforcementEnabledSettingValue

DISABLED

The setting is disabled for the owner.

ENABLED

The setting is enabled for the owner.

IssueClosedStateReason

The possible state reasons of a closed issue.

Values for IssueClosedStateReason

COMPLETED

An issue that has been closed as completed.

DUPLICATE

An issue that has been closed as a duplicate.

NOT_PLANNED

An issue that has been closed as not planned.

IssueCommentOrderField

Properties by which issue comment connections can be ordered.

Values for IssueCommentOrderField

UPDATED_AT

Order issue comments by update time.

IssueDependencyOrderField

Properties by which issue dependencies can be ordered.

Values for IssueDependencyOrderField

CREATED_AT

Order issue dependencies by the creation time of the dependent issue.

DEPENDENCY_ADDED_AT

Order issue dependencies by time of when the dependency relationship was added.

IssueFieldDataType

The type of an issue field.

Values for IssueFieldDataType

DATE

Date.

NUMBER

Number.

SINGLE_SELECT

Single Select.

TEXT

Text.

IssueFieldOrderField

Properties by which issue field connections can be ordered.

Values for IssueFieldOrderField

CREATED_AT

Order issue fields by creation time.

NAME

Order issue fields by name.

IssueFieldSingleSelectOptionColor

The display color of a single-select field option.

Values for IssueFieldSingleSelectOptionColor

BLUE

blue.

GRAY

gray.

GREEN

green.

ORANGE

orange.

PINK

pink.

PURPLE

purple.

RED

red.

YELLOW

yellow.

IssueFieldVisibility

The visibility of an issue field.

Values for IssueFieldVisibility

ALL

All.

ORG_ONLY

Org Only.

IssueOrderField

Properties by which issue connections can be ordered.

Values for IssueOrderField

COMMENTS

Order issues by comment count.

CREATED_AT

Order issues by creation time.

UPDATED_AT

Order issues by update time.

IssueSearchType

Type of issue search performed.

Values for IssueSearchType

HYBRID

Hybrid search combining lexical and semantic approaches.

LEXICAL

Lexical (keyword-based) search.

SEMANTIC

Semantic (meaning-based) search using embeddings.

IssueState

The possible states of an issue.

Values for IssueState

CLOSED

An issue that has been closed.

OPEN

An issue that is still open.

IssueStateReason

The possible state reasons of an issue.

Values for IssueStateReason

COMPLETED

An issue that has been closed as completed.

DUPLICATE

An issue that has been closed as a duplicate.

NOT_PLANNED

An issue that has been closed as not planned.

REOPENED

An issue that has been reopened.

IssueTimelineItemsItemType

The possible item types found in a timeline.

Values for IssueTimelineItemsItemType

ADDED_TO_PROJECT_EVENT

Represents aadded_to_projectevent on a given issue or pull request.

ADDED_TO_PROJECT_V2_EVENT

Represents aadded_to_project_v2event on a given issue or pull request.

ASSIGNED_EVENT

Represents anassignedevent on any assignable object.

BLOCKED_BY_ADDED_EVENT

Represents ablocked_by_addedevent on a given issue.

BLOCKED_BY_REMOVED_EVENT

Represents ablocked_by_removedevent on a given issue.

BLOCKING_ADDED_EVENT

Represents ablocking_addedevent on a given issue.

BLOCKING_REMOVED_EVENT

Represents ablocking_removedevent on a given issue.

CLOSED_EVENT

Represents aclosedevent on any Closable.

COMMENT_DELETED_EVENT

Represents acomment_deletedevent on a given issue or pull request.

CONNECTED_EVENT

Represents aconnectedevent on a given issue or pull request.

CONVERTED_FROM_DRAFT_EVENT

Represents aconverted_from_draftevent on a given issue or pull request.

CONVERTED_NOTE_TO_ISSUE_EVENT

Represents aconverted_note_to_issueevent on a given issue or pull request.

CONVERTED_TO_DISCUSSION_EVENT

Represents aconverted_to_discussionevent on a given issue.

CROSS_REFERENCED_EVENT

Represents a mention made by one issue or pull request to another.

DEMILESTONED_EVENT

Represents ademilestonedevent on a given issue or pull request.

DISCONNECTED_EVENT

Represents adisconnectedevent on a given issue or pull request.

ISSUE_COMMENT

Represents a comment on an Issue.

ISSUE_COMMENT_PINNED_EVENT

Represents aissue_comment_pinnedevent on a given issue.

ISSUE_COMMENT_UNPINNED_EVENT

Represents aissue_comment_unpinnedevent on a given issue.

ISSUE_FIELD_ADDED_EVENT

Represents aissue_field_addedevent on a given issue.

ISSUE_FIELD_CHANGED_EVENT

Represents aissue_field_changedevent on a given issue.

ISSUE_FIELD_REMOVED_EVENT

Represents aissue_field_removedevent on a given issue.

ISSUE_TYPE_ADDED_EVENT

Represents aissue_type_addedevent on a given issue.

ISSUE_TYPE_CHANGED_EVENT

Represents aissue_type_changedevent on a given issue.

ISSUE_TYPE_REMOVED_EVENT

Represents aissue_type_removedevent on a given issue.

LABELED_EVENT

Represents alabeledevent on a given issue or pull request.

LOCKED_EVENT

Represents alockedevent on a given issue or pull request.

MARKED_AS_DUPLICATE_EVENT

Represents amarked_as_duplicateevent on a given issue or pull request.

MENTIONED_EVENT

Represents amentionedevent on a given issue or pull request.

MILESTONED_EVENT

Represents amilestonedevent on a given issue or pull request.

MOVED_COLUMNS_IN_PROJECT_EVENT

Represents amoved_columns_in_projectevent on a given issue or pull request.

PARENT_ISSUE_ADDED_EVENT

Represents aparent_issue_addedevent on a given issue.

PARENT_ISSUE_REMOVED_EVENT

Represents aparent_issue_removedevent on a given issue.

PINNED_EVENT

Represents apinnedevent on a given issue or pull request.

PROJECT_V2_ITEM_STATUS_CHANGED_EVENT

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

REFERENCED_EVENT

Represents areferencedevent on a given ReferencedSubject.

REMOVED_FROM_PROJECT_EVENT

Represents aremoved_from_projectevent on a given issue or pull request.

REMOVED_FROM_PROJECT_V2_EVENT

Represents aremoved_from_project_v2event on a given issue or pull request.

RENAMED_TITLE_EVENT

Represents arenamedevent on a given issue or pull request.

REOPENED_EVENT

Represents areopenedevent on any Closable.

SUBSCRIBED_EVENT

Represents asubscribedevent on a given Subscribable.

SUB_ISSUE_ADDED_EVENT

Represents asub_issue_addedevent on a given issue.

SUB_ISSUE_REMOVED_EVENT

Represents asub_issue_removedevent on a given issue.

TRANSFERRED_EVENT

Represents atransferredevent on a given issue or pull request.

UNASSIGNED_EVENT

Represents anunassignedevent on any assignable object.

UNLABELED_EVENT

Represents anunlabeledevent on a given issue or pull request.

UNLOCKED_EVENT

Represents anunlockedevent on a given issue or pull request.

UNMARKED_AS_DUPLICATE_EVENT

Represents anunmarked_as_duplicateevent on a given issue or pull request.

UNPINNED_EVENT

Represents anunpinnedevent on a given issue or pull request.

UNSUBSCRIBED_EVENT

Represents anunsubscribedevent on a given Subscribable.

USER_BLOCKED_EVENT

Represents auser_blockedevent on a given user.

IssueTypeColor

The possible color for an issue type.

Values for IssueTypeColor

BLUE

blue.

GRAY

gray.

GREEN

green.

ORANGE

orange.

PINK

pink.

PURPLE

purple.

RED

red.

YELLOW

yellow.

IssueTypeOrderField

Properties by which issue type connections can be ordered.

Values for IssueTypeOrderField

CREATED_AT

Order issue types by creation time.

NAME

Order issue types by name.

LabelOrderField

Properties by which label connections can be ordered.

Values for LabelOrderField

CREATED_AT

Order labels by creation time.

ISSUE_COUNT

Order labels by issue count.

NAME

Order labels by name.

LanguageOrderField

Properties by which language connections can be ordered.

Values for LanguageOrderField

SIZE

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

LexicalFallbackReason

Reason why a semantic or hybrid issue search fell back to lexical search.

Values for LexicalFallbackReason

NON_ISSUE_TARGET

Query targets non-issue types (e.g., pull requests).

NO_ACCESSIBLE_REPOS

Scoped query resolved to zero accessible repositories.

NO_TEXT_TERMS

Query has only qualifiers and no free text terms.

ONLY_NON_SEMANTIC_FIELDS_REQUESTED

Query uses an in: qualifier targeting non-semantic fields.

OR_BOOLEAN_NOT_SUPPORTED

Query contains OR operators (nested boolean qualifiers).

QUOTED_TEXT

Query contains quoted text requiring exact matches.

SERVER_ERROR

Embedding generation failed or timed out.

LockReason

The possible reasons that an issue or pull request was locked.

Values for LockReason

OFF_TOPIC

The issue or pull request was locked because the conversation was off-topic.

RESOLVED

The issue or pull request was locked because the conversation was resolved.

SPAM

The issue or pull request was locked because the conversation was spam.

TOO_HEATED

The issue or pull request was locked because the conversation was too heated.

MannequinOrderField

Properties by which mannequins can be ordered.

Values for MannequinOrderField

CREATED_AT

Order mannequins why when they were created.

LOGIN

Order mannequins alphabetically by their source login.

MergeCommitMessage

The possible default commit messages for merges.

Values for MergeCommitMessage

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

The possible default commit titles for merges.

Values for MergeCommitTitle

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.

MergeQueueEntryState

The possible states for a merge queue entry.

Values for MergeQueueEntryState

AWAITING_CHECKS

The entry is currently waiting for checks to pass.

LOCKED

The entry is currently locked.

MERGEABLE

The entry is currently mergeable.

QUEUED

The entry is currently queued.

UNMERGEABLE

The entry is currently unmergeable.

MergeQueueGroupingStrategy

设置为 ALLGREEN 时,合并队列为组中每个 PR 创建的合并提交必须通过所有必需检查才能合并。设置为 HEADGREEN 时,只有合并组头部的提交(即包含组中所有 PR 更改的提交)必须通过其必需检查才能合并。

Values for MergeQueueGroupingStrategy

ALLGREEN

The merge commit created by merge queue for each PR in the group must pass all required checks to merge.

HEADGREEN

Only the commit at the head of the merge group must pass its required checks to merge.

MergeQueueMergeMethod

合并来自排队拉取请求的更改时使用的方法。

Values for MergeQueueMergeMethod

MERGE

Merge commit.

REBASE

Rebase and merge.

SQUASH

Squash and merge.

MergeQueueMergingStrategy

The possible merging strategies for a merge queue.

Values for MergeQueueMergingStrategy

ALLGREEN

Entries only allowed to merge if they are passing.

HEADGREEN

Failing Entires are allowed to merge if they are with a passing entry.

MergeStateStatus

Detailed status information about a pull request merge.

Values for MergeStateStatus

BEHIND

The head ref is out of date.

BLOCKED

The merge is blocked.

CLEAN

Mergeable and passing commit status.

DIRTY

The merge commit cannot be cleanly created.

DRAFT

The merge is blocked due to the pull request being a draft.

HAS_HOOKS

Mergeable with passing commit status and pre-receive hooks.

UNKNOWN

The state cannot currently be determined.

UNSTABLE

Mergeable with non-passing commit status.

MergeableState

Whether or not a PullRequest can be merged.

Values for MergeableState

CONFLICTING

The pull request cannot be merged due to merge conflicts.

MERGEABLE

The pull request can be merged.

UNKNOWN

The mergeability of the pull request is still being calculated.

MigrationSourceType

Represents the different GitHub Enterprise Importer (GEI) migration sources.

Values for MigrationSourceType

AZURE_DEVOPS

An Azure DevOps migration source.

BITBUCKET_SERVER

A Bitbucket Server migration source.

GITHUB_ARCHIVE

A GitHub Migration API source.

MigrationState

The GitHub Enterprise Importer (GEI) migration state.

Values for MigrationState

FAILED

The migration has failed.

FAILED_VALIDATION

The migration has invalid credentials.

IN_PROGRESS

The migration is in progress.

NOT_STARTED

The migration has not started.

PENDING_VALIDATION

The migration needs to have its credentials validated.

QUEUED

The migration has been queued.

SUCCEEDED

The migration has succeeded.

MilestoneOrderField

Properties by which milestone connections can be ordered.

Values for MilestoneOrderField

CREATED_AT

Order milestones by when they were created.

DUE_DATE

Order milestones by when they are due.

NUMBER

Order milestones by their number.

UPDATED_AT

Order milestones by when they were last updated.

MilestoneState

The possible states of a milestone.

Values for MilestoneState

CLOSED

A milestone that has been closed.

OPEN

A milestone that is still open.

NotificationRestrictionSettingValue

The possible values for the notification restriction setting.

Values for NotificationRestrictionSettingValue

DISABLED

The setting is disabled for the owner.

ENABLED

The setting is enabled for the owner.

OIDCProviderType

The OIDC identity provider type.

Values for OIDCProviderType

AAD

Azure Active Directory.

OauthApplicationCreateAuditEntryState

The state of an OAuth application when it was created.

Values for OauthApplicationCreateAuditEntryState

ACTIVE

The OAuth application was active and allowed to have OAuth Accesses.

PENDING_DELETION

The OAuth application was in the process of being deleted.

SUSPENDED

The OAuth application was suspended from generating OAuth Accesses due to abuse or security concerns.

OperationType

对应于该操作的操作类型。

Values for OperationType

ACCESS

An existing resource was accessed.

AUTHENTICATION

A resource performed an authentication event.

CREATE

A new resource was created.

MODIFY

An existing resource was modified.

REMOVE

An existing resource was removed.

RESTORE

An existing resource was restored.

TRANSFER

An existing resource was transferred between multiple resources.

OrderDirection

Possible directions in which to order a list of items when provided an orderBy argument.

Values for OrderDirection

ASC

Specifies an ascending order for a given orderBy argument.

DESC

Specifies a descending order for a given orderBy argument.

OrgAddMemberAuditEntryPermission

The permissions available to members on an Organization.

Values for OrgAddMemberAuditEntryPermission

ADMIN

Can read, clone, push, and add collaborators to repositories.

READ

Can read and clone repositories.

OrgCreateAuditEntryBillingPlan

The billing plans available for organizations.

Values for OrgCreateAuditEntryBillingPlan

BUSINESS

Team Plan.

BUSINESS_PLUS

Enterprise Cloud Plan.

FREE

Free Plan.

TIERED_PER_SEAT

Tiered Per Seat Plan.

UNLIMITED

Legacy Unlimited Plan.

OrgEnterpriseOwnerOrderField

Properties by which enterprise owners can be ordered.

Values for OrgEnterpriseOwnerOrderField

LOGIN

Order enterprise owners by login.

OrgRemoveBillingManagerAuditEntryReason

The reason a billing manager was removed from an Organization.

Values for OrgRemoveBillingManagerAuditEntryReason

SAML_EXTERNAL_IDENTITY_MISSING

SAML external identity missing.

SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY

SAML SSO enforcement requires an external identity.

TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE

The organization required 2FA of its billing managers and this user did not have 2FA enabled.

OrgRemoveMemberAuditEntryMembershipType

The type of membership a user has with an Organization.

Values for OrgRemoveMemberAuditEntryMembershipType

ADMIN

Organization owners have full access and can change several settings, including the names of repositories that belong to the Organization and Owners team membership. In addition, organization owners can delete the organization and all of its repositories.

BILLING_MANAGER

A billing manager is a user who manages the billing settings for the Organization, such as updating payment information.

DIRECT_MEMBER

A direct member is a user that is a member of the Organization.

OUTSIDE_COLLABORATOR

An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization.

SUSPENDED

A suspended member.

UNAFFILIATED

An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the Organization.

OrgRemoveMemberAuditEntryReason

The reason a member was removed from an Organization.

Values for OrgRemoveMemberAuditEntryReason

SAML_EXTERNAL_IDENTITY_MISSING

SAML external identity missing.

SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY

SAML SSO enforcement requires an external identity.

TWO_FACTOR_ACCOUNT_RECOVERY

User was removed from organization during account recovery.

TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE

The organization required 2FA of its billing managers and this user did not have 2FA enabled.

USER_ACCOUNT_DELETED

User account has been deleted.

OrgRemoveOutsideCollaboratorAuditEntryMembershipType

The type of membership a user has with an Organization.

Values for OrgRemoveOutsideCollaboratorAuditEntryMembershipType

BILLING_MANAGER

A billing manager is a user who manages the billing settings for the Organization, such as updating payment information.

OUTSIDE_COLLABORATOR

An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization.

UNAFFILIATED

An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the organization.

OrgRemoveOutsideCollaboratorAuditEntryReason

The reason an outside collaborator was removed from an Organization.

Values for OrgRemoveOutsideCollaboratorAuditEntryReason

SAML_EXTERNAL_IDENTITY_MISSING

SAML external identity missing.

TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE

The organization required 2FA of its billing managers and this user did not have 2FA enabled.

OrgUpdateDefaultRepositoryPermissionAuditEntryPermission

The default permission a repository can have in an Organization.

Values for OrgUpdateDefaultRepositoryPermissionAuditEntryPermission

ADMIN

Can read, clone, push, and add collaborators to repositories.

NONE

No default permission value.

READ

Can read and clone repositories.

WRITE

Can read, clone and push to repositories.

OrgUpdateMemberAuditEntryPermission

The permissions available to members on an Organization.

Values for OrgUpdateMemberAuditEntryPermission

ADMIN

Can read, clone, push, and add collaborators to repositories.

READ

Can read and clone repositories.

OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility

The permissions available for repository creation on an Organization.

Values for OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility

ALL

All organization members are restricted from creating any repositories.

INTERNAL

All organization members are restricted from creating internal repositories.

NONE

All organization members are allowed to create any repositories.

PRIVATE

All organization members are restricted from creating private repositories.

PRIVATE_INTERNAL

All organization members are restricted from creating private or internal repositories.

PUBLIC

All organization members are restricted from creating public repositories.

PUBLIC_INTERNAL

All organization members are restricted from creating public or internal repositories.

PUBLIC_PRIVATE

All organization members are restricted from creating public or private repositories.

OrganizationInvitationRole

The possible organization invitation roles.

Values for OrganizationInvitationRole

ADMIN

The user is invited to be an admin of the organization.

BILLING_MANAGER

The user is invited to be a billing manager of the organization.

DIRECT_MEMBER

The user is invited to be a direct member of the organization.

REINSTATE

The user's previous role will be reinstated.

OrganizationInvitationSource

The possible organization invitation sources.

Values for OrganizationInvitationSource

MEMBER

The invitation was created from the web interface or from API.

SCIM

The invitation was created from SCIM.

UNKNOWN

The invitation was sent before this feature was added.

OrganizationInvitationType

The possible organization invitation types.

Values for OrganizationInvitationType

EMAIL

The invitation was to an email address.

USER

The invitation was to an existing user.

OrganizationMemberRole

The possible roles within an organization for its members.

Values for OrganizationMemberRole

ADMIN

The user is an administrator of the organization.

MEMBER

The user is a member of the organization.

OrganizationMembersCanCreateRepositoriesSettingValue

The possible values for the members can create repositories setting on an organization.

Values for OrganizationMembersCanCreateRepositoriesSettingValue

ALL

成员将能够创建公共和私有存储库。

DISABLED

成员将无法创建公共或私有存储库。

INTERNAL

Members will be able to create only internal repositories.

PRIVATE

成员将只能创建私有存储库。

OrganizationMigrationState

The Octoshift Organization migration state.

Values for OrganizationMigrationState

FAILED

The Octoshift migration has failed.

FAILED_VALIDATION

The Octoshift migration has invalid credentials.

IN_PROGRESS

The Octoshift migration is in progress.

NOT_STARTED

The Octoshift migration has not started.

PENDING_VALIDATION

The Octoshift migration needs to have its credentials validated.

POST_REPO_MIGRATION

The Octoshift migration is performing post repository migrations.

PRE_REPO_MIGRATION

The Octoshift migration is performing pre repository migrations.

QUEUED

The Octoshift migration has been queued.

REPO_MIGRATION

The Octoshift org migration is performing repository migrations.

SUCCEEDED

The Octoshift migration has succeeded.

OrganizationOrderField

Properties by which organization connections can be ordered.

Values for OrganizationOrderField

CREATED_AT

Order organizations by creation time.

LOGIN

Order organizations by login.

PackageFileOrderField

Properties by which package file connections can be ordered.

Values for PackageFileOrderField

CREATED_AT

Order package files by creation time.

PackageOrderField

Properties by which package connections can be ordered.

Values for PackageOrderField

CREATED_AT

Order packages by creation time.

PackageType

The possible types of a package.

Values for PackageType

DEBIAN

A debian package.

DOCKER

A docker image.

MAVEN

A maven package.

NPM

An npm package.

NUGET

A nuget package.

PYPI

A python package.

RUBYGEMS

A rubygems package.

PackageVersionOrderField

Properties by which package version connections can be ordered.

Values for PackageVersionOrderField

CREATED_AT

Order package versions by creation time.

PatchStatus

The possible types of patch statuses.

Values for PatchStatus

ADDED

The file was added. Git status 'A'.

CHANGED

The file's type was changed. Git status 'T'.

COPIED

The file was copied. Git status 'C'.

DELETED

The file was deleted. Git status 'D'.

MODIFIED

The file's contents were changed. Git status 'M'.

RENAMED

The file was renamed. Git status 'R'.

PinnableItemType

Represents items that can be pinned to a profile page or dashboard.

Values for PinnableItemType

GIST

A gist.

ISSUE

An issue.

ORGANIZATION

An organization.

PROJECT

A project.

PULL_REQUEST

A pull request.

REPOSITORY

A repository.

TEAM

A team.

USER

A user.

PinnedDiscussionGradient

Preconfigured gradients that may be used to style discussions pinned within a repository.

Values for PinnedDiscussionGradient

BLUE_MINT

A gradient of blue to mint.

BLUE_PURPLE

A gradient of blue to purple.

PINK_BLUE

A gradient of pink to blue.

PURPLE_CORAL

A gradient of purple to coral.

RED_ORANGE

A gradient of red to orange.

PinnedDiscussionPattern

Preconfigured background patterns that may be used to style discussions pinned within a repository.

Values for PinnedDiscussionPattern

CHEVRON_UP

An upward-facing chevron pattern.

DOT

A hollow dot pattern.

DOT_FILL

A solid dot pattern.

HEART_FILL

A heart pattern.

PLUS

A plus sign pattern.

ZAP

A lightning bolt pattern.

PinnedEnvironmentOrderField

Properties by which pinned environments connections can be ordered.

Values for PinnedEnvironmentOrderField

POSITION

Order pinned environments by position.

ProjectCardArchivedState

The possible archived states of a project card.

Values for ProjectCardArchivedState

ARCHIVED

A project card that is archived.

NOT_ARCHIVED

A project card that is not archived.

ProjectCardState

Various content states of a ProjectCard.

Values for ProjectCardState

CONTENT_ONLY

The card has content only.

NOTE_ONLY

The card has a note only.

REDACTED

The card is redacted.

ProjectColumnPurpose

The semantic purpose of the column - todo, in progress, or done.

Values for ProjectColumnPurpose

DONE

The column contains cards which are complete.

IN_PROGRESS

The column contains cards which are currently being worked on.

TODO

The column contains cards still to be worked on.

ProjectOrderField

Properties by which project connections can be ordered.

Values for ProjectOrderField

CREATED_AT

Order projects by creation time.

NAME

Order projects by name.

UPDATED_AT

Order projects by update time.

ProjectState

State of the project; eitheropenor 'closed'.

Values for ProjectState

CLOSED

The project is closed.

OPEN

The project is open.

ProjectTemplate

GitHub-provided templates for Projects.

Values for ProjectTemplate

AUTOMATED_KANBAN_V2

Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns.

AUTOMATED_REVIEWS_KANBAN

Create a board with triggers to automatically move cards across columns with review automation.

BASIC_KANBAN

Create a board with columns for To do, In progress and Done.

BUG_TRIAGE

Create a board to triage and prioritize bugs with To do, priority, and Done columns.

ProjectV2CustomFieldType

The type of a project field.

Values for ProjectV2CustomFieldType

DATE

Date.

ITERATION

Iteration.

NUMBER

Number.

SINGLE_SELECT

Single Select.

TEXT

Text.

ProjectV2FieldOrderField

Properties by which project v2 field connections can be ordered.

Values for ProjectV2FieldOrderField

CREATED_AT

Order project v2 fields by creation time.

NAME

Order project v2 fields by name.

POSITION

Order project v2 fields by position.

ProjectV2FieldType

The type of a project field.

Values for ProjectV2FieldType

ASSIGNEES

Assignees.

DATE

Date.

ISSUE_TYPE

Issue type.

ITERATION

Iteration.

LABELS

Labels.

LINKED_PULL_REQUESTS

Linked Pull Requests.

MILESTONE

Milestone.

NUMBER

Number.

PARENT_ISSUE

Parent issue.

REPOSITORY

Repository.

REVIEWERS

Reviewers.

SINGLE_SELECT

Single Select.

SUB_ISSUES_PROGRESS

Sub-issues progress.

TEXT

Text.

TITLE

Title.

TRACKED_BY

Tracked by.

TRACKS

Tracks.

ProjectV2ItemFieldValueOrderField

Properties by which project v2 item field value connections can be ordered.

Values for ProjectV2ItemFieldValueOrderField

POSITION

Order project v2 item field values by the their position in the project.

ProjectV2ItemOrderField

Properties by which project v2 item connections can be ordered.

Values for ProjectV2ItemOrderField

POSITION

Order project v2 items by the their position in the project.

ProjectV2ItemType

The type of a project item.

Values for ProjectV2ItemType

DRAFT_ISSUE

Draft Issue.

ISSUE

Issue.

PULL_REQUEST

Pull Request.

REDACTED

Redacted Item.

ProjectV2OrderField

Properties by which projects can be ordered.

Values for ProjectV2OrderField

CREATED_AT

The project's date and time of creation.

NUMBER

项目的编号。

TITLE

The project's title.

UPDATED_AT

The project's date and time of update.

ProjectV2PermissionLevel

The possible roles of a collaborator on a project.

Values for ProjectV2PermissionLevel

ADMIN

The collaborator can view, edit, and maange the settings of the project.

READ

The collaborator can view the project.

WRITE

The collaborator can view and edit the project.

ProjectV2Roles

The possible roles of a collaborator on a project.

Values for ProjectV2Roles

ADMIN

The collaborator can view, edit, and maange the settings of the project.

NONE

The collaborator has no direct access to the project.

READER

The collaborator can view the project.

WRITER

The collaborator can view and edit the project.

ProjectV2SingleSelectFieldOptionColor

The display color of a single-select field option.

Values for ProjectV2SingleSelectFieldOptionColor

BLUE

BLUE.

GRAY

GRAY.

GREEN

GREEN.

ORANGE

ORANGE.

PINK

PINK.

PURPLE

PURPLE.

RED

RED.

YELLOW

YELLOW.

ProjectV2State

The possible states of a project v2.

Values for ProjectV2State

CLOSED

A project v2 that has been closed.

OPEN

A project v2 that is still open.

ProjectV2StatusUpdateOrderField

Properties by which project v2 status updates can be ordered.

Values for ProjectV2StatusUpdateOrderField

CREATED_AT

Allows chronological ordering of project v2 status updates.

ProjectV2StatusUpdateStatus

The possible statuses of a project v2.

Values for ProjectV2StatusUpdateStatus

AT_RISK

A project v2 that is at risk and encountering some challenges.

COMPLETE

A project v2 that is complete.

INACTIVE

A project v2 that is inactive.

OFF_TRACK

A project v2 that is off track and needs attention.

ON_TRACK

A project v2 that is on track with no risks.

ProjectV2ViewLayout

The layout of a project v2 view.

Values for ProjectV2ViewLayout

BOARD_LAYOUT

Board layout.

ROADMAP_LAYOUT

Roadmap layout.

TABLE_LAYOUT

Table layout.

ProjectV2ViewOrderField

Properties by which project v2 view connections can be ordered.

Values for ProjectV2ViewOrderField

CREATED_AT

Order project v2 views by creation time.

NAME

Order project v2 views by name.

POSITION

Order project v2 views by position.

ProjectV2WorkflowsOrderField

Properties by which project workflows can be ordered.

Values for ProjectV2WorkflowsOrderField

CREATED_AT

The date and time of the workflow creation.

NAME

工作流的名称。

NUMBER

The number of the workflow.

UPDATED_AT

The date and time of the workflow update.

PullRequestAllowedMergeMethods

允许的合并方法数组。允许的值包括 mergesquashrebase。必须至少启用一个选项。

Values for PullRequestAllowedMergeMethods

MERGE

Add all commits from the head branch to the base branch with a merge commit.

REBASE

Add all commits from the head branch onto the base branch individually.

SQUASH

Combine all commits from the head branch into a single commit in the base branch.

PullRequestBranchUpdateMethod

The possible methods for updating a pull request's head branch with the base branch.

Values for PullRequestBranchUpdateMethod

MERGE

Update branch via merge.

REBASE

Update branch via rebase.

PullRequestCreationPolicy

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

Values for PullRequestCreationPolicy

ALL

Anyone can create pull requests.

COLLABORATORS_ONLY

Only collaborators can create pull requests.

PullRequestMergeMethod

Represents available types of methods to use when merging a pull request.

Values for PullRequestMergeMethod

MERGE

Add all commits from the head branch to the base branch with a merge commit.

REBASE

Add all commits from the head branch onto the base branch individually.

SQUASH

Combine all commits from the head branch into a single commit in the base branch.

PullRequestOrderField

Properties by which pull_requests connections can be ordered.

Values for PullRequestOrderField

CREATED_AT

Order pull_requests by creation time.

UPDATED_AT

Order pull_requests by update time.

PullRequestReviewCommentState

The possible states of a pull request review comment.

Values for PullRequestReviewCommentState

PENDING

A comment that is part of a pending review.

SUBMITTED

A comment that is part of a submitted review.

PullRequestReviewDecision

The review status of a pull request.

Values for PullRequestReviewDecision

APPROVED

The pull request has received an approving review.

CHANGES_REQUESTED

Changes have been requested on the pull request.

REVIEW_REQUIRED

A review is required before the pull request can be merged.

PullRequestReviewEvent

The possible events to perform on a pull request review.

Values for PullRequestReviewEvent

APPROVE

Submit feedback and approve merging these changes.

COMMENT

Submit general feedback without explicit approval.

DISMISS

Dismiss review so it now longer effects merging.

REQUEST_CHANGES

Submit feedback that must be addressed before merging.

PullRequestReviewState

The possible states of a pull request review.

Values for PullRequestReviewState

APPROVED

A review allowing the pull request to merge.

CHANGES_REQUESTED

A review blocking the pull request from merging.

COMMENTED

An informational review.

DISMISSED

A review that has been dismissed.

PENDING

A review that has not yet been submitted.

PullRequestReviewThreadSubjectType

The possible subject types of a pull request review comment.

Values for PullRequestReviewThreadSubjectType

FILE

A comment that has been made against the file of a pull request.

LINE

A comment that has been made against the line of a pull request.

PullRequestState

The possible states of a pull request.

Values for PullRequestState

CLOSED

A pull request that has been closed without being merged.

MERGED

A pull request that has been closed by being merged.

OPEN

A pull request that is still open.

PullRequestTimelineItemsItemType

The possible item types found in a timeline.

Values for PullRequestTimelineItemsItemType

ADDED_TO_MERGE_QUEUE_EVENT

Represents anadded_to_merge_queueevent on a given pull request.

ADDED_TO_PROJECT_EVENT

Represents aadded_to_projectevent on a given issue or pull request.

ADDED_TO_PROJECT_V2_EVENT

Represents aadded_to_project_v2event on a given issue or pull request.

ASSIGNED_EVENT

Represents anassignedevent on any assignable object.

AUTOMATIC_BASE_CHANGE_FAILED_EVENT

Represents aautomatic_base_change_failedevent on a given pull request.

AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT

Represents aautomatic_base_change_succeededevent on a given pull request.

AUTO_MERGE_DISABLED_EVENT

Represents aauto_merge_disabledevent on a given pull request.

AUTO_MERGE_ENABLED_EVENT

Represents aauto_merge_enabledevent on a given pull request.

AUTO_REBASE_ENABLED_EVENT

Represents aauto_rebase_enabledevent on a given pull request.

AUTO_SQUASH_ENABLED_EVENT

Represents aauto_squash_enabledevent on a given pull request.

BASE_REF_CHANGED_EVENT

Represents abase_ref_changedevent on a given issue or pull request.

BASE_REF_DELETED_EVENT

Represents abase_ref_deletedevent on a given pull request.

BASE_REF_FORCE_PUSHED_EVENT

Represents abase_ref_force_pushedevent on a given pull request.

BLOCKED_BY_ADDED_EVENT

Represents ablocked_by_addedevent on a given issue.

BLOCKED_BY_REMOVED_EVENT

Represents ablocked_by_removedevent on a given issue.

BLOCKING_ADDED_EVENT

Represents ablocking_addedevent on a given issue.

BLOCKING_REMOVED_EVENT

Represents ablocking_removedevent on a given issue.

CLOSED_EVENT

Represents aclosedevent on any Closable.

COMMENT_DELETED_EVENT

Represents acomment_deletedevent on a given issue or pull request.

CONNECTED_EVENT

Represents aconnectedevent on a given issue or pull request.

CONVERTED_FROM_DRAFT_EVENT

Represents aconverted_from_draftevent on a given issue or pull request.

CONVERTED_NOTE_TO_ISSUE_EVENT

Represents aconverted_note_to_issueevent on a given issue or pull request.

CONVERTED_TO_DISCUSSION_EVENT

Represents aconverted_to_discussionevent on a given issue.

CONVERT_TO_DRAFT_EVENT

Represents aconvert_to_draftevent on a given pull request.

CROSS_REFERENCED_EVENT

Represents a mention made by one issue or pull request to another.

DEMILESTONED_EVENT

Represents ademilestonedevent on a given issue or pull request.

DEPLOYED_EVENT

Represents adeployedevent on a given pull request.

DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT

Represents adeployment_environment_changedevent on a given pull request.

DISCONNECTED_EVENT

Represents adisconnectedevent on a given issue or pull request.

HEAD_REF_DELETED_EVENT

Represents ahead_ref_deletedevent on a given pull request.

HEAD_REF_FORCE_PUSHED_EVENT

Represents ahead_ref_force_pushedevent on a given pull request.

HEAD_REF_RESTORED_EVENT

Represents ahead_ref_restoredevent on a given pull request.

ISSUE_COMMENT

Represents a comment on an Issue.

ISSUE_COMMENT_PINNED_EVENT

Represents aissue_comment_pinnedevent on a given issue.

ISSUE_COMMENT_UNPINNED_EVENT

Represents aissue_comment_unpinnedevent on a given issue.

ISSUE_FIELD_ADDED_EVENT

Represents aissue_field_addedevent on a given issue.

ISSUE_FIELD_CHANGED_EVENT

Represents aissue_field_changedevent on a given issue.

ISSUE_FIELD_REMOVED_EVENT

Represents aissue_field_removedevent on a given issue.

ISSUE_TYPE_ADDED_EVENT

Represents aissue_type_addedevent on a given issue.

ISSUE_TYPE_CHANGED_EVENT

Represents aissue_type_changedevent on a given issue.

ISSUE_TYPE_REMOVED_EVENT

Represents aissue_type_removedevent on a given issue.

LABELED_EVENT

Represents alabeledevent on a given issue or pull request.

LOCKED_EVENT

Represents alockedevent on a given issue or pull request.

MARKED_AS_DUPLICATE_EVENT

Represents amarked_as_duplicateevent on a given issue or pull request.

MENTIONED_EVENT

Represents amentionedevent on a given issue or pull request.

MERGED_EVENT

Represents amergedevent on a given pull request.

MILESTONED_EVENT

Represents amilestonedevent on a given issue or pull request.

MOVED_COLUMNS_IN_PROJECT_EVENT

Represents amoved_columns_in_projectevent on a given issue or pull request.

PARENT_ISSUE_ADDED_EVENT

Represents aparent_issue_addedevent on a given issue.

PARENT_ISSUE_REMOVED_EVENT

Represents aparent_issue_removedevent on a given issue.

PINNED_EVENT

Represents apinnedevent on a given issue or pull request.

PROJECT_V2_ITEM_STATUS_CHANGED_EVENT

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

PULL_REQUEST_COMMIT

Represents a Git commit part of a pull request.

PULL_REQUEST_COMMIT_COMMENT_THREAD

Represents a commit comment thread part of a pull request.

PULL_REQUEST_REVIEW

A review object for a given pull request.

PULL_REQUEST_REVIEW_THREAD

A threaded list of comments for a given pull request.

PULL_REQUEST_REVISION_MARKER

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

READY_FOR_REVIEW_EVENT

Represents aready_for_reviewevent on a given pull request.

REFERENCED_EVENT

Represents areferencedevent on a given ReferencedSubject.

REMOVED_FROM_MERGE_QUEUE_EVENT

Represents aremoved_from_merge_queueevent on a given pull request.

REMOVED_FROM_PROJECT_EVENT

Represents aremoved_from_projectevent on a given issue or pull request.

REMOVED_FROM_PROJECT_V2_EVENT

Represents aremoved_from_project_v2event on a given issue or pull request.

RENAMED_TITLE_EVENT

Represents arenamedevent on a given issue or pull request.

REOPENED_EVENT

Represents areopenedevent on any Closable.

REVIEW_DISMISSED_EVENT

Represents areview_dismissedevent on a given issue or pull request.

REVIEW_REQUESTED_EVENT

Represents anreview_requestedevent on a given pull request.

REVIEW_REQUEST_REMOVED_EVENT

Represents anreview_request_removedevent on a given pull request.

SUBSCRIBED_EVENT

Represents asubscribedevent on a given Subscribable.

SUB_ISSUE_ADDED_EVENT

Represents asub_issue_addedevent on a given issue.

SUB_ISSUE_REMOVED_EVENT

Represents asub_issue_removedevent on a given issue.

TRANSFERRED_EVENT

Represents atransferredevent on a given issue or pull request.

UNASSIGNED_EVENT

Represents anunassignedevent on any assignable object.

UNLABELED_EVENT

Represents anunlabeledevent on a given issue or pull request.

UNLOCKED_EVENT

Represents anunlockedevent on a given issue or pull request.

UNMARKED_AS_DUPLICATE_EVENT

Represents anunmarked_as_duplicateevent on a given issue or pull request.

UNPINNED_EVENT

Represents anunpinnedevent on a given issue or pull request.

UNSUBSCRIBED_EVENT

Represents anunsubscribedevent on a given Subscribable.

USER_BLOCKED_EVENT

Represents auser_blockedevent on a given user.

PullRequestUpdateState

The possible target states when updating a pull request.

Values for PullRequestUpdateState

CLOSED

A pull request that has been closed without being merged.

OPEN

A pull request that is still open.

ReactionContent

Emojis that can be attached to Issues, Pull Requests and Comments.

Values for ReactionContent

CONFUSED

Represents the :confused: emoji.

EYES

Represents the :eyes: emoji.

HEART

Represents the :heart: emoji.

HOORAY

Represents the :hooray: emoji.

LAUGH

Represents the :laugh: emoji.

ROCKET

Represents the :rocket: emoji.

THUMBS_DOWN

Represents the :-1: emoji.

THUMBS_UP

Represents the :+1: emoji.

ReactionOrderField

A list of fields that reactions can be ordered by.

Values for ReactionOrderField

CREATED_AT

Allows ordering a list of reactions by when they were created.

RefOrderField

Properties by which ref connections can be ordered.

Values for RefOrderField

ALPHABETICAL

Order refs by their alphanumeric name.

TAG_COMMIT_DATE

Order refs by underlying commit date if the ref prefix is refs/tags/.

ReleaseOrderField

Properties by which release connections can be ordered.

Values for ReleaseOrderField

CREATED_AT

Order releases by creation time.

NAME

Order releases alphabetically by name.

RepoAccessAuditEntryVisibility

The privacy of a repository.

Values for RepoAccessAuditEntryVisibility

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

The privacy of a repository.

Values for RepoAddMemberAuditEntryVisibility

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

The privacy of a repository.

Values for RepoArchivedAuditEntryVisibility

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

The merge options available for pull requests to this repository.

Values for RepoChangeMergeSettingAuditEntryMergeType

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

The privacy of a repository.

Values for RepoCreateAuditEntryVisibility

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

The privacy of a repository.

Values for RepoDestroyAuditEntryVisibility

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

The privacy of a repository.

Values for RepoRemoveMemberAuditEntryVisibility

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.

ReportedContentClassifiers

The reasons a piece of content can be reported or minimized.

Values for ReportedContentClassifiers

ABUSE

An abusive or harassing piece of content.

DUPLICATE

A duplicated piece of content.

OFF_TOPIC

An irrelevant piece of content.

OUTDATED

An outdated piece of content.

RESOLVED

The content has been resolved.

SPAM

A spammy piece of content.

RepositoryAffiliation

The affiliation of a user to a repository.

Values for RepositoryAffiliation

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

The reason a repository is listed as 'contributed'.

Values for RepositoryContributionType

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

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

Values for RepositoryCustomPropertyValuesEditableBy

ORG_ACTORS

The organization actors.

ORG_AND_REPO_ACTORS

The organization and repository actors.

RepositoryInteractionLimit

A repository interaction limit.

Values for RepositoryInteractionLimit

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

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

Values for RepositoryInteractionLimitExpiry

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

Indicates where an interaction limit is configured.

Values for RepositoryInteractionLimitOrigin

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

Properties by which repository invitation connections can be ordered.

Values for RepositoryInvitationOrderField

CREATED_AT

Order repository invitations by creation time.

RepositoryLockReason

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

Values for RepositoryLockReason

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.

RepositoryMigrationOrderDirection

Possible directions in which to order a list of repository migrations when provided an orderBy argument.

Values for RepositoryMigrationOrderDirection

ASC

Specifies an ascending order for a given orderBy argument.

DESC

Specifies a descending order for a given orderBy argument.

RepositoryMigrationOrderField

Properties by which repository migrations can be ordered.

Values for RepositoryMigrationOrderField

CREATED_AT

Order mannequins why when they were created.

RepositoryOrderField

Properties by which repository connections can be ordered.

Values for RepositoryOrderField

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

The access level to a repository.

Values for RepositoryPermission

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

The privacy of a repository.

Values for RepositoryPrivacy

PRIVATE

Private.

PUBLIC

Public.

RepositoryRuleOrderField

Properties by which repository rule connections can be ordered.

Values for RepositoryRuleOrderField

CREATED_AT

Order repository rules by created time.

TYPE

Order repository rules by type.

UPDATED_AT

Order repository rules by updated time.

RepositoryRuleType

The rule types supported in rulesets.

Values for RepositoryRuleType

AUTHORIZATION

Authorization.

BRANCH_NAME_PATTERN

Branch name pattern.

CODE_SCANNING

选择哪些工具必须在引用更新之前提供代码扫描结果。配置后,必须启用代码扫描并为提交和正在更新的引用提供结果。

COMMITTER_EMAIL_PATTERN

Committer email pattern.

COMMIT_AUTHOR_EMAIL_PATTERN

Commit author email pattern.

COMMIT_MESSAGE_PATTERN

Commit message pattern.

COPILOT_CODE_REVIEW

如果作者有权访问 Copilot 代码评审且其高级请求配额尚未达到限制,则自动为新的拉取请求请求 Copilot 代码评审。

CREATION

仅允许拥有绕过权限的用户创建匹配的引用。

DELETION

仅允许拥有绕过权限的用户删除匹配的引用。

FILE_EXTENSION_RESTRICTION

防止包含具有指定扩展名的文件的提交被推送到提交图中。

FILE_PATH_RESTRICTION

防止包含指定文件和文件夹路径更改的提交被推送到提交图中。这包括包含文件名的绝对路径。

LOCK_BRANCH

Branch is read-only. Users cannot push to the branch.

MAX_FILE_PATH_LENGTH

防止包含超过指定字符限制的文件路径的提交被推送到提交图。

MAX_FILE_SIZE

防止包含超过指定限制的单个文件的提交被推送到提交图。

MAX_REF_UPDATES

Max ref updates.

MERGE_QUEUE

合并必须通过合并队列执行。

MERGE_QUEUE_LOCKED_REF

Merge queue locked ref.

NON_FAST_FORWARD

阻止拥有推送权限的用户对引用进行强制推送。

PULL_REQUEST

要求所有提交在合并前必须先提交到非目标分支,并随后通过拉取请求提交。

REQUIRED_DEPLOYMENTS

选择在将引用推送到匹配此规则的引用之前,必须成功部署到的环境。

REQUIRED_LINEAR_HISTORY

阻止向匹配的引用推送合并提交。

REQUIRED_REVIEW_THREAD_RESOLUTION

启用后,代码上的所有对话必须先得到解决,然后拉取请求才能合并到与此规则匹配的分支中。

REQUIRED_SIGNATURES

推送到匹配引用的提交必须具有已验证的签名。

REQUIRED_STATUS_CHECKS

选择更新引用前必须通过的状态检查。启用后,提交必须首先推送到另一个通过检查的引用。

REQUIRED_WORKFLOW_STATUS_CHECKS

要求所有提交都必须提交到非目标分支,并通过拉取请求提交,并且必须通过所需的工作流检查才能合并。

SECRET_SCANNING

密钥扫描。

TAG

标签。

TAG_NAME_PATTERN

标签名称模式。

UPDATE

仅允许具有绕过权限的用户更新匹配的引用。

WORKFLOWS

要求对目标分支所做的所有更改在合并前必须通过指定的工作流。

WORKFLOW_UPDATES

工作流文件无法修改。

RepositoryRulesetBypassActorBypassMode

规则集上特定角色的绕过模式。

RepositoryRulesetBypassActorBypassMode 的值

ALWAYS

角色始终可以绕过规则。

EXEMPT

角色不受规则约束,无需生成通过/失败结果。

PULL_REQUEST

角色只能通过拉取请求绕过规则。

RepositoryRulesetTarget

规则集支持的目标。

RepositoryRulesetTarget 的值

BRANCH

分支。

PUSH

推送。

REPOSITORY

repository。

TAG

标签。

RepositorySuggestedActorFilter

存储库中建议角色的可能筛选条件。

RepositorySuggestedActorFilter 的值

CAN_BE_ASSIGNED

可以分配给议题和拉取请求的角色。

CAN_BE_AUTHOR

可以作为议题和拉取请求作者的角色。

RepositoryVisibility

存储库的可见性级别。

RepositoryVisibility 的值

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.

RepositoryVulnerabilityAlertDependencyRelationship

警报依赖项的可能关系。

RepositoryVulnerabilityAlertDependencyRelationship 的值

DIRECT

项目的直接依赖项。

INCONCLUSIVE

无法确定关系。

TRANSITIVE

项目的传递依赖项。

UNKNOWN

关系未知。

RepositoryVulnerabilityAlertDependencyScope

警报依赖项的可能范围。

RepositoryVulnerabilityAlertDependencyScope 的值

DEVELOPMENT

仅用于开发的依赖项。

RUNTIME

在应用程序运行时利用的依赖项。

RepositoryVulnerabilityAlertState

警报的可能状态。

RepositoryVulnerabilityAlertState 的值

AUTO_DISMISSED

Dependabot 自动关闭的警报。

DISMISSED

用户手动关闭的警报。

FIXED

已通过代码更改解决的警报。

OPEN

仍处于打开状态的警报。

RequestableCheckStatusState

创建检查运行时可以请求的可能状态。

RequestableCheckStatusState 的值

COMPLETED

检查套件或运行已完成。

IN_PROGRESS

检查套件或运行正在进行中。

PENDING

检查套件或运行处于待处理状态。

QUEUED

检查套件或运行已排队。

WAITING

检查套件或运行处于等待状态。

RoleInOrganization

用户与组织相关的可能角色。

RoleInOrganization 的值

DIRECT_MEMBER

组织的直接成员。

OWNER

对组织拥有完全管理访问权限的用户。

UNAFFILIATED

与组织无关的用户。

RuleEnforcement

规则或规则集的强制级别。

RuleEnforcement 的值

ACTIVE

规则将被强制执行。

DISABLED

不评估或强制执行规则。

EVALUATE

允许管理员在强制执行规则之前对其进行测试。管理员可以在“规则见解”页面(`evaluate` 仅在 GitHub Enterprise 中可用)上查看见解。

SamlDigestAlgorithm

用于为身份提供程序签署 SAML 请求的可能摘要算法。

SamlDigestAlgorithm 的值

SHA1

SHA1。

SHA256

SHA256。

SHA384

SHA384。

SHA512

SHA512。

SamlSignatureAlgorithm

用于为身份提供程序签署 SAML 请求的可能签名算法。

SamlSignatureAlgorithm 的值

RSA_SHA1

RSA-SHA1。

RSA_SHA256

RSA-SHA256。

RSA_SHA384

RSA-SHA384。

RSA_SHA512

RSA-SHA512。

SavedReplyOrderField

可以对已保存回复连接进行排序的属性。

SavedReplyOrderField 的值

UPDATED_AT

按更新时间排序已保存的回复。

SearchType

表示单个搜索结果。

SearchType 的值

DISCUSSION

返回存储库中匹配的讨论。

ISSUE

返回存储库中匹配议题的结果。

ISSUE_ADVANCED

返回存储库中匹配议题的结果。

ISSUE_HYBRID

使用混合(词汇 + 语义)搜索返回匹配议题的结果。

ISSUE_SEMANTIC

使用语义搜索返回匹配议题的结果。

REPOSITORY

返回匹配存储库的结果。

USER

返回 GitHub 上匹配用户和组织的结果。

SecurityAdvisoryClassification

咨询的分类。

SecurityAdvisoryClassification 的值

GENERAL

一般咨询的分类。

MALWARE

恶意软件咨询的分类。

SecurityAdvisoryEcosystem

安全漏洞包的可能生态系统。

SecurityAdvisoryEcosystem 的值

ACTIONS

GitHub Actions。

COMPOSER

托管在 packagist.org 上的 PHP 包。

ERLANG

托管在 hex.pm 上的 Erlang/Elixir 包。

GO

Go 模块。

MAVEN

托管在 Maven 中央存储库上的 Java 工件。

NPM

托管在 npmjs.com 上的 JavaScript 包。

NUGET

托管在 NuGet Gallery 上的 .NET 包。

PIP

托管在 PyPI.org 上的 Python 包。

PUB

托管在 pub.dev 上的 Dart 包。

RUBYGEMS

托管在 RubyGems.org 上的 Ruby gem。

RUST

Rust crate。

SWIFT

Swift 包。

SecurityAdvisoryIdentifierType

咨询可用的标识符格式。

SecurityAdvisoryIdentifierType 的值

CVE

常见漏洞和暴露标识符。

GHSA

GitHub 安全咨询 ID。

SecurityAdvisoryOrderField

可以对安全咨询连接进行排序的属性。

SecurityAdvisoryOrderField 的值

EPSS_PERCENTAGE

按 EPSS 百分比排序咨询。

EPSS_PERCENTILE

按 EPSS 百分位数排序咨询。

PUBLISHED_AT

按发布时间排序咨询。

UPDATED_AT

按更新时间排序咨询。

SecurityAdvisorySeverity

漏洞的严重性。

SecurityAdvisorySeverity 的值

CRITICAL

严重。

HIGH

高。

LOW

低。

MODERATE

中等。

SecurityVulnerabilityOrderField

可以对安全漏洞连接进行排序的属性。

SecurityVulnerabilityOrderField 的值

UPDATED_AT

按更新时间排序漏洞。

SocialAccountProvider

托管社交媒体账户的软件或公司。

SocialAccountProvider 的值

BLUESKY

去中心化的微博社交平台。

FACEBOOK

社交媒体和网络网站。

GENERIC

尚未有特定处理方式的社交媒体提供商的统称。

HOMETOWN

Mastodon 的分支,更侧重于本地发帖。

INSTAGRAM

侧重于照片和视频共享的社交媒体网站。

LINKEDIN

专业人脉网站。

MASTODON

开源的联合微博服务。

NPM

JavaScript 包注册表。

REDDIT

社交新闻聚合和讨论网站。

TWITCH

直播服务。

TWITTER

微博网站。

YOUTUBE

在线视频平台。

SponsorAndLifetimeValueOrderField

可以对赞助者和终身价值连接进行排序的属性。

SponsorAndLifetimeValueOrderField 的值

LIFETIME_VALUE

按赞助者总共支付的金额排序结果。

SPONSOR_LOGIN

按赞助者的登录名(用户名)排序结果。

SPONSOR_RELEVANCE

按赞助者与查看者的相关性排序结果。

SponsorOrderField

可以对赞助者连接进行排序的属性。

SponsorOrderField 的值

LOGIN

按登录名(用户名)排序可赞助实体。

RELEVANCE

按赞助者与查看者的相关性排序赞助者。

SponsorableOrderField

可以对可赞助连接进行排序的属性。

SponsorableOrderField 的值

LOGIN

按登录名(用户名)排序可赞助实体。

SponsorsActivityAction

GitHub Sponsors 活动可以表示的可能操作。

SponsorsActivityAction 的值

CANCELLED_SPONSORSHIP

活动是取消赞助。

NEW_SPONSORSHIP

活动是开始赞助。

PENDING_CHANGE

活动是安排降级或取消。

REFUND

活动是资金退还给赞助者或 GitHub。

SPONSOR_MATCH_DISABLED

活动是禁用先前匹配的赞助的匹配。

TIER_CHANGE

活动是更改赞助等级,由赞助者直接更改或由预定/待定更改更改。

SponsorsActivityOrderField

可以对 GitHub Sponsors 活动连接进行排序的属性。

SponsorsActivityOrderField 的值

TIMESTAMP

按活动发生时间排序活动。

SponsorsActivityPeriod

可以请求赞助者活动的可能时间段。

SponsorsActivityPeriod 的值

ALL

不限制活动日期范围,包括所有活动。

DAY

前一个日历日。

MONTH

前三十天。

WEEK

前七天。

SponsorsCountryOrRegionCode

表示 GitHub Sponsors 个人资料的账单和居住国家或地区。

SponsorsCountryOrRegionCode 的值

AD

安道尔。

AE

阿拉伯联合酋长国。

AF

阿富汗。

AG

安提瓜和巴布达。

AI

安圭拉。

AL

阿尔巴尼亚。

AM

亚美尼亚。

AO

安哥拉。

AQ

南极洲。

AR

阿根廷。

AS

美属萨摩亚。

AT

奥地利。

AU

澳大利亚。

AW

阿鲁巴。

AX

奥兰。

AZ

阿塞拜疆。

BA

波斯尼亚和黑塞哥维那。

BB

巴巴多斯。

BD

孟加拉国。

BE

比利时。

BF

布基纳法索。

BG

保加利亚。

BH

巴林。

BI

布隆迪。

BJ

贝宁。

BL

圣巴泰勒米。

BM

百慕大。

BN

文莱达鲁萨兰国。

BO

玻利维亚。

BQ

博奈尔、圣尤斯塔蒂乌斯和萨巴。

BR

巴西。

BS

巴哈马。

BT

不丹。

BV

布韦岛。

BW

博茨瓦纳。

BY

白俄罗斯。

BZ

伯利兹。

CA

加拿大。

CC

科科斯(基林)群岛。

CD

刚果(金沙萨)。

CF

中非共和国。

CG

刚果(布拉柴维尔)。

CH

瑞士。

CI

科特迪瓦。

CK

库克群岛。

CL

智利。

CM

喀麦隆。

CN

中国。

CO

哥伦比亚。

CR

哥斯达黎加。

CV

佛得角。

CW

库拉索。

CX

圣诞岛。

CY

塞浦路斯。

CZ

捷克共和国。

DE

德国。

DJ

吉布提。

DK

丹麦。

DM

多米尼克。

DO

多米尼加共和国。

DZ

阿尔及利亚。

EC

厄瓜多尔。

EE

爱沙尼亚。

EG

埃及。

EH

西撒哈拉。

ER

厄立特里亚。

ES

西班牙。

ET

埃塞俄比亚。

FI

芬兰。

FJ

斐济。

FK

福克兰群岛。

FM

密克罗尼西亚。

FO

法罗群岛。

FR

法国。

GA

加蓬。

GB

英国。

GD

格林纳达。

GE

格鲁吉亚。

GF

法属圭亚那。

GG

根西岛。

GH

加纳。

GI

直布罗陀。

GL

格陵兰。

GM

冈比亚。

GN

几内亚。

GP

瓜德罗普。

GQ

赤道几内亚。

GR

希腊。

GS

南乔治亚岛和南桑威奇群岛。

GT

危地马拉。

GU

关岛。

GW

几内亚比绍。

GY

圭亚那。

HK

香港。

HM

赫德岛和麦克唐纳群岛。

HN

洪都拉斯。

HR

克罗地亚。

HT

海地。

HU

匈牙利。

ID

印度尼西亚。

IE

爱尔兰。

IL

以色列。

IM

马恩岛。

IN

印度。

IO

英属印度洋领地。

IQ

伊拉克。

IR

伊朗。

IS

冰岛。

IT

意大利。

JE

泽西岛。

JM

牙买加。

JO

约旦。

JP

日本。

KE

肯尼亚。

KG

吉尔吉斯斯坦。

KH

柬埔寨。

KI

基里巴斯。

KM

科摩罗。

KN

圣基茨和尼维斯。

KR

韩国。

KW

科威特。

KY

开曼群岛。

KZ

哈萨克斯坦。

LA

老挝。

LB

黎巴嫩。

LC

圣卢西亚。

LI

列支敦士登。

LK

斯里兰卡。

LR

利比里亚。

LS

莱索托。

LT

立陶宛。

LU

卢森堡。

LV

拉脱维亚。

LY

利比亚。

MA

摩洛哥。

MC

摩纳哥。

MD

摩尔多瓦。

ME

黑山。

MF

圣马丁(法属)。

MG

马达加斯加。

MH

马绍尔群岛。

MK

马其顿。

ML

马里。

MM

缅甸。

MN

蒙古。

MO

澳门。

MP

北马里亚纳群岛。

MQ

马提尼克。

MR

毛里塔尼亚。

MS

蒙特塞拉特。

MT

马耳他。

MU

毛里求斯。

MV

马尔代夫。

MW

马拉维。

MX

墨西哥。

MY

马来西亚。

MZ

莫桑比克。

NA

纳米比亚。

NC

新喀里多尼亚。

NE

尼日尔。

NF

诺福克岛。

NG

尼日利亚。

NI

尼加拉瓜。

NL

荷兰。

NO

挪威。

NP

尼泊尔。

NR

瑙鲁。

NU

纽埃。

NZ

新西兰。

OM

阿曼。

PA

巴拿马。

PE

秘鲁。

PF

法属波利尼西亚。

PG

巴布亚新几内亚。

PH

菲律宾。

PK

巴基斯坦。

PL

波兰。

PM

圣皮埃尔和密克隆。

PN

皮特凯恩。

PR

波多黎各。

PS

巴勒斯坦。

PT

葡萄牙。

PW

帕劳。

PY

巴拉圭。

QA

卡塔尔。

RE

留尼汪。

RO

罗马尼亚。

RS

塞尔维亚。

RU

俄罗斯联邦。

RW

卢旺达。

SA

沙特阿拉伯。

SB

所罗门群岛。

SC

塞舌尔。

SD

苏丹。

SE

瑞典。

SG

新加坡。

SH

圣赫勒拿。

SI

斯洛文尼亚。

SJ

斯瓦尔巴群岛和扬马延岛。

SK

斯洛伐克。

SL

塞拉利昂。

SM

圣马力诺。

SN

塞内加尔。

SO

索马里。

SR

苏里南。

SS

南苏丹。

ST

圣多美和普林西比。

SV

萨尔瓦多。

SX

圣马丁(荷属)。

SY

叙利亚。

SZ

斯威士兰。

TC

特克斯和凯科斯群岛。

TD

乍得。

TF

法属南部领地。

TG

多哥。

TH

泰国。

TJ

塔吉克斯坦。

TK

托克劳。

TL

东帝汶。

TM

土库曼斯坦。

TN

突尼斯。

TO

汤加。

TR

土耳其。

TT

特立尼达和多巴哥。

TV

图瓦卢。

TW

台湾。

TZ

坦桑尼亚。

UA

乌克兰。

UG

乌干达。

UM

美国本土外小岛屿。

US

美利坚合众国。

UY

乌拉圭。

UZ

乌兹别克斯坦。

VA

梵蒂冈。

VC

圣文森特和格林纳丁斯。

VE

委内瑞拉。

VG

英属维尔京群岛。

VI

美属维尔京群岛。

VN

越南。

VU

瓦努阿图。

WF

瓦利斯和富图纳群岛。

WS

萨摩亚。

YE

也门。

YT

马约特。

ZA

南非。

ZM

赞比亚。

ZW

津巴布韦。

SponsorsGoalKind

GitHub Sponsors 成员可以拥有的不同类型的目标。

SponsorsGoalKind 的值

MONTHLY_SPONSORSHIP_AMOUNT

目标是每月从赞助中获得一定数量的美元。

TOTAL_SPONSORS_COUNT

目标是达到一定数量的赞助者。

SponsorsListingFeaturedItemFeatureableType

可以在 GitHub Sponsors 个人资料页面上展示的不同类型的记录。

SponsorsListingFeaturedItemFeatureableType 的值

REPOSITORY

拥有 GitHub Sponsors 个人资料的用户或组织拥有的存储库。

USER

属于拥有 GitHub Sponsors 个人资料的组织的用户。

SponsorsTierOrderField

可以对赞助者等级连接进行排序的属性。

SponsorsTierOrderField 的值

CREATED_AT

按创建时间排序等级。

MONTHLY_PRICE_IN_CENTS

按每月价格(以美分计)排序等级。

SponsorshipNewsletterOrderField

可以对赞助更新连接进行排序的属性。

SponsorshipNewsletterOrderField 的值

CREATED_AT

按创建时间排序赞助通讯。

SponsorshipOrderField

可以对赞助连接进行排序的属性。

SponsorshipOrderField 的值

CREATED_AT

按创建时间排序赞助。

SponsorshipPaymentSource

为 GitHub Sponsors 赞助提供资金的付款方式。

SponsorshipPaymentSource 的值

GITHUB

通过 GitHub 完成付款。

PATREON

通过 Patreon 完成付款。

SponsorshipPrivacy

赞助的隐私。

SponsorshipPrivacy 的值

PRIVATE

Private.

PUBLIC

Public.

SquashMergeCommitMessage

压缩合并的可能默认提交消息。

SquashMergeCommitMessage 的值

BLANK

Default to a blank commit message.

COMMIT_MESSAGES

默认为分支的提交消息。

PR_BODY

Default to the pull request's body.

SquashMergeCommitTitle

压缩合并的可能默认提交标题。

SquashMergeCommitTitle 的值

COMMIT_OR_PR_TITLE

默认为提交的标题(如果只有一个提交)或拉取请求的标题(如果多于一个提交)。

PR_TITLE

Default to the pull request's title.

StarOrderField

可以对星标连接进行排序的属性。

StarOrderField 的值

STARRED_AT

允许按星标创建时间排序星标列表。

StatusState

可能的提交状态。

StatusState 的值

ERROR

状态错误。

EXPECTED

状态符合预期。

FAILURE

状态失败。

PENDING

状态待定。

SUCCESS

状态成功。

SubscriptionState

订阅的可能状态。

SubscriptionState 的值

IGNORED

用户从不接收通知。

SUBSCRIBED

用户接收所有对话的通知。

UNSUBSCRIBED

用户仅在参与或被 @提到时接收通知。

TeamMemberOrderField

可以对团队成员连接进行排序的属性。

TeamMemberOrderField 的值

CREATED_AT

按创建时间排序团队成员。

LOGIN

按登录名排序团队成员。

TeamMemberRole

可能的团队成员角色;'maintainer' 或 'member'。

TeamMemberRole 的值

MAINTAINER

团队维护者有权添加和删除团队成员。

MEMBER

团队成员对团队没有管理权限。

TeamMembershipType

定义返回列表中包含的团队成员类型。可以是 IMMEDIATE、CHILD_TEAM 或 ALL 之一。

TeamMembershipType 的值

ALL

包括团队的直接和子团队成员。

CHILD_TEAM

仅包括团队的子团队成员。

IMMEDIATE

仅包括团队的直接成员。

TeamNotificationSetting

可能的团队通知值。

TeamNotificationSetting 的值

NOTIFICATIONS_DISABLED

没有人会收到通知。

NOTIFICATIONS_ENABLED

当团队被 @提到时,每个人都会收到通知。

TeamOrderField

可以对团队连接进行排序的属性。

TeamOrderField 的值

NAME

允许按名称排序团队列表。

TeamPrivacy

可能的团队隐私值。

TeamPrivacy 的值

SECRET

秘密团队只能被其成员看到。

VISIBLE

可见团队可以被组织的每个成员看到和 @提到。

TeamRepositoryOrderField

可以对团队存储库连接进行排序的属性。

TeamRepositoryOrderField 的值

CREATED_AT

Order repositories by creation time.

NAME

Order repositories by name.

PERMISSION

按权限排序存储库。

PUSHED_AT

Order repositories by push time.

STARGAZERS

Order repositories by number of stargazers.

UPDATED_AT

Order repositories by update time.

TeamReviewAssignmentAlgorithm

可能的团队审查分配算法。

TeamReviewAssignmentAlgorithm 的值

LOAD_BALANCE

在整个团队中平衡审查负载。

ROUND_ROBIN

在每个团队成员之间交替审查。

TeamRole

用户在团队中的角色。

TeamRole 的值

ADMIN

用户在团队中具有管理员权限。

MEMBER

用户是团队的成员。

ThreadSubscriptionFormAction

线程订阅表单操作的可能状态。

ThreadSubscriptionFormAction 的值

NONE

用户无法订阅或取消订阅线程。

SUBSCRIBE

用户可以订阅线程。

UNSUBSCRIBE

用户可以取消订阅线程。

ThreadSubscriptionState

订阅的可能状态。

ThreadSubscriptionState 的值

DISABLED

订阅状态当前已禁用。

IGNORING_LIST

用户从不接收通知,因为他们忽略了列表。

IGNORING_THREAD

用户从不接收通知,因为他们忽略了线程。

NONE

用户没有从该线程接收通知。

SUBSCRIBED_TO_LIST

用户接收通知,因为他们正在监视列表。

SUBSCRIBED_TO_THREAD

用户接收通知,因为他们已订阅该线程。

SUBSCRIBED_TO_THREAD_EVENTS

用户接收通知,因为他们为该线程选择了自定义设置。

SUBSCRIBED_TO_THREAD_TYPE

用户接收通知,因为他们为该线程选择了自定义设置。

UNAVAILABLE

订阅状态当前不可用。

TopicSuggestionDeclineReason

建议主题被拒绝的原因。

TopicSuggestionDeclineReason 的值

NOT_RELEVANT

建议的主题与存储库无关。

PERSONAL_PREFERENCE

查看者不喜欢建议的主题。

TOO_GENERAL

建议的主题对于存储库来说过于笼统。

TOO_SPECIFIC

建议的主题对于存储库来说过于具体(例如 #ruby-on-rails-version-4-2-1)。

TrackedIssueStates

跟踪议题的可能状态。

TrackedIssueStates 的值

CLOSED

跟踪议题已关闭。

OPEN

跟踪议题已打开。

TwoFactorCredentialSecurityType

按是否启用 2FA 以及配置的方法是否被视为安全或不安全进行筛选。

TwoFactorCredentialSecurityType 的值

DISABLED

没有双因素身份验证方法。

INSECURE

具有不安全的双因素身份验证方法。GitHub 目前将其定义为 SMS 双因素身份验证。

SECURE

仅具有安全的双因素身份验证方法。

UserBlockDuration

用户可以被阻止的可能持续时间。

UserBlockDuration 的值

ONE_DAY

用户被阻止了 1 天。

ONE_MONTH

用户被阻止了 30 天。

ONE_WEEK

用户被阻止了 7 天。

PERMANENT

用户被永久阻止。

THREE_DAYS

用户被阻止了 3 天。

UserStatusOrderField

可以对用户状态连接进行排序的属性。

UserStatusOrderField 的值

UPDATED_AT

按更新时间排序用户状态。

UserViewType

被查看的用户是否包含公共或私人信息。

UserViewType 的值

PRIVATE

包含仅对经过身份验证的用户可见的信息的用户。

PUBLIC

可公开查看的用户。

VerifiableDomainOrderField

可以对可验证域连接进行排序的属性。

VerifiableDomainOrderField 的值

CREATED_AT

按创建日期排序可验证域。

DOMAIN

按域名排序可验证域。

WorkflowRunOrderField

可以对工作流运行连接进行排序的属性。

WorkflowRunOrderField 的值

CREATED_AT

按最近创建时间排序工作流运行。

WorkflowState

工作流的可能状态。

WorkflowState 的值

ACTIVE

工作流处于活动状态。

DELETED

工作流已从 git 存储库中删除。

DISABLED_FORK

工作流在派生上默认禁用。

DISABLED_INACTIVITY

工作流因存储库不活动而被禁用。

DISABLED_MANUALLY

工作流已手动禁用。

© . This site is unofficial and not affiliated with GitHub, Inc.