diff --git a/translations/log/cn-resets.csv b/translations/log/cn-resets.csv
index 267e9ef51e..1503899a33 100644
--- a/translations/log/cn-resets.csv
+++ b/translations/log/cn-resets.csv
@@ -29,7 +29,7 @@ translations/zh-CN/content/admin/code-security/managing-github-advanced-security
translations/zh-CN/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/deploying-github-advanced-security-in-your-enterprise.md,broken liquid tags
translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/about-supply-chain-security-for-your-enterprise.md,broken liquid tags
translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/viewing-the-vulnerability-data-for-your-enterprise.md,broken liquid tags
-translations/zh-CN/content/admin/configuration/configuring-github-connect/about-github-connect.md,rendering error
+translations/zh-CN/content/admin/configuration/configuring-github-connect/about-github-connect.md,broken liquid tags
translations/zh-CN/content/admin/configuration/configuring-github-connect/enabling-automatic-user-license-sync-for-your-enterprise.md,broken liquid tags
translations/zh-CN/content/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise.md,broken liquid tags
translations/zh-CN/content/admin/configuration/configuring-github-connect/enabling-server-statistics-for-your-enterprise.md,broken liquid tags
@@ -199,6 +199,7 @@ translations/zh-CN/content/developers/github-marketplace/github-marketplace-over
translations/zh-CN/content/developers/github-marketplace/using-the-github-marketplace-api-in-your-app/handling-new-purchases-and-free-trials.md,broken liquid tags
translations/zh-CN/content/developers/overview/secret-scanning-partner-program.md,broken liquid tags
translations/zh-CN/content/developers/webhooks-and-events/webhooks/about-webhooks.md,broken liquid tags
+translations/zh-CN/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md,rendering error
translations/zh-CN/content/discussions/collaborating-with-your-community-using-discussions/about-discussions.md,broken liquid tags
translations/zh-CN/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-at-your-educational-institution/about-campus-advisors.md,broken liquid tags
translations/zh-CN/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-at-your-educational-institution/about-github-campus-program.md,broken liquid tags
@@ -319,6 +320,8 @@ translations/zh-CN/data/release-notes/enterprise-server/3-1/9.yml,broken liquid
translations/zh-CN/data/release-notes/enterprise-server/3-2/0-rc1.yml,broken liquid tags
translations/zh-CN/data/release-notes/enterprise-server/3-2/0.yml,broken liquid tags
translations/zh-CN/data/release-notes/enterprise-server/3-2/3.yml,broken liquid tags
+translations/zh-CN/data/release-notes/enterprise-server/3-3/0-rc1.yml,broken liquid tags
+translations/zh-CN/data/release-notes/enterprise-server/3-3/0.yml,broken liquid tags
translations/zh-CN/data/release-notes/github-ae/2021-03/2021-03-03.yml,broken liquid tags
translations/zh-CN/data/reusables/actions/actions-use-policy-settings.md,broken liquid tags
translations/zh-CN/data/reusables/actions/enterprise-common-prereqs.md,broken liquid tags
@@ -337,6 +340,7 @@ translations/zh-CN/data/reusables/code-scanning/enterprise-enable-code-scanning.
translations/zh-CN/data/reusables/code-scanning/run-additional-queries.md,broken liquid tags
translations/zh-CN/data/reusables/code-scanning/upload-sarif-ghas.md,broken liquid tags
translations/zh-CN/data/reusables/dependabot/dependabot-alerts-dependency-graph-enterprise.md,broken liquid tags
+translations/zh-CN/data/reusables/dependabot/enterprise-enable-dependabot.md,broken liquid tags
translations/zh-CN/data/reusables/dotcom_billing/downgrade-org-to-free.md,broken liquid tags
translations/zh-CN/data/reusables/enterprise-accounts/emu-password-reset-session.md,broken liquid tags
translations/zh-CN/data/reusables/enterprise-accounts/emu-short-summary.md,rendering error
diff --git a/translations/zh-CN/content/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications.md b/translations/zh-CN/content/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications.md
index 8bf7e159fe..9f48a72b7c 100644
--- a/translations/zh-CN/content/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications.md
+++ b/translations/zh-CN/content/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications.md
@@ -129,8 +129,8 @@ Email notifications from {% data variables.product.product_location %} contain t
| --- | --- |
| `From` address | This address will always be {% ifversion fpt or ghec %}'`notifications@github.com`'{% else %}'the no-reply email address configured by your site administrator'{% endif %}. |
| `To` field | This field connects directly to the thread.{% ifversion not ghae %} If you reply to the email, you'll add a new comment to the conversation.{% endif %} |
-| `Cc` address | {% data variables.product.product_name %} will `Cc` you if you're subscribed to a conversation. The second `Cc` email address matches the notification reason. The suffix for these notification reasons is {% data variables.notifications.cc_address %}. The possible notification reasons are:
- `assign`: You were assigned to an issue or pull request.
- `author`: You created an issue or pull request.
- `ci_activity`: A {% data variables.product.prodname_actions %} workflow run that you triggered was completed.
- `comment`: You commented on an issue or pull request.
- `manual`: There was an update to an issue or pull request you manually subscribed to.
- `mention`: You were mentioned on an issue or pull request.
- `push`: Someone committed to a pull request you're subscribed to.
- `review_requested`: You or a team you're a member of was requested to review a pull request.
{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}- `security_alert`: {% data variables.product.prodname_dotcom %} detected a vulnerability in a repository you receive alerts for.
{% endif %}- `state_change`: An issue or pull request you're subscribed to was either closed or opened.
- `subscribed`: There was an update in a repository you're watching.
- `team_mention`: A team you belong to was mentioned on an issue or pull request.
- `your_activity`: You opened, commented on, or closed an issue or pull request.
|
-| `mailing list` field | This field identifies the name of the repository and its owner. The format of this address is always `..{% data variables.command_line.backticks %}`. |{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+| `Cc` address | {% data variables.product.product_name %} will `Cc` you if you're subscribed to a conversation. The second `Cc` email address matches the notification reason. The suffix for these notification reasons is {% data variables.notifications.cc_address %}. The possible notification reasons are: - `assign`: You were assigned to an issue or pull request.
- `author`: You created an issue or pull request.
- `ci_activity`: A {% data variables.product.prodname_actions %} workflow run that you triggered was completed.
- `comment`: You commented on an issue or pull request.
- `manual`: There was an update to an issue or pull request you manually subscribed to.
- `mention`: You were mentioned on an issue or pull request.
- `push`: Someone committed to a pull request you're subscribed to.
- `review_requested`: You or a team you're a member of was requested to review a pull request.
{% ifversion fpt or ghes or ghae or ghec %}- `security_alert`: {% data variables.product.prodname_dotcom %} detected a vulnerability in a repository you receive alerts for.
{% endif %}- `state_change`: An issue or pull request you're subscribed to was either closed or opened.
- `subscribed`: There was an update in a repository you're watching.
- `team_mention`: A team you belong to was mentioned on an issue or pull request.
- `your_activity`: You opened, commented on, or closed an issue or pull request.
|
+| `mailing list` field | This field identifies the name of the repository and its owner. The format of this address is always `..{% data variables.command_line.backticks %}`. |{% ifversion fpt or ghes or ghae or ghec %}
| `X-GitHub-Severity` field | {% data reusables.repositories.security-alerts-x-github-severity %} The possible severity levels are:- `low`
- `moderate`
- `high`
- `critical`
For more information, see "[About {% data variables.product.prodname_dependabot_alerts %}](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)." |{% endif %}
## Choosing your notification settings
@@ -139,7 +139,7 @@ Email notifications from {% data variables.product.product_location %} contain t
{% data reusables.notifications-v2.manage-notifications %}
3. On the notifications settings page, choose how you receive notifications when:
- There are updates in repositories or team discussions you're watching or in a conversation you're participating in. For more information, see "[About participating and watching notifications](#about-participating-and-watching-notifications)."
- - You gain access to a new repository or you've joined a new team. For more information, see "[Automatic watching](#automatic-watching)."{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+ - You gain access to a new repository or you've joined a new team. For more information, see "[Automatic watching](#automatic-watching)."{% ifversion fpt or ghes or ghae or ghec %}
- There are new {% data variables.product.prodname_dependabot_alerts %} in your repository. For more information, see "[{% data variables.product.prodname_dependabot_alerts %} notification options](#dependabot-alerts-notification-options)." {% endif %} {% ifversion fpt or ghec %}
- There are workflow runs updates on repositories set up with {% data variables.product.prodname_actions %}. For more information, see "[{% data variables.product.prodname_actions %} notification options](#github-actions-notification-options)."{% endif %}{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5668 %}
- There are new deploy keys added to repositories that belong to organizations that you're an owner of. For more information, see "[Organization alerts notification options](#organization-alerts-notification-options)."{% endif %}
@@ -194,7 +194,7 @@ If you are a member of more than one organization, you can configure each one to
5. Select one of your verified email addresses, then click **Save**.

-{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes or ghae or ghec %}
## {% data variables.product.prodname_dependabot_alerts %} notification options
{% data reusables.notifications.vulnerable-dependency-notification-enable %}
diff --git a/translations/zh-CN/content/account-and-profile/managing-subscriptions-and-notifications-on-github/viewing-and-triaging-notifications/managing-notifications-from-your-inbox.md b/translations/zh-CN/content/account-and-profile/managing-subscriptions-and-notifications-on-github/viewing-and-triaging-notifications/managing-notifications-from-your-inbox.md
index 5676a74682..33dc8379c6 100644
--- a/translations/zh-CN/content/account-and-profile/managing-subscriptions-and-notifications-on-github/viewing-and-triaging-notifications/managing-notifications-from-your-inbox.md
+++ b/translations/zh-CN/content/account-and-profile/managing-subscriptions-and-notifications-on-github/viewing-and-triaging-notifications/managing-notifications-from-your-inbox.md
@@ -112,13 +112,13 @@ shortTitle: 从收件箱管理
- `is:gist`
- `is:issue-or-pull-request`
- `is:release`
-- `is:repository-invitation`{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+- `is:repository-invitation`{% ifversion fpt or ghes or ghae or ghec %}
- `is:repository-vulnerability-alert`{% endif %}{% ifversion fpt or ghec %}
- `is:repository-advisory`{% endif %}
- `is:team-discussion`{% ifversion fpt or ghec %}
- `is:discussion`{% endif %}
-{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes or ghae or ghec %}
有关减少 {% data variables.product.prodname_dependabot_alerts %} 通知干扰的信息,请参阅“[配置漏洞依赖项的通知](/github/managing-security-vulnerabilities/configuring-notifications-for-vulnerable-dependencies)”。
{% endif %}
@@ -133,20 +133,20 @@ shortTitle: 从收件箱管理
要根据收到更新的原因过滤通知,您可以使用 `reason:` 查询。 例如,要查看当您(或您所属团队)被请求审查拉取请求时的通知,请使用 `reason:review-requested`。 更多信息请参阅“[关于通知](/github/managing-subscriptions-and-notifications-on-github/about-notifications#reasons-for-receiving-notifications)”。
-| 查询 | 描述 |
-| ------------------------- | ------------------------------------------------------------------------ |
-| `reason:assign` | 分配给您的议题或拉取请求有更新时。 |
-| `reason:author` | 当您打开拉取请求或议题并且有更新或新评论时。 |
-| `reason:comment` | 当您评论了议题、拉取请求或团队讨论时。 |
-| `reason:participating` | 当您评论了议题、拉取请求或团队讨论或者被@提及时。 |
-| `reason:invitation` | 当您被邀请加入团队、组织或仓库时。 |
-| `reason:manual` | 当您在尚未订阅的议题或拉取请求上单击 **Subscribe(订阅)**时。 |
-| `reason:mention` | 您被直接@提及。 |
-| `reason:review-requested` | 您或您所属的团队被请求审查拉取请求。{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+| 查询 | 描述 |
+| ------------------------- | ------------------------------------------------------------- |
+| `reason:assign` | 分配给您的议题或拉取请求有更新时。 |
+| `reason:author` | 当您打开拉取请求或议题并且有更新或新评论时。 |
+| `reason:comment` | 当您评论了议题、拉取请求或团队讨论时。 |
+| `reason:participating` | 当您评论了议题、拉取请求或团队讨论或者被@提及时。 |
+| `reason:invitation` | 当您被邀请加入团队、组织或仓库时。 |
+| `reason:manual` | 当您在尚未订阅的议题或拉取请求上单击 **Subscribe(订阅)**时。 |
+| `reason:mention` | 您被直接@提及。 |
+| `reason:review-requested` | 您或您所属的团队被请求审查拉取请求。{% ifversion fpt or ghes or ghae or ghec %}
| `reason:security-alert` | 为仓库发出安全警报时。{% endif %}
-| `reason:state-change` | 当拉取请求或议题的状态改变时。 例如,议题已关闭或拉取请求合并时。 |
-| `reason:team-mention` | 您所在的团队被@提及时。 |
-| `reason:ci-activity` | 当仓库有 CI 更新时,例如新的工作流程运行状态。 |
+| `reason:state-change` | 当拉取请求或议题的状态改变时。 例如,议题已关闭或拉取请求合并时。 |
+| `reason:team-mention` | 您所在的团队被@提及时。 |
+| `reason:ci-activity` | 当仓库有 CI 更新时,例如新的工作流程运行状态。 |
{% ifversion fpt or ghec %}
### 支持的 `author:` 查询
@@ -161,7 +161,7 @@ shortTitle: 从收件箱管理
{% endif %}
-{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes or ghae or ghec %}
## {% data variables.product.prodname_dependabot %} 自定义过滤器
{% ifversion fpt or ghec or ghes > 3.2 %}
@@ -173,7 +173,7 @@ shortTitle: 从收件箱管理
有关 {% data variables.product.prodname_dependabot %} 的更多信息,请参阅“[关于 {% data variables.product.prodname_dependabot_alerts %}](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)”。
{% endif %}
-{% ifversion ghes < 3.3 or ghae-issue-4864 %}
+{% ifversion ghes < 3.3 or ghae %}
如果使用 {% data variables.product.prodname_dependabot %} 来告知易受攻击的依赖项,则可以使用并保存这些自定义筛选器来显示 {% data variables.product.prodname_dependabot_alerts %} 的通知:
- `is:repository_vulnerability_alert`
diff --git a/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/viewing-contributions-on-your-profile.md b/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/viewing-contributions-on-your-profile.md
index 78f74ca3f7..c00c16fcab 100644
--- a/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/viewing-contributions-on-your-profile.md
+++ b/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/viewing-contributions-on-your-profile.md
@@ -91,10 +91,7 @@ The contribution activity section includes a detailed timeline of your work, inc

-{% ifversion fpt or ghes or ghae or ghec %}
-
## Viewing contributions from {% data variables.product.prodname_enterprise %} on {% data variables.product.prodname_dotcom_the_website %}
If you use {% ifversion fpt or ghec %}{% data variables.product.prodname_ghe_server %}{% ifversion ghae %} or {% data variables.product.prodname_ghe_managed %}{% endif %}{% else %}{% data variables.product.product_name %}{% endif %} and your enterprise owner enables {% data variables.product.prodname_unified_contributions %}, you can send enterprise contribution counts from to your {% data variables.product.prodname_dotcom_the_website %} profile. For more information, see "[Sending enterprise contributions to your {% data variables.product.prodname_dotcom_the_website %} profile](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/sending-enterprise-contributions-to-your-githubcom-profile)."
-{% endif %}
diff --git a/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-your-theme-settings.md b/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-your-theme-settings.md
index c13660b9d2..2d0c10b28a 100644
--- a/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-your-theme-settings.md
+++ b/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-your-theme-settings.md
@@ -18,7 +18,7 @@ shortTitle: 管理主题设置
您可能需要使用深色主题来减少某些设备的功耗,以在低光条件下减小眼睛的压力,或者因为您更喜欢主题的外观。
-{% ifversion fpt or ghes > 3.2 or ghae-issue-4618 or ghec %}如果您视力不佳,则可以从前景和背景元素之间对比度更高的高对比度主题中受益。{% endif %}{% ifversion fpt or ghae-issue-4619 or ghec %} 如果您有色盲,可能会从我们的浅色盲和深色盲主题中受益。
+{% ifversion fpt or ghes > 3.2 or ghae or ghec %}如果您视力不佳,则可以从前景和背景元素之间对比度更高的高对比度主题中受益。{% endif %}{% ifversion fpt or ghae or ghec %} 如果您有色盲,可能会从我们的浅色盲和深色盲主题中受益。
{% endif %}
@@ -31,10 +31,10 @@ shortTitle: 管理主题设置
1. 单击想要使用的主题。
- 如果您选择单个主题,请单击一个主题。
- {% ifversion fpt or ghes > 3.2 or ghae-issue-4618 or ghec %}{% else %}{% endif %}
+ {% ifversion fpt or ghes > 3.2 or ghae or ghec %}{% else %}{% endif %}
- 如果您选择遵循系统设置,请单击白天主题和夜间主题。
- {% ifversion fpt or ghes > 3.2 or ghae-issue-4618 or ghec %}{% else %}{% endif %}
+ {% ifversion fpt or ghes > 3.2 or ghae or ghec %}{% else %}{% endif %}
{% ifversion fpt or ghec %}
- 如果您想选择当前处于公开测试阶段的主题,则首先需要通过功能预览启用它。 更多信息请参阅“[通过功能预览了解早期访问版本](/get-started/using-github/exploring-early-access-releases-with-feature-preview)”。{% endif %}
diff --git a/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/permission-levels-for-a-user-account-repository.md b/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/permission-levels-for-a-user-account-repository.md
index 2621e434e8..ef8996153f 100644
--- a/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/permission-levels-for-a-user-account-repository.md
+++ b/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/permission-levels-for-a-user-account-repository.md
@@ -47,7 +47,7 @@ shortTitle: 权限用户仓库
| 删除和恢复包 | “[删除和恢复软件包](/packages/learn-github-packages/deleting-and-restoring-a-package)”
{% endif %}
| 自定义仓库的社交媒体预览 | "[自定义仓库的社交媒体预览](/github/administering-a-repository/customizing-your-repositorys-social-media-preview)" |
-| 从仓库创建模板 | "[创建模板仓库](/github/creating-cloning-and-archiving-repositories/creating-a-template-repository)" |{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+| 从仓库创建模板 | "[创建模板仓库](/github/creating-cloning-and-archiving-repositories/creating-a-template-repository)" |{% ifversion fpt or ghes or ghae or ghec %}
| 控制对易受攻击依赖项的 {% data variables.product.prodname_dependabot_alerts %} 访问 | "[管理仓库的安全和分析设置](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts)" |{% endif %}{% ifversion fpt or ghec %}
| 忽略仓库中的 {% data variables.product.prodname_dependabot_alerts %} | "[查看漏洞依赖项的 {% data variables.product.prodname_dependabot_alerts %}](/github/managing-security-vulnerabilities/viewing-and-updating-vulnerable-dependencies-in-your-repository)" |
| 管理私有仓库的数据使用 | “[管理私有仓库的数据使用设置](/get-started/privacy-on-github/managing-data-use-settings-for-your-private-repository)”
diff --git a/translations/zh-CN/content/actions/creating-actions/metadata-syntax-for-github-actions.md b/translations/zh-CN/content/actions/creating-actions/metadata-syntax-for-github-actions.md
index 7f1f1f5b95..f2647ba73b 100644
--- a/translations/zh-CN/content/actions/creating-actions/metadata-syntax-for-github-actions.md
+++ b/translations/zh-CN/content/actions/creating-actions/metadata-syntax-for-github-actions.md
@@ -273,7 +273,7 @@ runs:
### `runs.steps`
-{% ifversion fpt or ghes > 3.2 or ghae-issue-4853 or ghec %}
+{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
**必要** 您计划在此操作中的步骤。 这些步骤可以是 `run` 步骤或 `uses` 步骤。
@@ -288,7 +288,7 @@ runs:
#### `runs.steps[*].run`
-{% ifversion fpt or ghes > 3.2 or ghae-issue-4853 or ghec %}
+{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
**可选** 您想要运行的命令。 这可以是内联的,也可以是操作仓库中的脚本:
@@ -332,7 +332,7 @@ runs:
#### `runs.steps[*].shell`
-{% ifversion fpt or ghes > 3.2 or ghae-issue-4853 or ghec %}
+{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
**可选** 您想要在其中运行命令的 shell。 您可以使用[这里](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsshell)列出的任何 shell。 如果设置了 `run`,则必填。
@@ -407,7 +407,7 @@ steps:
**可选** 指定命令在其中运行的工作目录。
-{% ifversion fpt or ghes > 3.2 or ghae-issue-4853 or ghec %}
+{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
#### `runs.steps[*].uses`
diff --git a/translations/zh-CN/content/actions/hosting-your-own-runners/about-self-hosted-runners.md b/translations/zh-CN/content/actions/hosting-your-own-runners/about-self-hosted-runners.md
index c1e1ea2515..3c82ac9aa4 100644
--- a/translations/zh-CN/content/actions/hosting-your-own-runners/about-self-hosted-runners.md
+++ b/translations/zh-CN/content/actions/hosting-your-own-runners/about-self-hosted-runners.md
@@ -69,7 +69,7 @@ You can use any machine as a self-hosted runner as long at it meets these requir
* The machine has enough hardware resources for the type of workflows you plan to run. The self-hosted runner application itself only requires minimal resources.
* If you want to run workflows that use Docker container actions or service containers, you must use a Linux machine and Docker must be installed.
-{% ifversion fpt or ghes > 3.2 or ghec or ghae-issue-4462 %}
+{% ifversion fpt or ghes > 3.2 or ghec or ghae %}
## Autoscaling your self-hosted runners
You can automatically increase or decrease the number of self-hosted runners in your environment in response to the webhook events you receive. For more information, see "[Autoscaling with self-hosted runners](/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners)."
diff --git a/translations/zh-CN/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md b/translations/zh-CN/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md
index a0bb72ec3b..63f179beba 100644
--- a/translations/zh-CN/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md
+++ b/translations/zh-CN/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md
@@ -5,7 +5,7 @@ versions:
fpt: '*'
ghec: '*'
ghes: '>3.2'
- ghae: issue-4462
+ ghae: '*'
type: overview
---
diff --git a/translations/zh-CN/content/actions/using-workflows/events-that-trigger-workflows.md b/translations/zh-CN/content/actions/using-workflows/events-that-trigger-workflows.md
index 3b703664ae..5756e3af78 100644
--- a/translations/zh-CN/content/actions/using-workflows/events-that-trigger-workflows.md
+++ b/translations/zh-CN/content/actions/using-workflows/events-that-trigger-workflows.md
@@ -24,7 +24,7 @@ shortTitle: 触发工作流程的事件
某些事件具有多种活动类型。 对于这些事件,您可以指定将触发工作流程运行的活动类型。 有关每个活动类型的含义的详细信息,请参阅“[web 挂钩事件和有效负载](/developers/webhooks-and-events/webhook-events-and-payloads)”。 请注意,并非所有 web 挂钩事件都会触发工作流程。
-{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-4968 %}
+{% ifversion fpt or ghec or ghes > 3.3 or ghae %}
### `branch_protection_rule`
| Web 挂钩事件有效负载 | 活动类型 | `GITHUB_SHA` | `GITHUB_REF` |
diff --git a/translations/zh-CN/content/actions/using-workflows/workflow-commands-for-github-actions.md b/translations/zh-CN/content/actions/using-workflows/workflow-commands-for-github-actions.md
index f735e1d8e0..fa119048ac 100644
--- a/translations/zh-CN/content/actions/using-workflows/workflow-commands-for-github-actions.md
+++ b/translations/zh-CN/content/actions/using-workflows/workflow-commands-for-github-actions.md
@@ -99,18 +99,18 @@ core.setOutput('SELECTED_COLOR', 'green');
下表显示了在工作流程中可用的工具包功能:
-| 工具包函数 | 等效工作流程命令 |
-| --------------------- | --------------------------------------------------------------------- |
-| `core.addPath` | 可使用环境文件 `GITHUB_PATH` 访问 |
-| `core.debug` | `debug` |{% ifversion fpt or ghes > 3.2 or ghae-issue-4929 or ghec %}
+| 工具包函数 | 等效工作流程命令 |
+| --------------------- | ---------------------------------------------------------- |
+| `core.addPath` | 可使用环境文件 `GITHUB_PATH` 访问 |
+| `core.debug` | `debug` |{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
| `core.notice` | `notice`
{% endif %}
-| `core.error` | `error` |
-| `core.endGroup` | `endgroup` |
-| `core.exportVariable` | 可使用环境文件 `GITHUB_ENV` 访问 |
-| `core.getInput` | 可使用环境变量 `INPUT_{NAME}` 访问 |
-| `core.getState` | 可使用环境变量 `STATE_{NAME}` 访问 |
-| `core.isDebug` | 可使用环境变量 `RUNNER_DEBUG` 访问 |
+| `core.error` | `error` |
+| `core.endGroup` | `endgroup` |
+| `core.exportVariable` | 可使用环境文件 `GITHUB_ENV` 访问 |
+| `core.getInput` | 可使用环境变量 `INPUT_{NAME}` 访问 |
+| `core.getState` | 可使用环境变量 `STATE_{NAME}` 访问 |
+| `core.isDebug` | 可使用环境变量 `RUNNER_DEBUG` 访问 |
{%- if actions-job-summaries %}
| `core.summary` | 可使用环境变量 `GITHUB_STEP_SUMMARY` 访问 |
{%- endif %}
@@ -170,7 +170,7 @@ Write-Output "::debug::Set the Octocat variable"
{% endpowershell %}
-{% ifversion fpt or ghes > 3.2 or ghae-issue-4929 or ghec %}
+{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
## 设置通知消息
diff --git a/translations/zh-CN/content/admin/code-security/index.md b/translations/zh-CN/content/admin/code-security/index.md
index e289e60d6c..c9499cd3f3 100644
--- a/translations/zh-CN/content/admin/code-security/index.md
+++ b/translations/zh-CN/content/admin/code-security/index.md
@@ -5,7 +5,7 @@ intro: 您可以使用将机密和漏洞排除在代码库之外并维护软件
versions:
ghes: '*'
ghec: '*'
- ghae: issue-4864
+ ghae: '*'
topics:
- Enterprise
children:
diff --git a/translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/about-supply-chain-security-for-your-enterprise.md b/translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/about-supply-chain-security-for-your-enterprise.md
index 55f6a3e42e..6aa1399182 100644
--- a/translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/about-supply-chain-security-for-your-enterprise.md
+++ b/translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/about-supply-chain-security-for-your-enterprise.md
@@ -5,7 +5,7 @@ shortTitle: About supply chain security
permissions: ''
versions:
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
type: how_to
topics:
- Enterprise
diff --git a/translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/index.md b/translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/index.md
index 753726f4cb..5f3c1c4c1f 100644
--- a/translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/index.md
+++ b/translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/index.md
@@ -4,7 +4,7 @@ shortTitle: 供应链安全
intro: 您可以可视化、维护和保护开发人员软件供应链中的依赖项。
versions:
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
topics:
- Enterprise
children:
diff --git a/translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/viewing-the-vulnerability-data-for-your-enterprise.md b/translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/viewing-the-vulnerability-data-for-your-enterprise.md
index 953517b46c..17ea3bbd95 100644
--- a/translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/viewing-the-vulnerability-data-for-your-enterprise.md
+++ b/translations/zh-CN/content/admin/code-security/managing-supply-chain-security-for-your-enterprise/viewing-the-vulnerability-data-for-your-enterprise.md
@@ -5,7 +5,7 @@ shortTitle: View vulnerability data
permissions: 'Site administrators can view vulnerability data on {% data variables.product.product_location %}.'
versions:
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
type: how_to
topics:
- Enterprise
diff --git a/translations/zh-CN/content/admin/configuration/configuring-github-connect/about-github-connect.md b/translations/zh-CN/content/admin/configuration/configuring-github-connect/about-github-connect.md
index 6f1210f301..54d17c56d4 100644
--- a/translations/zh-CN/content/admin/configuration/configuring-github-connect/about-github-connect.md
+++ b/translations/zh-CN/content/admin/configuration/configuring-github-connect/about-github-connect.md
@@ -12,7 +12,7 @@ topics:
## About {% data variables.product.prodname_github_connect %}
-{% data variables.product.prodname_github_connect %} enhances {% data variables.product.product_name %} by allowing {% data variables.product.product_location %} to benefit from the power of {% data variables.product.prodname_dotcom_the_website %} in limited ways. After you enable {% data variables.product.prodname_github_connect %}, you can enable additional features and workflows that rely on {% data variables.product.prodname_dotcom_the_website %}, such as {% ifversion ghes or ghae-issue-4864 %}{% data variables.product.prodname_dependabot_alerts %} for security vulnerabilities that are tracked in the {% data variables.product.prodname_advisory_database %}{% else %}allowing users to use community-powered actions from {% data variables.product.prodname_dotcom_the_website %} in their workflow files{% endif %}.
+{% data variables.product.prodname_github_connect %} enhances {% data variables.product.product_name %} by allowing {% data variables.product.product_location %} to benefit from the power of {% data variables.product.prodname_dotcom_the_website %} in limited ways. After you enable {% data variables.product.prodname_github_connect %}, you can enable additional features and workflows that rely on {% data variables.product.prodname_dotcom_the_website %}, such as {% ifversion ghes or ghae %}{% data variables.product.prodname_dependabot_alerts %} for security vulnerabilities that are tracked in the {% data variables.product.prodname_advisory_database %}{% else %}allowing users to use community-powered actions from {% data variables.product.prodname_dotcom_the_website %} in their workflow files{% endif %}.
{% data variables.product.prodname_github_connect %} does not open {% data variables.product.product_location %} to the public internet. None of your enterprise's private data is exposed to {% data variables.product.prodname_dotcom_the_website %} users. Instead, {% data variables.product.prodname_github_connect %} transmits only the limited data needed for the individual features you choose to enable. Unless you enable license sync, no personal data is transmitted by {% data variables.product.prodname_github_connect %}. For more information about what data is transmitted by {% data variables.product.prodname_github_connect %}, see "[Data transmission for {% data variables.product.prodname_github_connect %}](#data-transmission-for-github-connect)."
@@ -28,7 +28,7 @@ After you configure the connection between {% data variables.product.product_loc
Feature | Description | More information |
------- | ----------- | ---------------- |{% ifversion ghes %}
-Automatic user license sync | Manage license usage across your {% data variables.product.prodname_enterprise %} deployments by automatically syncing user licenses from {% data variables.product.product_location %} to {% data variables.product.prodname_ghe_cloud %}. | "[Enabling automatic user license sync for your enterprise](/admin/configuration/configuring-github-connect/enabling-automatic-user-license-sync-for-your-enterprise)"{% endif %}{% ifversion ghes or ghae-issue-4864 %}
+Automatic user license sync | Manage license usage across your {% data variables.product.prodname_enterprise %} deployments by automatically syncing user licenses from {% data variables.product.product_location %} to {% data variables.product.prodname_ghe_cloud %}. | "[Enabling automatic user license sync for your enterprise](/admin/configuration/configuring-github-connect/enabling-automatic-user-license-sync-for-your-enterprise)"{% endif %}{% ifversion ghes or ghae %}
{% data variables.product.prodname_dependabot %} | Allow users to find and fix vulnerabilities in code dependencies. | "[Enabling {% data variables.product.prodname_dependabot %} for your enterprise](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)"{% endif %}
{% data variables.product.prodname_dotcom_the_website %} actions | Allow users to use actions from {% data variables.product.prodname_dotcom_the_website %} in workflow files. | "[Enabling automatic access to {% data variables.product.prodname_dotcom_the_website %} actions using {% data variables.product.prodname_github_connect %}](/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect)"{% if server-statistics %}
{% data variables.product.prodname_server_statistics %} | Analyze your own aggregate data from GitHub Enterprise Server, and help us improve GitHub products. | "[Enabling {% data variables.product.prodname_server_statistics %} for your enterprise](/admin/configuration/configuring-github-connect/enabling-server-statistics-for-your-enterprise)"{% endif %}
@@ -64,7 +64,7 @@ Additional data is transmitted if you enable individual features of {% data vari
Feature | Data | Which way does the data flow? | Where is the data used? |
------- | ---- | --------- | ------ |{% ifversion ghes %}
-Automatic user license sync | Each {% data variables.product.product_name %} user's user ID and email addresses | From {% data variables.product.product_name %} to {% data variables.product.prodname_ghe_cloud %} | {% data variables.product.prodname_ghe_cloud %} |{% endif %}{% ifversion ghes or ghae-issue-4864 %}
+Automatic user license sync | Each {% data variables.product.product_name %} user's user ID and email addresses | From {% data variables.product.product_name %} to {% data variables.product.prodname_ghe_cloud %} | {% data variables.product.prodname_ghe_cloud %} |{% endif %}{% ifversion ghes or ghae %}
{% data variables.product.prodname_dependabot_alerts %} | Vulnerability alerts | From {% data variables.product.prodname_dotcom_the_website %} to {% data variables.product.product_name %} | {% data variables.product.product_name %} |{% endif %}{% if dependabot-updates-github-connect %}
{% data variables.product.prodname_dependabot_updates %} | Dependencies and the metadata for each dependency's repository
If a dependency is stored in a private repository on {% data variables.product.prodname_dotcom_the_website %}, data will only be transmitted if {% data variables.product.prodname_dependabot %} is configured and authorized to access that repository. | From {% data variables.product.prodname_dotcom_the_website %} to {% data variables.product.product_name %} | {% data variables.product.product_name %} {% endif %}
{% data variables.product.prodname_dotcom_the_website %} actions | Name of action, action (YAML file from {% data variables.product.prodname_marketplace %}) | From {% data variables.product.prodname_dotcom_the_website %} to {% data variables.product.product_name %}
From {% data variables.product.product_name %} to {% data variables.product.prodname_dotcom_the_website %} | {% data variables.product.product_name %}{% if server-statistics %}
diff --git a/translations/zh-CN/content/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise.md b/translations/zh-CN/content/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise.md
index f2561e091c..969c6c296a 100644
--- a/translations/zh-CN/content/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise.md
+++ b/translations/zh-CN/content/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise.md
@@ -15,7 +15,7 @@ redirect_from:
permissions: 'Enterprise owners can enable {% data variables.product.prodname_dependabot %}.'
versions:
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
type: how_to
topics:
- Enterprise
diff --git a/translations/zh-CN/content/admin/enterprise-management/caching-repositories/configuring-a-repository-cache.md b/translations/zh-CN/content/admin/enterprise-management/caching-repositories/configuring-a-repository-cache.md
index 6a03a7de7c..ac3054b2b2 100644
--- a/translations/zh-CN/content/admin/enterprise-management/caching-repositories/configuring-a-repository-cache.md
+++ b/translations/zh-CN/content/admin/enterprise-management/caching-repositories/configuring-a-repository-cache.md
@@ -34,7 +34,7 @@ topics:
## 配置存储库缓存
{% ifversion ghes = 3.3 %}
-1. On your primary {% data variables.product.prodname_ghe_server %} appliance, enable the feature flag for repository caching.
+1. 在主 {% data variables.product.prodname_ghe_server %} 设备上,为存储库缓存启用功能标志。
```
$ ghe-config cluster.cache-enabled true
@@ -48,7 +48,7 @@ topics:
$ ssh -p 122 admin@REPLICA IP
```
{%- ifversion ghes = 3.3 %}
-1. On your cache replica, enable the feature flag for repository caching.
+1. 在缓存副本上,为存储库缓存启用功能标志。
```
$ ghe-config cluster.cache-enabled true
diff --git a/translations/zh-CN/content/admin/github-actions/getting-started-with-github-actions-for-your-enterprise/getting-started-with-self-hosted-runners-for-your-enterprise.md b/translations/zh-CN/content/admin/github-actions/getting-started-with-github-actions-for-your-enterprise/getting-started-with-self-hosted-runners-for-your-enterprise.md
index 743d214535..c70b99c442 100644
--- a/translations/zh-CN/content/admin/github-actions/getting-started-with-github-actions-for-your-enterprise/getting-started-with-self-hosted-runners-for-your-enterprise.md
+++ b/translations/zh-CN/content/admin/github-actions/getting-started-with-github-actions-for-your-enterprise/getting-started-with-self-hosted-runners-for-your-enterprise.md
@@ -1,12 +1,12 @@
---
title: Getting started with self-hosted runners for your enterprise
shortTitle: Self-hosted runners
-intro: You can configure a runner machine for your enterprise so your developers can start automating workflows with {% data variables.product.prodname_actions %}.
+intro: 'You can configure a runner machine for your enterprise so your developers can start automating workflows with {% data variables.product.prodname_actions %}.'
versions:
ghec: '*'
ghes: '*'
ghae: '*'
-permissions: Enterprise owners can configure policies for {% data variables.product.prodname_actions %} and add self-hosted runners to the enterprise.
+permissions: 'Enterprise owners can configure policies for {% data variables.product.prodname_actions %} and add self-hosted runners to the enterprise.'
type: quick_start
topics:
- Actions
@@ -32,7 +32,7 @@ This guide shows you how to apply a centralized management approach to self-host
1. Deploy a self-hosted runner for your enterprise
1. Create a group to manage access to the runners available to your enterprise
1. Optionally, further restrict the repositories that can use the runner
-{%- ifversion ghec or ghae-issue-4462 or ghes > 3.2 %}
+{%- ifversion ghec or ghae or ghes > 3.2 %}
1. Optionally, build custom tooling to automatically scale your self-hosted runners
{% endif %}
@@ -122,7 +122,7 @@ Optionally, organization owners can further restrict the access policy of the ru
For more information, see "[Managing access to self-hosted runners using groups](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#changing-the-access-policy-of-a-self-hosted-runner-group)."
-{% ifversion ghec or ghae-issue-4462 or ghes > 3.2 %}
+{% ifversion ghec or ghae or ghes > 3.2 %}
## 5. Automatically scale your self-hosted runners
diff --git a/translations/zh-CN/content/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect.md b/translations/zh-CN/content/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect.md
index f539aeca8d..7ea2bb0b09 100644
--- a/translations/zh-CN/content/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect.md
+++ b/translations/zh-CN/content/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect.md
@@ -46,7 +46,7 @@ Before enabling access to all actions from {% data variables.product.prodname_do

1. {% data reusables.actions.enterprise-limit-actions-use %}
-{% ifversion ghes > 3.2 or ghae-issue-4815 %}
+{% ifversion ghes > 3.2 or ghae %}
## Automatic retirement of namespaces for actions accessed on {% data variables.product.prodname_dotcom_the_website %}
diff --git a/translations/zh-CN/content/admin/github-actions/managing-access-to-actions-from-githubcom/manually-syncing-actions-from-githubcom.md b/translations/zh-CN/content/admin/github-actions/managing-access-to-actions-from-githubcom/manually-syncing-actions-from-githubcom.md
index 1af5a98dfd..3f5f872968 100644
--- a/translations/zh-CN/content/admin/github-actions/managing-access-to-actions-from-githubcom/manually-syncing-actions-from-githubcom.md
+++ b/translations/zh-CN/content/admin/github-actions/managing-access-to-actions-from-githubcom/manually-syncing-actions-from-githubcom.md
@@ -33,7 +33,7 @@ If your machine has access to both systems at the same time, you can do the sync
The `actions-sync` tool can only download actions from {% data variables.product.prodname_dotcom_the_website %} that are stored in public repositories.
-{% ifversion ghes > 3.2 or ghae-issue-4815 %}
+{% ifversion ghes > 3.2 or ghae %}
{% note %}
**Note:** The `actions-sync` tool is intended for use in systems where {% data variables.product.prodname_github_connect %} is not enabled. If you run the tool on a system with {% data variables.product.prodname_github_connect %} enabled, you may see the error `The repository has been retired and cannot be reused`. This indicates that a workflow has used that action directly on {% data variables.product.prodname_dotcom_the_website %} and the namespace is retired on {% data variables.product.product_location %}. For more information, see "[Automatic retirement of namespaces for actions accessed on {% data variables.product.prodname_dotcom_the_website%}](/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect#automatic-retirement-of-namespaces-for-actions-accessed-on-githubcom)."
diff --git a/translations/zh-CN/content/admin/github-actions/managing-access-to-actions-from-githubcom/using-the-latest-version-of-the-official-bundled-actions.md b/translations/zh-CN/content/admin/github-actions/managing-access-to-actions-from-githubcom/using-the-latest-version-of-the-official-bundled-actions.md
index 97e81a3546..5d4d770631 100644
--- a/translations/zh-CN/content/admin/github-actions/managing-access-to-actions-from-githubcom/using-the-latest-version-of-the-official-bundled-actions.md
+++ b/translations/zh-CN/content/admin/github-actions/managing-access-to-actions-from-githubcom/using-the-latest-version-of-the-official-bundled-actions.md
@@ -47,7 +47,7 @@ Once {% data variables.product.prodname_github_connect %} is configured, you can
1. Configure your workflow's YAML to use `{% data reusables.actions.action-checkout %}`.
1. Each time your workflow runs, the runner will use the specified version of `actions/checkout` from {% data variables.product.prodname_dotcom_the_website %}.
- {% ifversion ghes > 3.2 or ghae-issue-4815 %}
+ {% ifversion ghes > 3.2 or ghae %}
{% note %}
**Note:** The first time the `checkout` action is used from {% data variables.product.prodname_dotcom_the_website %}, the `actions/checkout` namespace is automatically retired on {% data variables.product.product_location %}. If you ever want to revert to using a local copy of the action, you first need to remove the namespace from retirement. For more information, see "[Automatic retirement of namespaces for actions accessed on {% data variables.product.prodname_dotcom_the_website%}](/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect#automatic-retirement-of-namespaces-for-actions-accessed-on-githubcom)."
diff --git a/translations/zh-CN/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise.md b/translations/zh-CN/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise.md
index 844392d5b5..88d88d3fd6 100644
--- a/translations/zh-CN/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise.md
+++ b/translations/zh-CN/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise.md
@@ -2,7 +2,7 @@
title: Audit log events for your enterprise
intro: Learn about audit log events recorded for your enterprise.
shortTitle: Audit log events
-permissions: Enterprise owners {% ifversion ghes %}and site administrators {% endif %}can interact with the audit log.
+permissions: 'Enterprise owners {% ifversion ghes %}and site administrators {% endif %}can interact with the audit log.'
miniTocMaxHeadingLevel: 4
redirect_from:
- /enterprise/admin/articles/audited-actions
@@ -202,7 +202,7 @@ Action | Description
| `config_entry.update` | A configuration setting was edited. These events are only visible in the site admin audit log. The type of events recorded relate to:- Enterprise settings and policies- Organization and repository permissions and settings- Git, Git LFS, {% data variables.product.prodname_github_connect %}, {% data variables.product.prodname_registry %}, project, and code security settings.
{%- endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-4864 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
### `dependabot_alerts` category actions
| Action | Description
@@ -240,7 +240,7 @@ Action | Description
| `dependabot_security_updates_new_repos.enable` | An enterprise owner{% ifversion ghes %} or site administrator{% endif %} enabled {% data variables.product.prodname_dependabot_security_updates %} for all new repositories.
{%- endif %}
-{%- ifversion fpt or ghec or ghes or ghae-issue-4864 %}
+{%- ifversion fpt or ghec or ghes or ghae %}
### `dependency_graph` category actions
| Action | Description
@@ -1145,7 +1145,7 @@ Action | Description
| `repository_visibility_change.disable` | The ability for enterprise members to update a repository's visibility was disabled. Members are unable to change repository visibilities in an organization, or all organizations in an enterprise.
| `repository_visibility_change.enable` | The ability for enterprise members to update a repository's visibility was enabled. Members are able to change repository visibilities in an organization, or all organizations in an enterprise.
-{%- ifversion fpt or ghec or ghes or ghae-issue-4864 %}
+{%- ifversion fpt or ghec or ghes or ghae %}
### `repository_vulnerability_alert` category actions
| Action | Description
diff --git a/translations/zh-CN/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise.md b/translations/zh-CN/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise.md
index 5b731dd40e..97df83b1e0 100644
--- a/translations/zh-CN/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise.md
+++ b/translations/zh-CN/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise.md
@@ -66,7 +66,7 @@ You can choose to disable {% data variables.product.prodname_actions %} for all
1. Under "Policies", select {% data reusables.actions.policy-label-for-select-actions-workflows %} and add your required actions{% if actions-workflow-policy %} and reusable workflows{% endif %} to the list.
{% if actions-workflow-policy %}

- {%- elsif ghes or ghae-issue-5094 %}
+ {%- elsif ghes or ghae %}

{%- elsif ghae %}

diff --git a/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/about-authentication-to-github.md b/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/about-authentication-to-github.md
index 71706449ff..75df940d02 100644
--- a/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/about-authentication-to-github.md
+++ b/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/about-authentication-to-github.md
@@ -16,7 +16,7 @@ shortTitle: Authentication to GitHub
---
## About authentication to {% data variables.product.prodname_dotcom %}
-To keep your account secure, you must authenticate before you can access{% ifversion not ghae %} certain{% endif %} resources on {% data variables.product.product_name %}. When you authenticate to {% data variables.product.product_name %}, you supply or confirm credentials that are unique to you to prove that you are exactly who you declare to be.
+To keep your account secure, you must authenticate before you can access{% ifversion not ghae %} certain{% endif %} resources on {% data variables.product.product_name %}. When you authenticate to {% data variables.product.product_name %}, you supply or confirm credentials that are unique to you to prove that you are exactly who you declare to be.
You can access your resources in {% data variables.product.product_name %} in a variety of ways: in the browser, via {% data variables.product.prodname_desktop %} or another desktop application, with the API, or via the command line. Each way of accessing {% data variables.product.product_name %} supports different modes of authentication.
{%- ifversion not fpt %}
@@ -48,8 +48,8 @@ You can authenticate to {% data variables.product.product_name %} in your browse
- **Username and password only**
- You'll create a password when you create your account on {% data variables.product.product_name %}. We recommend that you use a password manager to generate a random and unique password. For more information, see "[Creating a strong password](/github/authenticating-to-github/creating-a-strong-password)."{% ifversion fpt or ghec %}
- If you have not enabled 2FA, {% data variables.product.product_name %} will ask for additional verification when you first sign in from an unrecognized device, such as a new browser profile, a browser where the cookies have been deleted, or a new computer.
-
- After providing your username and password, you will be asked to provide a verification code that we will send to you via email. If you have the GitHub Mobile application installed, you'll receive a notification there instead.{% endif %}
+
+ After providing your username and password, you will be asked to provide a verification code that we will send to you via email. If you have the {% data variables.product.prodname_mobile %} application installed, you'll receive a notification there instead. For more information, see "[{% data variables.product.prodname_mobile %}](/get-started/using-github/github-mobile)."{% endif %}
- **Two-factor authentication (2FA)** (recommended)
- If you enable 2FA, after you successfully enter your username and password, we'll also prompt you to provide a code that's generated by a time-based one time password (TOTP) application on your mobile device{% ifversion fpt or ghec %} or sent as a text message (SMS){% endif %}. For more information, see "[Accessing {% data variables.product.prodname_dotcom %} using two-factor authentication](/github/authenticating-to-github/accessing-github-using-two-factor-authentication#providing-a-2fa-code-when-signing-in-to-the-website)."
- In addition to authentication with a TOTP application{% ifversion fpt or ghec %} or a text message{% endif %}, you can optionally add an alternative method of authentication with {% ifversion fpt or ghec %}{% data variables.product.prodname_mobile %} or{% endif %} a security key using WebAuthn. For more information, see {% ifversion fpt or ghec %}"[Configuring two-factor authentication with {% data variables.product.prodname_mobile %}](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-github-mobile)" and {% endif %}"[Configuring two-factor authentication using a security key](/github/authenticating-to-github/configuring-two-factor-authentication#configuring-two-factor-authentication-using-a-security-key)."{% ifversion ghes %}
@@ -61,14 +61,13 @@ You can authenticate to {% data variables.product.product_name %} in your browse
{% endif %}
## Authenticating with {% data variables.product.prodname_desktop %}
-
You can authenticate with {% data variables.product.prodname_desktop %} using your browser. For more information, see "[Authenticating to {% data variables.product.prodname_dotcom %}](/desktop/getting-started-with-github-desktop/authenticating-to-github)."
## Authenticating with the API
You can authenticate with the API in different ways.
-- **Personal access tokens**
+- **Personal access tokens**
- In limited situations, such as testing, you can use a personal access token to access the API. Using a personal access token enables you to revoke access at any time. For more information, see "[Creating a personal access token](/github/authenticating-to-github/creating-a-personal-access-token)."
- **Web application flow**
- For OAuth Apps in production, you should authenticate using the web application flow. For more information, see "[Authorizing OAuth Apps](/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow)."
@@ -81,7 +80,7 @@ You can access repositories on {% data variables.product.product_name %} from th
### HTTPS
-You can work with all repositories on {% data variables.product.product_name %} over HTTPS, even if you are behind a firewall or proxy.
+You can work with all repositories on {% data variables.product.product_name %} over HTTPS, even if you are behind a firewall or proxy.
If you authenticate with {% data variables.product.prodname_cli %}, you can either authenticate with a personal access token or via the web browser. For more information about authenticating with {% data variables.product.prodname_cli %}, see [`gh auth login`](https://cli.github.com/manual/gh_auth_login).
diff --git a/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token.md b/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token.md
index cf241ab5cd..b823047c68 100644
--- a/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token.md
+++ b/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token.md
@@ -44,7 +44,7 @@ A token with no assigned scopes can only access public information. To use your
{% data reusables.user-settings.personal_access_tokens %}
{% data reusables.user-settings.generate_new_token %}
5. Give your token a descriptive name.
- {% ifversion fpt or ghes > 3.2 or ghae-issue-4374 or ghec %}
+ {% ifversion fpt or ghes > 3.2 or ghae or ghec %}
6. To give your token an expiration, select the **Expiration** drop-down menu, then click a default or use the calendar picker.
{% endif %}
7. Select the scopes, or permissions, you'd like to grant this token. To use your token to access repositories from the command line, select **repo**.
@@ -82,5 +82,5 @@ Instead of manually entering your PAT for every HTTPS Git operation, you can cac
## Further reading
-- "[About authentication to GitHub](/github/authenticating-to-github/about-authentication-to-github)"{% ifversion fpt or ghae-issue-4374 or ghes > 3.2 or ghec %}
+- "[About authentication to GitHub](/github/authenticating-to-github/about-authentication-to-github)"{% ifversion fpt or ghae or ghes > 3.2 or ghec %}
- "[Token expiration and revocation](/github/authenticating-to-github/keeping-your-account-and-data-secure/token-expiration-and-revocation)"{% endif %}
diff --git a/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log.md b/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log.md
index 340312de61..ac4e60fbd6 100644
--- a/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log.md
+++ b/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log.md
@@ -28,15 +28,11 @@ shortTitle: 安全日志
1. 在用户设置侧边栏中,单击 **Security log(安全日志)**。 
{% endif %}
-{% ifversion fpt or ghae or ghes or ghec %}
## 搜索安全日志
{% data reusables.audit_log.audit-log-search %}
### 基于执行的操作搜索
-{% else %}
-## 了解安全日志中的事件
-{% endif %}
安全日志中列出的事件由您的操作触发。 操作分为以下几类:
@@ -109,10 +105,10 @@ shortTitle: 安全日志
### `oauth_authority` 类别操作
-| 操作 | 描述 |
-| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `create` | 当您[授予 {% data variables.product.prodname_oauth_app %} 访问权限](/github/authenticating-to-github/keeping-your-account-and-data-secure/authorizing-oauth-apps)时触发。 |
-| `destroy` | 当您 [撤销 {% data variables.product.prodname_oauth_app %}对您帐户的访问](/articles/reviewing-your-authorized-integrations){% ifversion fpt or ghae-issue-4374 or ghes > 3.2 or ghec %} 时,以及当 [授权被吊销或过期](/github/authenticating-to-github/keeping-your-account-and-data-secure/token-expiration-and-revocation)时触发。{% else %}.{% endif %}
+| 操作 | 描述 |
+| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| `create` | 当您[授予 {% data variables.product.prodname_oauth_app %} 访问权限](/github/authenticating-to-github/keeping-your-account-and-data-secure/authorizing-oauth-apps)时触发。 |
+| `destroy` | Triggered when you [revoke an {% data variables.product.prodname_oauth_app %}'s access to your account](/articles/reviewing-your-authorized-integrations){% ifversion fpt or ghae or ghes > 3.2 or ghec %} and when [authorizations are revoked or expire](/github/authenticating-to-github/keeping-your-account-and-data-secure/token-expiration-and-revocation).{% else %}.{% endif %}
{% ifversion fpt or ghec %}
diff --git a/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/token-expiration-and-revocation.md b/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/token-expiration-and-revocation.md
index 0d6d387f01..6bc662da9f 100644
--- a/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/token-expiration-and-revocation.md
+++ b/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/token-expiration-and-revocation.md
@@ -14,7 +14,7 @@ redirect_from:
- /github/authenticating-to-github/keeping-your-account-and-data-secure/token-expiration-and-revocation
---
-当令牌 {% ifversion fpt or ghae-issue-4374 or ghes > 3.2 or ghec %}已过期或 {% endif %} 已被吊销时,它不能再用于对 Git 和 API 请求进行身份验证。 无法还原过期或已吊销的令牌,您或应用程序将需要创建新令牌。
+当令牌 {% ifversion fpt or ghae or ghes > 3.2 or ghec %}已过期或 {% endif %} 已被吊销时,它不能再用于对 Git 和 API 请求进行身份验证。 无法还原过期或已吊销的令牌,您或应用程序将需要创建新令牌。
本文介绍了 {% data variables.product.product_name %} 令牌可能被吊销或过期的可能原因。
@@ -24,7 +24,7 @@ redirect_from:
{% endnote %}
-{% ifversion fpt or ghae-issue-4374 or ghes > 3.2 or ghec %}
+{% ifversion fpt or ghae or ghes > 3.2 or ghec %}
## 令牌在到达其到期日期后被吊销
创建个人访问令牌时,建议为令牌设置过期时间。 到达令牌的到期日期后,令牌将自动吊销。 更多信息请参阅“[创建个人访问令牌](/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token)”。
diff --git a/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/updating-your-github-access-credentials.md b/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/updating-your-github-access-credentials.md
index 3ed800b595..61a41fcd06 100644
--- a/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/updating-your-github-access-credentials.md
+++ b/translations/zh-CN/content/authentication/keeping-your-account-and-data-secure/updating-your-github-access-credentials.md
@@ -57,7 +57,7 @@ shortTitle: 更新访问凭据
{% ifversion not ghae %}
-如果您已重置帐户密码,并且还希望触发从 GitHub Mobile 应用注销,则可以撤销对“GitHub iOS”或“GitHub Android”OAuth 应用的授权。 有关其他信息,请参阅“[>审查授权的集成](/authentication/keeping-your-account-and-data-secure/reviewing-your-authorized-integrations)”。
+If you have reset your account password and would also like to trigger a sign-out from the {% data variables.product.prodname_mobile %} app, you can revoke your authorization of the "GitHub iOS" or "GitHub Android" OAuth App. This will sign out all instances of the {% data variables.product.prodname_mobile %} app associated with your account. 有关其他信息,请参阅“[>审查授权的集成](/authentication/keeping-your-account-and-data-secure/reviewing-your-authorized-integrations)”。
{% endif %}
diff --git a/translations/zh-CN/content/billing/managing-billing-for-github-actions/about-billing-for-github-actions.md b/translations/zh-CN/content/billing/managing-billing-for-github-actions/about-billing-for-github-actions.md
index 7c799b17c3..f682ac65d8 100644
--- a/translations/zh-CN/content/billing/managing-billing-for-github-actions/about-billing-for-github-actions.md
+++ b/translations/zh-CN/content/billing/managing-billing-for-github-actions/about-billing-for-github-actions.md
@@ -48,7 +48,7 @@ shortTitle: GitHub Actions 的计费
仓库使用的存储空间是 {% data variables.product.prodname_actions %} 构件和 {% data variables.product.prodname_registry %} 使用的存储空间总计。 您的存储成本是您帐户拥有的所有帐户的总使用量。 有关 {% data variables.product.prodname_registry %} 定价的更多信息,请参阅“[关于 {% data variables.product.prodname_registry %} 的计费](/billing/managing-billing-for-github-packages/about-billing-for-github-packages)”。
- 如果您的帐户使用量超出了这些限额,并且您设置的支出限额高于 0 美元,则每月的每 GB 存储用量和每分钟用量需要支付 0.25 美元,具体取决于 {% data variables.product.prodname_dotcom %} 托管运行器使用的操作系统。 {% data variables.product.prodname_dotcom %} 将每个作业使用的分钟数舍入到最接近的分钟整数。
+ If your account's usage surpasses these limits and you have set a spending limit above $0 USD, you will pay $0.008 USD per GB of storage per day and per-minute usage depending on the operating system used by the {% data variables.product.prodname_dotcom %}-hosted runner. {% data variables.product.prodname_dotcom %} 将每个作业使用的分钟数舍入到最接近的分钟整数。
{% note %}
diff --git a/translations/zh-CN/content/billing/managing-billing-for-github-packages/about-billing-for-github-packages.md b/translations/zh-CN/content/billing/managing-billing-for-github-packages/about-billing-for-github-packages.md
index d9247cd964..1bbe77f653 100644
--- a/translations/zh-CN/content/billing/managing-billing-for-github-packages/about-billing-for-github-packages.md
+++ b/translations/zh-CN/content/billing/managing-billing-for-github-packages/about-billing-for-github-packages.md
@@ -49,9 +49,9 @@ All data transferred out, when triggered by {% data variables.product.prodname_a
Storage usage is shared with build artifacts produced by {% data variables.product.prodname_actions %} for repositories owned by your account. For more information, see "[About billing for {% data variables.product.prodname_actions %}](/billing/managing-billing-for-github-actions/about-billing-for-github-actions)."
-{% data variables.product.prodname_dotcom %} charges usage to the account that owns the repository where the package is published. If your account's usage surpasses these limits and you have set a spending limit above $0 USD, you will pay $0.25 USD per GB of storage and $0.50 USD per GB of data transfer.
+{% data variables.product.prodname_dotcom %} charges usage to the account that owns the repository where the package is published. If your account's usage surpasses these limits and you have set a spending limit above $0 USD, you will pay $0.008 USD per GB of storage per day and $0.50 USD per GB of data transfer.
-For example, if your organization uses {% data variables.product.prodname_team %}, allows unlimited spending, uses 150GB of storage, and has 50GB of data transfer out during a month, the organization would have overages of 148GB for storage and 40GB for data transfer for that month. The storage overage would cost $0.25 USD per GB or $37 USD. The overage for data transfer would cost $0.50 USD per GB or $20 USD.
+For example, if your organization uses {% data variables.product.prodname_team %}, allows unlimited spending, uses 150GB of storage, and has 50GB of data transfer out during a month, the organization would have overages of 148GB for storage and 40GB for data transfer for that month. The storage overage would cost $0.008 USD per GB per day or $37 USD. The overage for data transfer would cost $0.50 USD per GB or $20 USD.
{% data reusables.dotcom_billing.pricing_calculator.pricing_cal_packages %}
diff --git a/translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning.md b/translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning.md
index cccde8bdec..a462055e5a 100644
--- a/translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning.md
+++ b/translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning.md
@@ -73,7 +73,7 @@ By default, the {% data variables.product.prodname_codeql_workflow %} uses the `
If you scan on push, then the results appear in the **Security** tab for your repository. For more information, see "[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)."
-{% ifversion fpt or ghes > 3.2 or ghae-issue-5093 or ghec %}
+{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
Additionally, when an `on:push` scan returns results that can be mapped to an open pull request, these alerts will automatically appear on the pull request in the same places as other pull request alerts. The alerts are identified by comparing the existing analysis of the head of the branch to the analysis for the target branch. For more information on {% data variables.product.prodname_code_scanning %} alerts in pull requests, see "[Triaging {% data variables.product.prodname_code_scanning %} alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)."
{% endif %}
@@ -85,7 +85,7 @@ For more information about the `pull_request` event, see "[Events that trigger w
If you scan pull requests, then the results appear as alerts in a pull request check. For more information, see "[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)."
-{% ifversion fpt or ghes > 3.2 or ghae-issue-5093 or ghec %}
+{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
Using the `pull_request` trigger, configured to scan the pull request's merge commit rather than the head commit, will produce more efficient and accurate results than scanning the head of the branch on each push. However, if you use a CI/CD system that cannot be configured to trigger on pull requests, you can still use the `on:push` trigger and {% data variables.product.prodname_code_scanning %} will map the results to open pull requests on the branch and add the alerts as annotations on the pull request. For more information, see "[Scanning on push](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#scanning-on-push)."
{% endif %}
diff --git a/translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/setting-up-code-scanning-for-a-repository.md b/translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/setting-up-code-scanning-for-a-repository.md
index 7649b34387..990c6e03c7 100644
--- a/translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/setting-up-code-scanning-for-a-repository.md
+++ b/translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/setting-up-code-scanning-for-a-repository.md
@@ -155,9 +155,9 @@ The names of the {% data variables.product.prodname_code_scanning %} analysis ch

-When the {% data variables.product.prodname_code_scanning %} jobs complete, {% data variables.product.prodname_dotcom %} works out whether any alerts were added by the pull request and adds the "{% data variables.product.prodname_code_scanning_capc %} results / TOOL NAME" entry to the list of checks. After {% data variables.product.prodname_code_scanning %} has been performed at least once, you can click **Details** to view the results of the analysis. If you used a pull request to add {% data variables.product.prodname_code_scanning %} to the repository, you will initially see {% ifversion fpt or ghes > 3.2 or ghae-issue-3891 or ghec %}an "Analysis not found"{% else %}a "Missing analysis"{% endif %} message when you click **Details** on the "{% data variables.product.prodname_code_scanning_capc %} results / TOOL NAME" check.
+When the {% data variables.product.prodname_code_scanning %} jobs complete, {% data variables.product.prodname_dotcom %} works out whether any alerts were added by the pull request and adds the "{% data variables.product.prodname_code_scanning_capc %} results / TOOL NAME" entry to the list of checks. After {% data variables.product.prodname_code_scanning %} has been performed at least once, you can click **Details** to view the results of the analysis. If you used a pull request to add {% data variables.product.prodname_code_scanning %} to the repository, you will initially see {% ifversion fpt or ghes > 3.2 or ghae or ghec %}an "Analysis not found"{% else %}a "Missing analysis"{% endif %} message when you click **Details** on the "{% data variables.product.prodname_code_scanning_capc %} results / TOOL NAME" check.
-{% ifversion fpt or ghes > 3.2 or ghae-issue-3891 or ghec %}
+{% ifversion fpt or ghes > 3.2 or ghae or ghec %}

The table lists one or more categories. Each category relates to specific analyses, for the same tool and commit, performed on a different language or a different part of the code. For each category, the table shows the two analyses that {% data variables.product.prodname_code_scanning %} attempted to compare to determine which alerts were introduced or fixed in the pull request.
@@ -167,13 +167,13 @@ For example, in the screenshot above, {% data variables.product.prodname_code_sc

{% endif %}
-{% ifversion fpt or ghes > 3.2 or ghae-issue-3891 or ghec %}
+{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
### Reasons for the "Analysis not found" message
{% else %}
### Reasons for the "Missing analysis" message
{% endif %}
-After {% data variables.product.prodname_code_scanning %} has analyzed the code in a pull request, it needs to compare the analysis of the topic branch (the branch you used to create the pull request) with the analysis of the base branch (the branch into which you want to merge the pull request). This allows {% data variables.product.prodname_code_scanning %} to compute which alerts are newly introduced by the pull request, which alerts were already present in the base branch, and whether any existing alerts are fixed by the changes in the pull request. Initially, if you use a pull request to add {% data variables.product.prodname_code_scanning %} to a repository, the base branch has not yet been analyzed, so it's not possible to compute these details. In this case, when you click through from the results check on the pull request you will see the {% ifversion fpt or ghes > 3.2 or ghae-issue-3891 or ghec %}"Analysis not found"{% else %}"Missing analysis for base commit SHA-HASH"{% endif %} message.
+After {% data variables.product.prodname_code_scanning %} has analyzed the code in a pull request, it needs to compare the analysis of the topic branch (the branch you used to create the pull request) with the analysis of the base branch (the branch into which you want to merge the pull request). This allows {% data variables.product.prodname_code_scanning %} to compute which alerts are newly introduced by the pull request, which alerts were already present in the base branch, and whether any existing alerts are fixed by the changes in the pull request. Initially, if you use a pull request to add {% data variables.product.prodname_code_scanning %} to a repository, the base branch has not yet been analyzed, so it's not possible to compute these details. In this case, when you click through from the results check on the pull request you will see the {% ifversion fpt or ghes > 3.2 or ghae or ghec %}"Analysis not found"{% else %}"Missing analysis for base commit SHA-HASH"{% endif %} message.
There are other situations where there may be no analysis for the latest commit to the base branch for a pull request. These include:
diff --git a/translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/triaging-code-scanning-alerts-in-pull-requests.md b/translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/triaging-code-scanning-alerts-in-pull-requests.md
index b91352a273..1c0f8f6e57 100644
--- a/translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/triaging-code-scanning-alerts-in-pull-requests.md
+++ b/translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/triaging-code-scanning-alerts-in-pull-requests.md
@@ -28,7 +28,7 @@ topics:
## 关于拉取请求上的 {% data variables.product.prodname_code_scanning %} 结果
在仓库中,如果 {% data variables.product.prodname_code_scanning %} 被配置为拉取请求检查,则 {% data variables.product.prodname_code_scanning %} 将检查拉取请求中的代码。 默认情况下,这仅限于针对默认分支的拉取请求,但是您可以在 {% data variables.product.prodname_actions %} 或第三方 CI/CD 系统中更改此配置。 如果合并分支给目标分支带来新的 {% data variables.product.prodname_code_scanning %} 警报,这些警报将在拉取请求中被报告为检查结果。 警报还将在拉取请求的 **Files changed(文件已更改)**选项卡中显示为注释。 如果您拥有仓库的写入权限,您可以在 **Security(安全)**选项卡中查看任何现有的 {% data variables.product.prodname_code_scanning %} 警报。 有关仓库警报的更多信息,请参阅“[管理仓库的 {% data variables.product.prodname_code_scanning %} 警报](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository)”。
-{% ifversion fpt or ghes > 3.2 or ghae-issue-5093 or ghec %}
+{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
在 {% data variables.product.prodname_code_scanning %} 配置为在每次推送代码时扫描的存储库中,{% data variables.product.prodname_code_scanning %} 还会将结果映射到任何打开的拉取请求,并将警报作为注释添加到与其他拉取请求检查相同的位置。 更多信息请参阅“[在推送时扫描](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#scanning-on-push)”。
{% endif %}
@@ -42,7 +42,7 @@ topics:
对于 {% data variables.product.prodname_code_scanning %} 的所有配置,包含 {% data variables.product.prodname_code_scanning %} 结果的检查为:**{% data variables.product.prodname_code_scanning_capc %} 结果**。 所使用的每个分析工具的结果将单独显示。 由拉取请求中的更改引起的任何新警报都显示为注释。
-{% ifversion fpt or ghes > 3.2 or ghae-issue-4902 or ghec %} 要查看所分析分支的完整警报集,请单击“**查看所有分支警报**”。 这将打开完整的警报视图,您可以在其中按类型、严重性、标记等筛选分支上的所有警报。 更多信息请参阅“[管理仓库的代码扫描警报](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository#filtering-and-searching-for-code-scanning-alerts)”。
+{% ifversion fpt or ghes > 3.2 or ghae or ghec %} To see the full set of alerts for the analyzed branch, click **View all branch alerts**. 这将打开完整的警报视图,您可以在其中按类型、严重性、标记等筛选分支上的所有警报。 更多信息请参阅“[管理仓库的代码扫描警报](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository#filtering-and-searching-for-code-scanning-alerts)”。

{% endif %}
diff --git a/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/about-dependabot-alerts.md b/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/about-dependabot-alerts.md
index 233364f4bf..b73490579e 100644
--- a/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/about-dependabot-alerts.md
+++ b/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/about-dependabot-alerts.md
@@ -10,7 +10,7 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
type: overview
topics:
diff --git a/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts.md b/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts.md
index 4f6968a138..e5b5a4a033 100644
--- a/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts.md
+++ b/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts.md
@@ -5,7 +5,7 @@ shortTitle: 配置 Dependabot 警报
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
type: how_to
topics:
diff --git a/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/configuring-notifications-for-dependabot-alerts.md b/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/configuring-notifications-for-dependabot-alerts.md
index 1fda1d6562..c6fd3ed1d5 100644
--- a/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/configuring-notifications-for-dependabot-alerts.md
+++ b/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/configuring-notifications-for-dependabot-alerts.md
@@ -9,7 +9,7 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
type: how_to
topics:
@@ -31,7 +31,7 @@ topics:
{% ifversion fpt or ghec %}如果您是组织所有者,您可以对组织中的所有仓库一键启用或禁用 {% data variables.product.prodname_dependabot_alerts %}。 您也可以设置是否对新建的仓库启用或禁用有漏洞依赖项检测。 更多信息请参阅“[管理组织的安全和分析设置](/organizations/keeping-your-organization-secure/managing-security-and-analysis-settings-for-your-organization#enabling-or-disabling-a-feature-for-all-new-repositories-when-they-are-added)”。
{% endif %}
-{% ifversion ghes or ghae-issue-4864 %}
+{% ifversion ghes or ghae %}
默认情况下,如果您的企业所有者已配置电子邮件以获取有关企业的通知,您将收到 {% data variables.product.prodname_dependabot_alerts %} 电子邮件。
企业所有者也可以在没有通知的情况下启用 {% data variables.product.prodname_dependabot_alerts %}。 更多信息请参阅“[为企业启用 {% data variables.product.prodname_dependabot %}](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)”。
diff --git a/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/index.md b/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/index.md
index 50226097a9..eb1e253e71 100644
--- a/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/index.md
+++ b/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/index.md
@@ -6,7 +6,7 @@ allowTitleToDifferFromFilename: true
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
topics:
- Dependabot
diff --git a/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/viewing-and-updating-dependabot-alerts.md b/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/viewing-and-updating-dependabot-alerts.md
index 64b4137800..adc61e21a3 100644
--- a/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/viewing-and-updating-dependabot-alerts.md
+++ b/translations/zh-CN/content/code-security/dependabot/dependabot-alerts/viewing-and-updating-dependabot-alerts.md
@@ -11,7 +11,7 @@ shortTitle: 查看 Dependabot 警报
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
type: how_to
topics:
@@ -55,7 +55,7 @@ topics:
{% note %}
-**注意:** 在测试版期间,此功能仅适用于在 2022 年 4 月 14 日*之后*创建的新 Python 公告,以及历史 Python 公告的子集。 GitHub 正在努力回填其他历史 Python 公告的数据,这些公告是滚动添加的。 有漏洞的调用仅在 {% data variables.product.prodname_dependabot_alerts %} 页面上突出显示。
+**注意:** 在测试版期间,此功能仅适用于在 2022 年 4 月 14 日*之后*创建的新 Python 公告,以及历史 Python 公告的子集。 {% data variables.product.prodname_dotcom %} is working to backfill data across additional historical Python advisories, which are added on a rolling basis. 有漏洞的调用仅在 {% data variables.product.prodname_dependabot_alerts %} 页面上突出显示。
{% endnote %}
@@ -65,7 +65,7 @@ topics:
对于检测到有漏洞的调用的警报,警报详细信息页面将显示其他信息:
-- 显示函数使用位置或者在有多个调用时显示对函数的第一次调用的代码块。
+- One or more code blocks showing where the function is used.
- 列出函数本身以及指向调用函数的行的链接的注释。

diff --git a/translations/zh-CN/content/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates.md b/translations/zh-CN/content/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates.md
index 41bafcbf8c..681305856c 100644
--- a/translations/zh-CN/content/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates.md
+++ b/translations/zh-CN/content/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates.md
@@ -30,7 +30,7 @@ shortTitle: Dependabot 版本更新
{% data variables.product.prodname_dependabot %} 负责维护您的依赖项。 您可以使用它来确保仓库自动跟上它所依赖的包和应用程序的最新版本。
-通过将 a _dependabot.yml_configuration 文件检入仓库,可启用 {% data variables.product.prodname_dependabot_version_updates %}。 配置文件指定存储在仓库中的清单或其他包定义文件的位置。 {% data variables.product.prodname_dependabot %} 使用此信息来检查过时的软件包和应用程序。 {% data variables.product.prodname_dependabot %} 确定依赖项是否有新版本,它通过查看依赖的语义版本 ([semver](https://semver.org/)) 来决定是否应更新该版本。 对于某些软件包管理器,{% data variables.product.prodname_dependabot_version_updates %} 也支持供应。 供应(或缓存)的依赖项是检入仓库中特定目录的依赖项,而不是在清单中引用的依赖项。 即使包服务器不可用,供应的依赖项在生成时也可用。 {% data variables.product.prodname_dependabot_version_updates %} 可以配置为检查为新版本供应的依赖项,并在必要时更新它们。
+You enable {% data variables.product.prodname_dependabot_version_updates %} by checking a _dependabot.yml_ configuration file into your repository. 配置文件指定存储在仓库中的清单或其他包定义文件的位置。 {% data variables.product.prodname_dependabot %} 使用此信息来检查过时的软件包和应用程序。 {% data variables.product.prodname_dependabot %} 确定依赖项是否有新版本,它通过查看依赖的语义版本 ([semver](https://semver.org/)) 来决定是否应更新该版本。 对于某些软件包管理器,{% data variables.product.prodname_dependabot_version_updates %} 也支持供应。 供应(或缓存)的依赖项是检入仓库中特定目录的依赖项,而不是在清单中引用的依赖项。 即使包服务器不可用,供应的依赖项在生成时也可用。 {% data variables.product.prodname_dependabot_version_updates %} 可以配置为检查为新版本供应的依赖项,并在必要时更新它们。
当 {% data variables.product.prodname_dependabot %} 发现过时的依赖项时,它会发起拉取请求以将清单更新到依赖项的最新版本。 对于供应和依赖项,{% data variables.product.prodname_dependabot %} 提出拉取请求以直接将过时的依赖项替换为新版本。 检查测试是否通过,查看拉取请求摘要中包含的更改日志和发行说明,然后合并它。 更多信息请参阅“[配置 {% data variables.product.prodname_dependabot %} 版本更新](/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/enabling-and-disabling-dependabot-version-updates)”。
diff --git a/translations/zh-CN/content/code-security/dependabot/index.md b/translations/zh-CN/content/code-security/dependabot/index.md
index cb1f4984f9..2cfeef9d87 100644
--- a/translations/zh-CN/content/code-security/dependabot/index.md
+++ b/translations/zh-CN/content/code-security/dependabot/index.md
@@ -6,7 +6,7 @@ allowTitleToDifferFromFilename: true
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
topics:
- Dependabot
diff --git a/translations/zh-CN/content/code-security/dependabot/working-with-dependabot/troubleshooting-the-detection-of-vulnerable-dependencies.md b/translations/zh-CN/content/code-security/dependabot/working-with-dependabot/troubleshooting-the-detection-of-vulnerable-dependencies.md
index 722d2e48bd..86519f787b 100644
--- a/translations/zh-CN/content/code-security/dependabot/working-with-dependabot/troubleshooting-the-detection-of-vulnerable-dependencies.md
+++ b/translations/zh-CN/content/code-security/dependabot/working-with-dependabot/troubleshooting-the-detection-of-vulnerable-dependencies.md
@@ -9,7 +9,7 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
type: how_to
topics:
@@ -36,7 +36,7 @@ topics:
* {% data variables.product.prodname_dependabot %} scans any push, to the default branch, that contains a manifest file. When a new vulnerability record is added, it scans all existing repositories and generates an alert for each vulnerable repository. {% data variables.product.prodname_dependabot_alerts %} are aggregated at the repository level, rather than creating one alert per vulnerability. For more information, see "[About {% data variables.product.prodname_dependabot_alerts %}](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)."
* {% ifversion fpt or ghec or ghes > 3.2 %}{% data variables.product.prodname_dependabot_security_updates %} are triggered when you receive an alert about a vulnerable dependency in your repository. Where possible, {% data variables.product.prodname_dependabot %} creates a pull request in your repository to upgrade the vulnerable dependency to the minimum possible secure version needed to avoid the vulnerability. For more information, see "[About {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/about-dependabot-security-updates)" and "[Troubleshooting {% data variables.product.prodname_dependabot %} errors](/github/managing-security-vulnerabilities/troubleshooting-dependabot-errors)."
- {% endif %}{% data variables.product.prodname_dependabot %} doesn't scan repositories for vulnerable dependencies on a schedule, but rather when something changes. For example, a scan is triggered when a new dependency is added ({% data variables.product.prodname_dotcom %} checks for this on every push), or when a new vulnerability is added to the advisory database{% ifversion ghes or ghae-issue-4864 %} and synchronized to {% data variables.product.product_location %}{% endif %}. For more information, see "[About {% data variables.product.prodname_dependabot_alerts %}](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies#detection-of-vulnerable-dependencies)."
+ {% endif %}{% data variables.product.prodname_dependabot %} doesn't scan repositories for vulnerable dependencies on a schedule, but rather when something changes. For example, a scan is triggered when a new dependency is added ({% data variables.product.prodname_dotcom %} checks for this on every push), or when a new vulnerability is added to the advisory database{% ifversion ghes or ghae %} and synchronized to {% data variables.product.product_location %}{% endif %}. For more information, see "[About {% data variables.product.prodname_dependabot_alerts %}](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies#detection-of-vulnerable-dependencies)."
## Do {% data variables.product.prodname_dependabot_alerts %} only relate to vulnerable dependencies in manifests and lockfiles?
diff --git a/translations/zh-CN/content/code-security/getting-started/github-security-features.md b/translations/zh-CN/content/code-security/getting-started/github-security-features.md
index 21c6e0e3f7..c32115569b 100644
--- a/translations/zh-CN/content/code-security/getting-started/github-security-features.md
+++ b/translations/zh-CN/content/code-security/getting-started/github-security-features.md
@@ -20,7 +20,7 @@ topics:
The {% data variables.product.prodname_advisory_database %} contains a curated list of security vulnerabilities that you can view, search, and filter. {% data reusables.security-advisory.link-browsing-advisory-db %}
-{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes or ghae or ghec %}
## Available for all repositories
{% endif %}
### Security policy
@@ -41,7 +41,7 @@ View alerts about dependencies that are known to contain security vulnerabilitie
and "[About {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/about-dependabot-security-updates)."
{% endif %}
-{% ifversion ghes < 3.3 or ghae-issue-4864 %}
+{% ifversion ghes < 3.3 or ghae %}
### {% data variables.product.prodname_dependabot_alerts %}
{% data reusables.dependabot.dependabot-alerts-beta %}
@@ -55,7 +55,7 @@ View alerts about dependencies that are known to contain security vulnerabilitie
Use {% data variables.product.prodname_dependabot %} to automatically raise pull requests to keep your dependencies up-to-date. This helps reduce your exposure to older versions of dependencies. Using newer versions makes it easier to apply patches if security vulnerabilities are discovered, and also makes it easier for {% data variables.product.prodname_dependabot_security_updates %} to successfully raise pull requests to upgrade vulnerable dependencies. For more information, see "[About {% data variables.product.prodname_dependabot_version_updates %}](/github/administering-a-repository/about-dependabot-version-updates)."
{% endif %}
-{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes or ghae or ghec %}
### Dependency graph
The dependency graph allows you to explore the ecosystems and packages that your repository depends on and the repositories and packages that depend on your repository.
@@ -100,13 +100,13 @@ Available only with a license for {% data variables.product.prodname_GH_advanced
Automatically detect tokens or credentials that have been checked into a repository. You can view alerts for any secrets that {% data variables.product.company_short %} finds in your code, so that you know which tokens or credentials to treat as compromised. For more information, see "[About secret scanning](/code-security/secret-scanning/about-secret-scanning#about-secret-scanning-for-advanced-security)."
{% endif %}
-{% ifversion fpt or ghes > 3.1 or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes > 3.1 or ghae or ghec %}
### Dependency review
Show the full impact of changes to dependencies and see details of any vulnerable versions before you merge a pull request. For more information, see "[About dependency review](/code-security/supply-chain-security/about-dependency-review)."
{% endif %}
-{% ifversion ghec or ghes > 3.1 or ghae-issue-4554 %}
+{% ifversion ghec or ghes > 3.1 or ghae %}
### Security overview for organizations{% ifversion ghec or ghes > 3.4 or ghae-issue-6199 %}, enterprises,{% endif %} and teams
{% ifversion ghec %}
diff --git a/translations/zh-CN/content/code-security/getting-started/securing-your-organization.md b/translations/zh-CN/content/code-security/getting-started/securing-your-organization.md
index ebb6dbe2c8..dd6785e84c 100644
--- a/translations/zh-CN/content/code-security/getting-started/securing-your-organization.md
+++ b/translations/zh-CN/content/code-security/getting-started/securing-your-organization.md
@@ -33,7 +33,7 @@ You can create a default security policy that will display in any of your organi
{% endif %}
-{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes or ghae or ghec %}
## Managing {% data variables.product.prodname_dependabot_alerts %} and the dependency graph
{% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom %} detects vulnerabilities in public repositories and displays the dependency graph. You can enable or disable {% data variables.product.prodname_dependabot_alerts %} for all public repositories owned by your organization. You can enable or disable {% data variables.product.prodname_dependabot_alerts %} and the dependency graph for all private repositories owned by your organization.
@@ -51,7 +51,7 @@ You can create a default security policy that will display in any of your organi
For more information, see "[About {% data variables.product.prodname_dependabot_alerts %}](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)," "[Exploring the dependencies of a repository](/code-security/supply-chain-security/exploring-the-dependencies-of-a-repository#enabling-and-disabling-the-dependency-graph-for-a-private-repository)," and "[Managing security and analysis settings for your organization](/organizations/keeping-your-organization-secure/managing-security-and-analysis-settings-for-your-organization)."
{% endif %}
-{% ifversion fpt or ghes > 3.1 or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes > 3.1 or ghae or ghec %}
## Managing dependency review
@@ -138,7 +138,7 @@ You can view and manage alerts from security features to address dependencies an
{% ifversion fpt or ghec %}If you have a security vulnerability, you can create a security advisory to privately discuss and fix the vulnerability. For more information, see "[About {% data variables.product.prodname_security_advisories %}](/code-security/security-advisories/about-github-security-advisories)" and "[Creating a security advisory](/code-security/security-advisories/creating-a-security-advisory)."
{% endif %}
-{% ifversion fpt or ghes > 3.1 or ghec or ghae-issue-4554 %}{% ifversion ghes > 3.1 or ghec or ghae-issue-4554 %}You{% elsif fpt %}Organizations that use {% data variables.product.prodname_ghe_cloud %}{% endif %} can view, filter, and sort security alerts for repositories owned by {% ifversion ghes > 3.1 or ghec or ghae-issue-4554 %}your{% elsif fpt %}their{% endif %} organization in the security overview. For more information, see{% ifversion ghes or ghec or ghae-issue-4554 %} "[About the security overview](/code-security/security-overview/about-the-security-overview)."{% elsif fpt %} "[About the security overview](/enterprise-cloud@latest/code-security/security-overview/about-the-security-overview)" in the {% data variables.product.prodname_ghe_cloud %} documentation.{% endif %}{% endif %}
+{% ifversion fpt or ghes > 3.1 or ghec or ghae %}{% ifversion ghes > 3.1 or ghec or ghae %}You{% elsif fpt %}Organizations that use {% data variables.product.prodname_ghe_cloud %}{% endif %} can view, filter, and sort security alerts for repositories owned by {% ifversion ghes > 3.1 or ghec or ghae %}your{% elsif fpt %}their{% endif %} organization in the security overview. For more information, see{% ifversion ghes or ghec or ghae %} "[About the security overview](/code-security/security-overview/about-the-security-overview)."{% elsif fpt %} "[About the security overview](/enterprise-cloud@latest/code-security/security-overview/about-the-security-overview)" in the {% data variables.product.prodname_ghe_cloud %} documentation.{% endif %}{% endif %}
{% ifversion ghec %}
diff --git a/translations/zh-CN/content/code-security/getting-started/securing-your-repository.md b/translations/zh-CN/content/code-security/getting-started/securing-your-repository.md
index 6ee9dc430b..f89d57da22 100644
--- a/translations/zh-CN/content/code-security/getting-started/securing-your-repository.md
+++ b/translations/zh-CN/content/code-security/getting-started/securing-your-repository.md
@@ -44,7 +44,7 @@ From the main page of your repository, click **{% octicon "gear" aria-label="The
For more information, see "[Adding a security policy to your repository](/code-security/getting-started/adding-a-security-policy-to-your-repository)."
-{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes or ghae or ghec %}
## Managing the dependency graph
{% ifversion fpt or ghec %}
@@ -61,7 +61,7 @@ For more information, see "[Exploring the dependencies of a repository](/code-se
{% endif %}
-{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes or ghae or ghec %}
## Managing {% data variables.product.prodname_dependabot_alerts %}
{% data variables.product.prodname_dependabot_alerts %} are generated when {% data variables.product.prodname_dotcom %} identifies a dependency in the dependency graph with a vulnerability. {% ifversion fpt or ghec %}You can enable {% data variables.product.prodname_dependabot_alerts %} for any repository.{% endif %}
@@ -79,7 +79,7 @@ For more information, see "[About {% data variables.product.prodname_dependabot_
{% endif %}
-{% ifversion fpt or ghes > 3.1 or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes > 3.1 or ghae or ghec %}
## Managing dependency review
Dependency review lets you visualize dependency changes in pull requests before they are merged into your repositories. For more information, see "[About dependency review](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review)."
diff --git a/translations/zh-CN/content/code-security/security-overview/about-the-security-overview.md b/translations/zh-CN/content/code-security/security-overview/about-the-security-overview.md
index 58b79f6752..f8a78db300 100644
--- a/translations/zh-CN/content/code-security/security-overview/about-the-security-overview.md
+++ b/translations/zh-CN/content/code-security/security-overview/about-the-security-overview.md
@@ -1,13 +1,13 @@
---
title: 关于安全概述
intro: 您可以在一个位置查看、筛选和排序组织或团队拥有的存储库的安全警报:“安全概述”页。
-permissions: Organization owners and security managers can access the security overview for organizations. Members of a team can see the security overview for repositories that the team has admin privileges for.
+permissions: '{% data reusables.security-center.permissions %}'
product: '{% data reusables.gated-features.security-center %}'
redirect_from:
- /code-security/security-overview/exploring-security-alerts
versions:
fpt: '*'
- ghae: issue-4554
+ ghae: '*'
ghes: '>3.1'
ghec: '*'
type: how_to
@@ -22,7 +22,7 @@ topics:
shortTitle: 关于安全概述
---
-{% ifversion ghes < 3.5 or ghae-issue-4554 %}
+{% ifversion ghes < 3.5 or ghae %}
{% data reusables.security-center.beta %}
{% endif %}
@@ -69,7 +69,7 @@ shortTitle: 关于安全概述
{% ifversion ghec or ghes > 3.4 or ghae-issue-6199 %}
### 关于企业级安全性概述
-在企业级别,安全性概述显示企业的综合和存储库特定的安全信息。 您可以查看企业拥有的具有安全警报的存储库,也可以查看整个企业的所有 {% data variables.product.prodname_secret_scanning %} 警报。
+在企业级别,安全性概述显示企业的综合和存储库特定的安全信息。 You can view repositories owned by your enterprise that have security alerts, view all security alerts, or security feature-specific alerts from across your enterprise.
企业中组织的组织所有者和安全管理员对企业级安全概述的访问权限也有限。 他们只能查看他们具有完全访问权限的组织的存储库和警报。
diff --git a/translations/zh-CN/content/code-security/security-overview/filtering-alerts-in-the-security-overview.md b/translations/zh-CN/content/code-security/security-overview/filtering-alerts-in-the-security-overview.md
index 0a3d0600a0..f8c455db64 100644
--- a/translations/zh-CN/content/code-security/security-overview/filtering-alerts-in-the-security-overview.md
+++ b/translations/zh-CN/content/code-security/security-overview/filtering-alerts-in-the-security-overview.md
@@ -1,10 +1,10 @@
---
title: 筛选安全性概述中的警报
intro: 使用筛选器查看特定类别的警报
-permissions: Organization owners and security managers can access the security overview for organizations. Members of a team can see the security overview for repositories that the team has admin privileges for.
+permissions: '{% data reusables.security-center.permissions %}'
product: '{% data reusables.gated-features.security-center %}'
versions:
- ghae: issue-4554
+ ghae: '*'
ghes: '>3.1'
ghec: '*'
type: how_to
@@ -17,7 +17,7 @@ topics:
shortTitle: 筛选警报
---
-{% ifversion ghes < 3.5 or ghae-issue-4554 %}
+{% ifversion ghes < 3.5 or ghae %}
{% data reusables.security-center.beta %}
{% endif %}
diff --git a/translations/zh-CN/content/code-security/security-overview/index.md b/translations/zh-CN/content/code-security/security-overview/index.md
index 3fe12634bd..5eb9b22459 100644
--- a/translations/zh-CN/content/code-security/security-overview/index.md
+++ b/translations/zh-CN/content/code-security/security-overview/index.md
@@ -5,7 +5,7 @@ intro: 在一个位置查看、排序和过滤整个组织的安全警报。
product: '{% data reusables.gated-features.security-center %}'
versions:
fpt: '*'
- ghae: issue-4554
+ ghae: '*'
ghes: '>3.1'
ghec: '*'
topics:
diff --git a/translations/zh-CN/content/code-security/security-overview/viewing-the-security-overview.md b/translations/zh-CN/content/code-security/security-overview/viewing-the-security-overview.md
index 16524c1a83..e948401af1 100644
--- a/translations/zh-CN/content/code-security/security-overview/viewing-the-security-overview.md
+++ b/translations/zh-CN/content/code-security/security-overview/viewing-the-security-overview.md
@@ -1,7 +1,7 @@
---
title: 查看安全性概述
intro: 导航到安全概述中可用的不同视图
-permissions: Organization owners and security managers can access the security overview for organizations. Members of a team can see the security overview for repositories that the team has admin privileges for.
+permissions: '{% data reusables.security-center.permissions %}'
product: '{% data reusables.gated-features.security-center %}'
versions:
ghae: issue-5503
@@ -17,7 +17,7 @@ topics:
shortTitle: 查看安全性概述
---
-{% ifversion ghes < 3.5 or ghae-issue-4554 %}
+{% ifversion ghes < 3.5 or ghae %}
{% data reusables.security-center.beta %}
{% endif %}
@@ -28,7 +28,8 @@ shortTitle: 查看安全性概述
1. 要查看有关警报类型的汇总信息,请单击 **Show more(显示更多)**。 
{% data reusables.organizations.filter-security-overview %}
{% if security-overview-views %}
-1. 或者,也可以使用左侧边栏按安全功能筛选信息。 在每个页面上,您可以使用特定于每个功能的筛选器来微调搜索。 
+{% data reusables.organizations.security-overview-feature-specific-page %}
+ 
## 查看整个组织中的警报
@@ -42,6 +43,9 @@ shortTitle: 查看安全性概述
{% data reusables.enterprise-accounts.access-enterprise-on-dotcom %}
1. 在左侧边栏中,单击 {% octicon "shield" aria-label="The shield icon" %} **代码安全性**。
+{% if security-overview-feature-specific-alert-page %}
+{% data reusables.organizations.security-overview-feature-specific-page %}
+{% endif %}
{% endif %}
## 查看仓库的警报
diff --git a/translations/zh-CN/content/code-security/supply-chain-security/index.md b/translations/zh-CN/content/code-security/supply-chain-security/index.md
index eaeba9aeb4..3959ac0d47 100644
--- a/translations/zh-CN/content/code-security/supply-chain-security/index.md
+++ b/translations/zh-CN/content/code-security/supply-chain-security/index.md
@@ -8,7 +8,7 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
topics:
- Dependabot
diff --git a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review.md b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review.md
index 1760354052..657a130542 100644
--- a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review.md
+++ b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review.md
@@ -6,7 +6,7 @@ shortTitle: 依赖项审查
versions:
fpt: '*'
ghes: '>= 3.2'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
type: overview
topics:
diff --git a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-supply-chain-security.md b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-supply-chain-security.md
index 0518b8bf9f..81bc60f551 100644
--- a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-supply-chain-security.md
+++ b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-supply-chain-security.md
@@ -8,7 +8,7 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
type: overview
topics:
diff --git a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph.md b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph.md
index 409595d281..1b04851134 100644
--- a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph.md
+++ b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph.md
@@ -7,7 +7,7 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
type: overview
topics:
diff --git a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-dependency-review.md b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-dependency-review.md
index ebfe5b405f..1aa92c76df 100644
--- a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-dependency-review.md
+++ b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-dependency-review.md
@@ -5,7 +5,7 @@ shortTitle: 配置依赖项审查
versions:
fpt: '*'
ghes: '>= 3.2'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
type: how_to
topics:
diff --git a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph.md b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph.md
index 344ae76a3e..ea3f7eb81c 100644
--- a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph.md
+++ b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph.md
@@ -6,7 +6,7 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
type: how_to
topics:
diff --git a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository.md b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository.md
index 25c0565ddd..c98252fbef 100644
--- a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository.md
+++ b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository.md
@@ -12,7 +12,7 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
type: how_to
topics:
diff --git a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/index.md b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/index.md
index dea1ad4e18..3c84993150 100644
--- a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/index.md
+++ b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/index.md
@@ -3,7 +3,7 @@ title: 了解您的软件供应链
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
topics:
- Dependency graph
diff --git a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/troubleshooting-the-dependency-graph.md b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/troubleshooting-the-dependency-graph.md
index 6de1b7a25d..0fe9cbaf0e 100644
--- a/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/troubleshooting-the-dependency-graph.md
+++ b/translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/troubleshooting-the-dependency-graph.md
@@ -5,7 +5,7 @@ shortTitle: Troubleshoot dependency graph
versions:
fpt: '*'
ghes: '*'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
type: how_to
topics:
@@ -59,4 +59,4 @@ Yes, the dependency graph has two categories of limits:
- "[About the dependency graph](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph)"
- "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)"
- "[Troubleshooting the detection of vulnerable dependencies](/code-security/dependabot/working-with-dependabot/troubleshooting-the-detection-of-vulnerable-dependencies)"{% ifversion fpt or ghec or ghes > 3.2 %}
-- "[Troubleshooting {% data variables.product.prodname_dependabot %} errors](/github/managing-security-vulnerabilities/troubleshooting-dependabot-errors)"{% endif %}
\ No newline at end of file
+- "[Troubleshooting {% data variables.product.prodname_dependabot %} errors](/github/managing-security-vulnerabilities/troubleshooting-dependabot-errors)"{% endif %}
diff --git a/translations/zh-CN/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates.md b/translations/zh-CN/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates.md
index 2268f0da21..e9f9e7686e 100644
--- a/translations/zh-CN/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates.md
+++ b/translations/zh-CN/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates.md
@@ -36,9 +36,7 @@ shortTitle: 关于模板
通过议题表单,您可以使用 {% data variables.product.prodname_dotcom %} 表单架构创建具有 Web 表单字段的模板。 当贡献者使用议题表单打开议题时,表单输入将转换为标准 Markdown 议题评论。 您可以指定不同的输入类型并根据需要设置输入,以帮助贡献者打开仓库中可操作的议题。 更多信息请参阅“[为仓库配置议题模板](/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms)”和“[议题表单的语法](/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms)”。
{% endif %}
-{% ifversion fpt or ghae or ghes or ghec %}
{% data reusables.repositories.issue-template-config %}更多信息请参阅“[为仓库配置议题模板](/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser)”。
-{% endif %}
议题模板存储在仓库的默认分支的隐藏目录 `.github/ISSUE_TEMPLATE` 中。 如果您在另一个分支中创建模板,协作者将无法使用。 议题模板文件名不区分大小写,并且需要 *.md* 扩展名。{% ifversion fpt or ghec %} 使用议题表单创建的议题模板需要 *.yml* 扩展名。{% endif %} {% data reusables.repositories.valid-community-issues %}
diff --git a/translations/zh-CN/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository.md b/translations/zh-CN/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository.md
index 819c208778..5843a7c2e4 100644
--- a/translations/zh-CN/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository.md
+++ b/translations/zh-CN/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository.md
@@ -21,12 +21,8 @@ shortTitle: 配置
{% endif %}
-{% ifversion fpt or ghae or ghes or ghec %}
-
## 创建议题模板
-{% endif %}
-
{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-settings %}
3. 在“Features(功能)”部分的“Issues(议题)”下,单击 **Set up templates(设置模板)**。 
@@ -62,7 +58,6 @@ shortTitle: 配置
{% endif %}
-{% ifversion fpt or ghae or ghes or ghec %}
## 配置模板选择器
{% data reusables.repositories.issue-template-config %}
@@ -99,7 +94,6 @@ contact_links:
{% data reusables.files.write_commit_message %}
{% data reusables.files.choose_commit_branch %}
{% data reusables.files.propose_new_file %}
-{% endif %}
## 延伸阅读
diff --git a/translations/zh-CN/content/developers/apps/building-github-apps/creating-a-github-app-using-url-parameters.md b/translations/zh-CN/content/developers/apps/building-github-apps/creating-a-github-app-using-url-parameters.md
index b213198207..5e2d276dce 100644
--- a/translations/zh-CN/content/developers/apps/building-github-apps/creating-a-github-app-using-url-parameters.md
+++ b/translations/zh-CN/content/developers/apps/building-github-apps/creating-a-github-app-using-url-parameters.md
@@ -89,7 +89,7 @@ shortTitle: 应用程序创建查询参数
| [`single_file`](/rest/reference/permissions-required-for-github-apps/#permission-on-single-file) | 授予对[内容 API](/rest/reference/repos#contents) 的访问权限。 可以是以下项之一:`none`、`read` 或 `write`。 |
| [`标星`](/rest/reference/permissions-required-for-github-apps/#permission-on-starring) | 授予对[标星 API](/rest/reference/activity#starring) 的访问权限。 可以是以下项之一:`none`、`read` 或 `write`。 |
| [`状态`](/rest/reference/permissions-required-for-github-apps/#permission-on-statuses) | 授予对[状态 API](/rest/reference/commits#commit-statuses) 的访问权限。 可以是以下项之一:`none`、`read` 或 `write`。 |
-| [`team_discussions`](/rest/reference/permissions-required-for-github-apps/#permission-on-team-discussions) | 授予对[团队讨论 API](/rest/reference/teams#discussions) 和[团队讨论注释 API](/rest/reference/teams#discussion-comments) 的访问权限。 可以是以下项之一:`none`、`read` 或 `write`。{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+| [`team_discussions`](/rest/reference/permissions-required-for-github-apps/#permission-on-team-discussions) | 授予对[团队讨论 API](/rest/reference/teams#discussions) 和[团队讨论注释 API](/rest/reference/teams#discussion-comments) 的访问权限。 可以是以下项之一:`none`、`read` 或 `write`。{% ifversion fpt or ghes or ghae or ghec %}
| `vulnerability_alerts` | 授予接收存储库中易受攻击的依赖项 {% data variables.product.prodname_dependabot_alerts %}。 请参阅“[关于 {% data variables.product.prodname_dependabot_alerts %}](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies/)”以了解更多信息。 可以是以下项之一:`none` 或 `read`。{% endif %}
| `关注` | 授予列出和更改用户订阅的仓库的权限。 可以是以下项之一:`none`、`read` 或 `write`。 |
diff --git a/translations/zh-CN/content/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps.md b/translations/zh-CN/content/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps.md
index e5f2a0c328..05e7ad40e1 100644
--- a/translations/zh-CN/content/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps.md
+++ b/translations/zh-CN/content/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps.md
@@ -239,8 +239,8 @@ curl -H "Authorization: token OAUTH-TOKEN" {% data variables.product.api_url_pre
* [列出部署](/rest/reference/deployments#list-deployments)
* [创建部署](/rest/reference/deployments#create-a-deployment)
-* [获取部署](/rest/reference/deployments#get-a-deployment){% ifversion fpt or ghes or ghae or ghec %}
-* [删除部署](/rest/reference/deployments#delete-a-deployment){% endif %}
+* [Get a deployment](/rest/reference/deployments#get-a-deployment)
+* [Delete a deployment](/rest/reference/deployments#delete-a-deployment)
#### 事件
@@ -422,14 +422,12 @@ curl -H "Authorization: token OAUTH-TOKEN" {% data variables.product.api_url_pre
* [删除组织的预接收挂钩实施](/enterprise/user/rest/reference/enterprise-admin#remove-pre-receive-hook-enforcement-for-an-organization)
{% endif %}
-{% ifversion fpt or ghes or ghae or ghec %}
#### 组织团队项目
* [列出团队项目](/rest/reference/teams#list-team-projects)
* [检查项目的团队权限](/rest/reference/teams#check-team-permissions-for-a-project)
* [添加或更新团队项目权限](/rest/reference/teams#add-or-update-team-project-permissions)
* [从团队删除项目](/rest/reference/teams#remove-a-project-from-a-team)
-{% endif %}
#### 组织团队仓库
@@ -575,7 +573,7 @@ curl -H "Authorization: token OAUTH-TOKEN" {% data variables.product.api_url_pre
#### 反应
-{% ifversion fpt or ghes or ghae or ghec %}* [删除反应](/rest/reference/reactions#delete-a-reaction-legacy){% else %}* [删除反应](/rest/reference/reactions#delete-a-reaction){% endif %}
+* [Delete a reaction](/rest/reference/reactions)
* [列出提交注释的反应](/rest/reference/reactions#list-reactions-for-a-commit-comment)
* [创建提交注释的反应](/rest/reference/reactions#create-reaction-for-a-commit-comment)
* [列出议题的反应](/rest/reference/reactions#list-reactions-for-an-issue)
@@ -587,13 +585,13 @@ curl -H "Authorization: token OAUTH-TOKEN" {% data variables.product.api_url_pre
* [列出团队讨论注释的反应](/rest/reference/reactions#list-reactions-for-a-team-discussion-comment)
* [创建团队讨论注释的反应](/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)
* [列出团队讨论的反应](/rest/reference/reactions#list-reactions-for-a-team-discussion)
-* [创建团队讨论的反应](/rest/reference/reactions#create-reaction-for-a-team-discussion){% ifversion fpt or ghes or ghae or ghec %}
+* [Create reaction for a team discussion](/rest/reference/reactions#create-reaction-for-a-team-discussion)
* [删除提交注释反应](/rest/reference/reactions#delete-a-commit-comment-reaction)
* [删除议题反应](/rest/reference/reactions#delete-an-issue-reaction)
* [删除对提交注释的反应](/rest/reference/reactions#delete-an-issue-comment-reaction)
* [删除拉取请求注释反应](/rest/reference/reactions#delete-a-pull-request-comment-reaction)
* [删除团队讨论反应](/rest/reference/reactions#delete-team-discussion-reaction)
-* [删除团队讨论注释反应](/rest/reference/reactions#delete-team-discussion-comment-reaction){% endif %}
+* [Delete team discussion comment reaction](/rest/reference/reactions#delete-team-discussion-comment-reaction)
#### 仓库
@@ -707,11 +705,9 @@ curl -H "Authorization: token OAUTH-TOKEN" {% data variables.product.api_url_pre
* [获取仓库自述文件](/rest/reference/repos#get-a-repository-readme)
* [获取仓库许可](/rest/reference/licenses#get-the-license-for-a-repository)
-{% ifversion fpt or ghes or ghae or ghec %}
#### 仓库事件调度
* [创建仓库调度事件](/rest/reference/repos#create-a-repository-dispatch-event)
-{% endif %}
#### 仓库挂钩
diff --git a/translations/zh-CN/content/developers/apps/building-oauth-apps/authorizing-oauth-apps.md b/translations/zh-CN/content/developers/apps/building-oauth-apps/authorizing-oauth-apps.md
index e81f5f7f50..94bdb8a9cb 100644
--- a/translations/zh-CN/content/developers/apps/building-oauth-apps/authorizing-oauth-apps.md
+++ b/translations/zh-CN/content/developers/apps/building-oauth-apps/authorizing-oauth-apps.md
@@ -333,7 +333,7 @@ http://127.0.0.1:1234/path
* "[对授权请求错误进行故障排除](/apps/managing-oauth-apps/troubleshooting-authorization-request-errors)"
* "[对 OAuth 应用程序访问令牌请求错误进行故障排除](/apps/managing-oauth-apps/troubleshooting-oauth-app-access-token-request-errors)"
-* "[设备流错误](#error-codes-for-the-device-flow)"{% ifversion fpt or ghae-issue-4374 or ghes > 3.2 or ghec %}
+* "[设备流错误](#error-codes-for-the-device-flow)"{% ifversion fpt or ghae or ghes > 3.2 or ghec %}
* "[令牌到期和撤销](/github/authenticating-to-github/keeping-your-account-and-data-secure/token-expiration-and-revocation)"{% endif %}
## 延伸阅读
diff --git a/translations/zh-CN/content/developers/apps/getting-started-with-apps/about-apps.md b/translations/zh-CN/content/developers/apps/getting-started-with-apps/about-apps.md
index eec4a49f78..b2ddf4a8d6 100644
--- a/translations/zh-CN/content/developers/apps/getting-started-with-apps/about-apps.md
+++ b/translations/zh-CN/content/developers/apps/getting-started-with-apps/about-apps.md
@@ -84,7 +84,7 @@ Keep these ideas in mind when using personal access tokens:
* You can perform one-off cURL requests.
* You can run personal scripts.
* Don't set up a script for your whole team or company to use.
-* Don't set up a shared personal account to act as a bot user.{% ifversion fpt or ghes > 3.2 or ghae-issue-4374 or ghec %}
+* Don't set up a shared personal account to act as a bot user.{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
* Do set an expiration for your personal access tokens, to help keep your information secure.{% endif %}
## Determining which integration to build
diff --git a/translations/zh-CN/content/developers/webhooks-and-events/webhooks/securing-your-webhooks.md b/translations/zh-CN/content/developers/webhooks-and-events/webhooks/securing-your-webhooks.md
index a71679f235..bc200e0243 100644
--- a/translations/zh-CN/content/developers/webhooks-and-events/webhooks/securing-your-webhooks.md
+++ b/translations/zh-CN/content/developers/webhooks-and-events/webhooks/securing-your-webhooks.md
@@ -89,4 +89,4 @@ end
* **不建议**使用普通的 `==` 运算符。 像 [`secure_compare`][secure_compare] 这样的方法执行“恒定时间”字符串比较,这有助于减轻针对常规相等运算符的某些定时攻击。
-[secure_compare]: https://rubydoc.info/github/rack/rack/master/Rack/Utils:secure_compare
+[secure_compare]: https://rubydoc.info/github/rack/rack/main/Rack/Utils:secure_compare
diff --git a/translations/zh-CN/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md b/translations/zh-CN/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md
index 8d2c487aa3..517f94bf5d 100644
--- a/translations/zh-CN/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md
+++ b/translations/zh-CN/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md
@@ -1,6 +1,6 @@
---
-title: Web 挂钩事件和有效负载
-intro: 对于每个 web 挂钩事件,您可以查看事件发生的时间、示例有效负载以及有关有效负载对象参数的说明。
+title: Webhook events and payloads
+intro: 'For each webhook event, you can review when the event occurs, an example payload, and descriptions about the payload object parameters.'
product: '{% data reusables.gated-features.enterprise_account_webhooks %}'
redirect_from:
- /early-access/integrations/webhooks
@@ -14,53 +14,52 @@ versions:
ghec: '*'
topics:
- Webhooks
-shortTitle: Web 挂钩事件和有效负载
+shortTitle: Webhook events & payloads
---
-
{% ifversion fpt or ghec %}
{% endif %}
{% data reusables.webhooks.webhooks_intro %}
-您可以创建订阅此页所列事件的 web 挂钩。 每个 web 挂钩事件都包括 web 挂钩属性的说明和示例有效负载。 更多信息请参阅“[创建 web 挂钩](/webhooks/creating/)”。
+You can create webhooks that subscribe to the events listed on this page. Each webhook event includes a description of the webhook properties and an example payload. For more information, see "[Creating webhooks](/webhooks/creating/)."
-## Web 挂钩有效负载对象共有属性
+## Webhook payload object common properties
-每个 web 挂钩事件有效负载还包含特定于事件的属性。 您可以在各个事件类型部分中找到这些独特属性。
+Each webhook event payload also contains properties unique to the event. You can find the unique properties in the individual event type sections.
-| 键 | 类型 | 描述 |
-| -------- | ----- | -------------------------------------------- |
-| `action` | `字符串` | 大多数 web 挂钩有效负载都包括 `action` 属性,其中包含触发事件的特定活动。 |
-{% data reusables.webhooks.sender_desc %} 此属性包含在每个 web 挂钩有效负载中。
-{% data reusables.webhooks.repo_desc %} 当事件发生源于仓库中的活动时,web 挂钩有效负载包含 `repository` 属性。
+Key | Type | Description
+----|------|-------------
+`action` | `string` | Most webhook payloads contain an `action` property that contains the specific activity that triggered the event.
+{% data reusables.webhooks.sender_desc %} This property is included in every webhook payload.
+{% data reusables.webhooks.repo_desc %} Webhook payloads contain the `repository` property when the event occurs from activity in a repository.
{% data reusables.webhooks.org_desc %}
-{% data reusables.webhooks.app_desc %} 更多信息请参阅“[构建 {% data variables.product.prodname_github_app %}](/apps/building-github-apps/)”。
+{% data reusables.webhooks.app_desc %} For more information, see "[Building {% data variables.product.prodname_github_app %}](/apps/building-github-apps/)."
-Web 挂钩事件的独特属性与您使用[事件 API](/rest/reference/activity#events) 时在 `payload` 属性中发现的属性相同。 唯一的例外是 [`push` 事件](#push)。 `push` 事件 web 挂钩有效负载的独特属性与 Events API 中的 `payload` 属性不同。 Web 挂钩有效负载包含更详细的信息。
+The unique properties for a webhook event are the same properties you'll find in the `payload` property when using the [Events API](/rest/reference/activity#events). One exception is the [`push` event](#push). The unique properties of the `push` event webhook payload and the `payload` property in the Events API differ. The webhook payload contains more detailed information.
{% tip %}
-**注:**有效负载的上限为 25 MB。 如果事件生成了更大的有效负载,web 挂钩将不会触发。 例如,如果同时推送多个分支或标记,这种情况可能会发生在 `create` 事件中。 我们建议监控有效负载的大小以确保成功递送。
+**Note:** Payloads are capped at 25 MB. If your event generates a larger payload, a webhook will not be fired. This may happen, for example, on a `create` event if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery.
{% endtip %}
-### 递送标头
+### Delivery headers
-递送到 web 挂钩已配置 URL 端点的 HTTP POST 有效负载将包含几个特殊标头:
+HTTP POST payloads that are delivered to your webhook's configured URL endpoint will contain several special headers:
-| 标头 | 描述 |
-| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `X-GitHub-Event` | 触发递送的事件名称。 |
-| `X-GitHub-Delivery` | 用于标识递送的 [GUID](http://en.wikipedia.org/wiki/Globally_unique_identifier)。{% ifversion ghes or ghae %}
-| `X-GitHub-Enterprise-Version` | 发送 HTTP POST 有效负载的 {% data variables.product.prodname_ghe_server %} 实例的版本。 |
-| `X-GitHub-Enterprise-Host` | 发送 HTTP POST 有效负载的 {% data variables.product.prodname_ghe_server %} 实例的主机名。{% endif %}{% ifversion not ghae %}
-| `X-Hub-Signature` | 如果使用 [`secret`](/rest/reference/repos#create-hook-config-params) 配置了 web 挂钩,则发送此标头。 这是请求正文的 HMAC 十六进制摘要,是使用 SHA-1 哈希函数和作为 HMAC `密钥`的`机密` 生成的。{% ifversion fpt or ghes or ghec %} 提供了`X-Hub-Signature`,以便与现有集成兼容,我们建议您改用更安全的 `X-Hub-Signature-256`。{% endif %}{% endif %}
-| `X-Hub-Signature-256` | 如果使用 [`secret`](/rest/reference/repos#create-hook-config-params) 配置了 web 挂钩,则发送此标头。 这是请求正文的 HMAC 十六进制摘要,它是使用 SHA-256 哈希函数和作为 HMAC `key` 的 `secret` 生成的。 |
+Header | Description
+-------|-------------|
+`X-GitHub-Event`| Name of the event that triggered the delivery.
+`X-GitHub-Delivery`| A [GUID](http://en.wikipedia.org/wiki/Globally_unique_identifier) to identify the delivery.{% ifversion ghes or ghae %}
+`X-GitHub-Enterprise-Version` | The version of the {% data variables.product.prodname_ghe_server %} instance that sent the HTTP POST payload.
+`X-GitHub-Enterprise-Host` | The hostname of the {% data variables.product.prodname_ghe_server %} instance that sent the HTTP POST payload.{% endif %}{% ifversion not ghae %}
+`X-Hub-Signature`| This header is sent if the webhook is configured with a [`secret`](/rest/reference/repos#create-hook-config-params). This is the HMAC hex digest of the request body, and is generated using the SHA-1 hash function and the `secret` as the HMAC `key`.{% ifversion fpt or ghes or ghec %} `X-Hub-Signature` is provided for compatibility with existing integrations, and we recommend that you use the more secure `X-Hub-Signature-256` instead.{% endif %}{% endif %}
+`X-Hub-Signature-256`| This header is sent if the webhook is configured with a [`secret`](/rest/reference/repos#create-hook-config-params). This is the HMAC hex digest of the request body, and is generated using the SHA-256 hash function and the `secret` as the HMAC `key`.
-此外,请求的 `User-Agent` 将含有前缀 `GitHub-Hookshot/`。
+Also, the `User-Agent` for the requests will have the prefix `GitHub-Hookshot/`.
-### 递送示例
+### Example delivery
```shell
> POST /payload HTTP/2
@@ -104,26 +103,26 @@ Web 挂钩事件的独特属性与您使用[事件 API](/rest/reference/activity
{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
## branch_protection_rule
-与分支保护规则相关的活动。 更多信息请参阅“[关于分支保护规则](/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-rules)”。
+Activity related to a branch protection rule. For more information, see "[About branch protection rules](/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-rules)."
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 对仓库管理至少拥有 `read-only` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with at least `read-only` access on repositories administration
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| --------- | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `action` | `字符串` | 执行的操作。 可以是 `created`、`edited` 或 `deleted`。 |
-| `rule` | `对象` | 分支保护规则。 包括 `name` 以及适用于与名称匹配的分支的所有 [分支保护设置](/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings)。 二进制设置是布尔值。 多级配置是 `off`、`non_admins` 或 `everyone` 之一。 执行者和构建列表是字符串数组。 |
-| `changes` | `对象` | 如果操作是 `edited`,则为规则的更改。 |
+Key | Type | Description
+----|------|-------------
+`action` |`string` | The action performed. Can be `created`, `edited`, or `deleted`.
+`rule` | `object` | The branch protection rule. Includes a `name` and all the [branch protection settings](/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.
+`changes` | `object` | If the action was `edited`, the changes to the rule.
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.branch_protection_rule.edited }}
{% endif %}
@@ -131,26 +130,26 @@ Web 挂钩事件的独特属性与您使用[事件 API](/rest/reference/activity
{% ifversion ghes > 3.3 %}
## cache_sync
-Git 引用已成功同步到缓存副本。 更多信息请参阅“[关于仓库缓存](/admin/enterprise-management/caching-repositories/about-repository-caching)”。
+A Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](/admin/enterprise-management/caching-repositories/about-repository-caching)."
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
+- Repository webhooks
+- Organization webhooks
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| ---------------- | ----- | ----------------- |
-| `cache_location` | `字符串` | 已更新的缓存服务器的位置。 |
-| `ref` | `字符串` | 已更新的引用。 |
-| `before` | `字符串` | 缓存副本在更新之前引用的 OID。 |
-| `after` | `字符串` | 更新后缓存副本上引用的 OID。 |
+Key | Type | Description
+----|------|-------------
+`cache_location` |`string` | The location of the cache server that has been updated.
+`ref` | `string` | The ref that has been updated.
+`before` | `string` | The OID of the ref on the cache replica before it was updated.
+`after` | `string` | The OID of the ref on the cache replica after the update.
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.cache_sync.synced }}
{% endif %}
@@ -161,13 +160,13 @@ Git 引用已成功同步到缓存副本。 更多信息请参阅“[关于仓
{% data reusables.apps.undetected-pushes-to-a-forked-repository-for-check-suites %}
-### 可用性
+### Availability
-- 仓库 web 挂钩只接收仓库中 `created` 和 `completed` 事件类型的有效负载
-- 组织 web 挂钩只接收仓库中 `created` 和 `completed` 事件类型的有效负载
-- 具有 `checks:read` 权限的 {% data variables.product.prodname_github_apps %} 接收应用程序所在仓库中发生的 `created` 和 `completed` 事件的有效负载。 应用程序必须具有 `checks:write` 权限才能接收 `rerequested` 和 `requested_action` 事件类型。 `rerequested` 和 `requested_action` 事件类型有效负载仅发送到被请求的 {% data variables.product.prodname_github_app %}。 具有 `checks:write` 权限的 {% data variables.product.prodname_github_apps %} 会自动订阅此 web 挂钩事件。
+- Repository webhooks only receive payloads for the `created` and `completed` event types in a repository
+- Organization webhooks only receive payloads for the `created` and `completed` event types in repositories
+- {% data variables.product.prodname_github_apps %} with the `checks:read` permission receive payloads for the `created` and `completed` events that occur in the repository where the app is installed. The app must have the `checks:write` permission to receive the `rerequested` and `requested_action` event types. The `rerequested` and `requested_action` event type payloads are only sent to the {% data variables.product.prodname_github_app %} being requested. {% data variables.product.prodname_github_apps %} with the `checks:write` are automatically subscribed to this webhook event.
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.check_run_properties %}
{% data reusables.webhooks.repo_desc %}
@@ -175,7 +174,7 @@ Git 引用已成功同步到缓存副本。 更多信息请参阅“[关于仓
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.check_run.created }}
@@ -185,13 +184,13 @@ Git 引用已成功同步到缓存副本。 更多信息请参阅“[关于仓
{% data reusables.apps.undetected-pushes-to-a-forked-repository-for-check-suites %}
-### 可用性
+### Availability
-- 仓库 web 挂钩只接收仓库中 `completed` 事件类型的有效负载
-- 组织 web 挂钩只接收仓库中 `completed` 事件类型的有效负载
-- 具有 `checks:read` 权限的 {% data variables.product.prodname_github_apps %} 接收应用程序所在仓库中发生的 `created` 和 `completed` 事件的有效负载。 应用程序必须具有 `checks:write` 权限才能接收 `requested` 和 `rerequested` 事件类型。 `requested` 和 `rerequested` 事件类型有效负载仅发送到被请求的 {% data variables.product.prodname_github_app %}。 具有 `checks:write` 权限的 {% data variables.product.prodname_github_apps %} 会自动订阅此 web 挂钩事件。
+- Repository webhooks only receive payloads for the `completed` event types in a repository
+- Organization webhooks only receive payloads for the `completed` event types in repositories
+- {% data variables.product.prodname_github_apps %} with the `checks:read` permission receive payloads for the `created` and `completed` events that occur in the repository where the app is installed. The app must have the `checks:write` permission to receive the `requested` and `rerequested` event types. The `requested` and `rerequested` event type payloads are only sent to the {% data variables.product.prodname_github_app %} being requested. {% data variables.product.prodname_github_apps %} with the `checks:write` are automatically subscribed to this webhook event.
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.check_suite_properties %}
{% data reusables.webhooks.repo_desc %}
@@ -199,7 +198,7 @@ Git 引用已成功同步到缓存副本。 更多信息请参阅“[关于仓
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.check_suite.completed }}
@@ -207,21 +206,21 @@ Git 引用已成功同步到缓存副本。 更多信息请参阅“[关于仓
{% data reusables.webhooks.code_scanning_alert_event_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `contents` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `security_events :read` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.code_scanning_alert_event_properties %}
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
-`sender` | `object` | 如果 `action` 是 `reopened_by_user` 或 `closed_by_user`,则 `sender` 对象将是触发事件的用户。 `sender` 对象对所有其他操作是 {% ifversion fpt or ghec %}`github` {% elsif ghes or ghae %}`github-enterprise` {% else %}空 {% endif %}。
+`sender` | `object` | If the `action` is `reopened_by_user` or `closed_by_user`, the `sender` object will be the user that triggered the event. The `sender` object is {% ifversion fpt or ghec %}`github`{% elsif ghes or ghae %}`github-enterprise`{% else %}empty{% endif %} for all other actions.
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.code_scanning_alert.reopened }}
@@ -229,13 +228,13 @@ Git 引用已成功同步到缓存副本。 更多信息请参阅“[关于仓
{% data reusables.webhooks.commit_comment_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `contents` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `contents` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.commit_comment_properties %}
{% data reusables.webhooks.repo_desc %}
@@ -243,7 +242,7 @@ Git 引用已成功同步到缓存副本。 更多信息请参阅“[关于仓
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.commit_comment.created }}
@@ -252,13 +251,13 @@ Git 引用已成功同步到缓存副本。 更多信息请参阅“[关于仓
{% data reusables.webhooks.content_reference_short_desc %}
-Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如果您注册了一个子域 (`https://subdomain.example.com`),则只有该子域的 URL 才会触发此事件。 如果您注册了一个域 (`https://example.com`),则该域及所有子域的 URL 都会触发此事件。 请参阅“[创建内容附件](/rest/reference/apps#create-a-content-attachment)”以创建新的内容附件。
+Webhook events are triggered based on the specificity of the domain you register. For example, if you register a subdomain (`https://subdomain.example.com`) then only URLs for the subdomain trigger this event. If you register a domain (`https://example.com`) then URLs for domain and all subdomains trigger this event. See "[Create a content attachment](/rest/reference/apps#create-a-content-attachment)" to create a new content attachment.
-### 可用性
+### Availability
-- 具有 `content_references:write` 权限的 {% data variables.product.prodname_github_apps %}
+- {% data variables.product.prodname_github_apps %} with the `content_references:write` permission
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.content_reference.created }}
@@ -269,17 +268,17 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% note %}
-**注:**同时创建三个以上的标记时不会收到此事件的 web 挂钩。
+**Note:** You will not receive a webhook for this event when you create more than three tags at once.
{% endnote %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `contents` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `contents` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.create_properties %}
{% data reusables.webhooks.pusher_type_desc %}
@@ -288,7 +287,7 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.create }}
@@ -298,17 +297,17 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% note %}
-**注:**同时删除三个以上的标记时不会收到此事件的 web 挂钩。
+**Note:** You will not receive a webhook for this event when you delete more than three tags at once.
{% endnote %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `contents` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `contents` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.delete_properties %}
{% data reusables.webhooks.pusher_type_desc %}
@@ -317,7 +316,7 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.delete }}
@@ -325,19 +324,19 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.deploy_key_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
+- Repository webhooks
+- Organization webhooks
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.deploy_key_properties %}
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.deploy_key.created }}
@@ -345,24 +344,24 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.deployment_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `deployments` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `deployments` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| ------------ | ------------------------------------------- | --------------------------------------------------- |{% ifversion fpt or ghes or ghae or ghec %}
-| `action` | `字符串` | 执行的操作。 可以是 `created`。{% endif %}
-| `deployment` | `对象` | [部署](/rest/reference/deployments#list-deployments)。 |
+Key | Type | Description
+----|------|-------------
+`action` |`string` | The action performed. Can be `created`.
+`deployment` |`object` | The [deployment](/rest/reference/deployments#list-deployments).
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.deployment }}
@@ -370,54 +369,54 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.deployment_status_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `deployments` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `deployments` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| ---------------------------------- | ------------------------------------------- | ------------------------------------------------------------- |{% ifversion fpt or ghes or ghae or ghec %}
-| `action` | `字符串` | 执行的操作。 可以是 `created`。{% endif %}
-| `deployment_status` | `对象` | [部署状态](/rest/reference/deployments#list-deployment-statuses)。 |
-| `deployment_status["state"]` | `字符串` | 新状态。 可以是 `pending`、`success`、`failure` 或 `error`。 |
-| `deployment_status["target_url"]` | `字符串` | 添加到状态的可选链接。 |
-| `deployment_status["description"]` | `字符串` | 添加到状态的可选人类可读说明。 |
-| `deployment` | `对象` | 此状态关联的[部署](/rest/reference/deployments#list-deployments)。 |
+Key | Type | Description
+----|------|-------------
+`action` |`string` | The action performed. Can be `created`.
+`deployment_status` |`object` | The [deployment status](/rest/reference/deployments#list-deployment-statuses).
+`deployment_status["state"]` |`string` | The new state. Can be `pending`, `success`, `failure`, or `error`.
+`deployment_status["target_url"]` |`string` | The optional link added to the status.
+`deployment_status["description"]`|`string` | The optional human-readable description added to the status.
+`deployment` |`object` | The [deployment](/rest/reference/deployments#list-deployments) that this status is associated with.
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.deployment_status }}
{% ifversion fpt or ghec %}
-## 讨论
+## discussion
{% data reusables.webhooks.discussions-webhooks-beta %}
-与讨论有关的活动。 更多信息请参阅“[使用 GraphQL API 进行讨论]({% ifversion ghec %}/free-pro-team@latest{% endif %}/graphql/guides/using-the-graphql-api-for-discussions)”。
-### 可用性
+Activity related to a discussion. For more information, see the "[Using the GraphQL API for discussions]({% ifversion ghec %}/free-pro-team@latest{% endif %}/graphql/guides/using-the-graphql-api-for-discussions)."
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `discussions` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `discussions` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| -------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `action` | `字符串` | 执行的操作。 可以是 `created`、`edited`、`deleted`、`pinned`、`unpinned`、`locked`、`unlocked`、`transferred`、`category_changed`、`answered`、`unanswered`、`labeled` 或 `unlabeled`。 |
+Key | Type | Description
+----|------|-------------
+`action` |`string` | The action performed. Can be `created`, `edited`, `deleted`, `pinned`, `unpinned`, `locked`, `unlocked`, `transferred`, `category_changed`, `answered`, `unanswered`, `labeled`, or `unlabeled`.
{% data reusables.webhooks.discussion_desc %}
{% data reusables.webhooks.repo_desc_graphql %}
{% data reusables.webhooks.org_desc_graphql %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.discussion.created }}
@@ -425,63 +424,63 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.discussions-webhooks-beta %}
-与讨论中的评论相关的活动。 更多信息请参阅“[使用 GraphQL API 进行讨论]({% ifversion ghec %}/free-pro-team@latest{% endif %}/graphql/guides/using-the-graphql-api-for-discussions)”。
+Activity related to a comment in a discussion. For more information, see "[Using the GraphQL API for discussions]({% ifversion ghec %}/free-pro-team@latest{% endif %}/graphql/guides/using-the-graphql-api-for-discussions)."
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `discussions` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `discussions` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| -------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `action` | `字符串` | 执行的操作。 可以是 `created`、`edited` 或 `deleted`。 |
-| `注释,评论` | `对象` | [`discussion comment`]({% ifversion ghec %}/free-pro-team@latest{% endif %}/graphql/guides/using-the-graphql-api-for-discussions#discussioncomment) 资源。 |
+Key | Type | Description
+----|------|-------------
+`action` |`string` | The action performed. Can be `created`, `edited`, or `deleted`.
+`comment` | `object` | The [`discussion comment`]({% ifversion ghec %}/free-pro-team@latest{% endif %}/graphql/guides/using-the-graphql-api-for-discussions#discussioncomment) resource.
{% data reusables.webhooks.discussion_desc %}
{% data reusables.webhooks.repo_desc_graphql %}
{% data reusables.webhooks.org_desc_graphql %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.discussion_comment.created }}
{% endif %}
{% ifversion ghes or ghae %}
-## 企业
+## enterprise
{% data reusables.webhooks.enterprise_short_desc %}
-### 可用性
+### Availability
-- GitHub Enterprise web 挂钩。 更多信息请参阅“[全局 web 挂钩](/rest/reference/enterprise-admin#global-webhooks/)”。
+- GitHub Enterprise webhooks. For more information, "[Global webhooks](/rest/reference/enterprise-admin#global-webhooks/)."
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| -------- | ----- | -------------------------------------------------------------------- |
-| `action` | `字符串` | 执行的操作。 可以是 `anonymous_access_enabled` 或 `anonymous_access_disabled`。 |
+Key | Type | Description
+----|------|-------------
+`action` |`string` | The action performed. Can be `anonymous_access_enabled` or `anonymous_access_disabled`.
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.enterprise.anonymous_access_enabled }}
{% endif %}
-## 复刻
+## fork
{% data reusables.webhooks.fork_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `contents` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `contents` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.fork_properties %}
{% data reusables.webhooks.repo_desc %}
@@ -489,28 +488,28 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.fork }}
## github_app_authorization
-当有人撤销对 {% data variables.product.prodname_github_app %} 的授权时,将发生此事件。 {% data variables.product.prodname_github_app %} 默认情况下会接收此 web 挂钩,并且无法取消订阅此事件。
+When someone revokes their authorization of a {% data variables.product.prodname_github_app %}, this event occurs. A {% data variables.product.prodname_github_app %} receives this webhook by default and cannot unsubscribe from this event.
-{% data reusables.webhooks.authorization_event %} 有关 user-to-server 请求(需要 {% data variables.product.prodname_github_app %} 授权)的详细信息,请参阅“[识别和授权 {% data variables.product.prodname_github_apps %} 用户](/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)”。
+{% data reusables.webhooks.authorization_event %} For details about user-to-server requests, which require {% data variables.product.prodname_github_app %} authorization, see "[Identifying and authorizing users for {% data variables.product.prodname_github_apps %}](/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)."
-### 可用性
+### Availability
- {% data variables.product.prodname_github_apps %}
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| -------- | ----- | --------------------- |
-| `action` | `字符串` | 执行的操作。 可以是 `revoked`。 |
+Key | Type | Description
+----|------|-------------
+`action` |`string` | The action performed. Can be `revoked`.
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.github_app_authorization.revoked }}
@@ -518,13 +517,13 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.gollum_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `contents` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `contents` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.gollum_properties %}
{% data reusables.webhooks.repo_desc %}
@@ -532,25 +531,25 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.gollum }}
-## 安装
+## installation
{% data reusables.webhooks.installation_short_desc %}
-### 可用性
+### Availability
- {% data variables.product.prodname_github_apps %}
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.installation_properties %}
{% data reusables.webhooks.app_always_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.installation.deleted }}
@@ -558,17 +557,17 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.installation_repositories_short_desc %}
-### 可用性
+### Availability
- {% data variables.product.prodname_github_apps %}
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.installation_repositories_properties %}
{% data reusables.webhooks.app_always_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.installation_repositories.added }}
@@ -576,13 +575,13 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.issue_comment_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `issues` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `issues` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.issue_comment_webhook_properties %}
{% data reusables.webhooks.issue_comment_properties %}
@@ -591,21 +590,21 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.issue_comment.created }}
-## 议题
+## issues
{% data reusables.webhooks.issues_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `issues` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `issues` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.issue_webhook_properties %}
{% data reusables.webhooks.issue_properties %}
@@ -614,72 +613,72 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### 有人编辑议题时的 web 挂钩示例
+### Webhook payload example when someone edits an issue
{{ webhookPayloadsForCurrentVersion.issues.edited }}
-## 标签
+## label
{% data reusables.webhooks.label_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `metadata` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `metadata` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| ---------------------- | ----- | -------------------------------------------- |
-| `action` | `字符串` | 执行的操作内容. 可以是 `created`、`edited` 或 `deleted`。 |
-| `标签` | `对象` | 添加的标签。 |
-| `changes` | `对象` | 对标签的更改(如果操作为 `edited`)。 |
-| `changes[name][from]` | `字符串` | 名称的先前版本(如果操作为 `edited`)。 |
-| `changes[color][from]` | `字符串` | 颜色的先前版本(如果操作为 `edited`)。 |
+Key | Type | Description
+----|------|-------------
+`action`|`string` | The action that was performed. Can be `created`, `edited`, or `deleted`.
+`label`|`object` | The label that was added.
+`changes`|`object`| The changes to the label if the action was `edited`.
+`changes[name][from]`|`string` | The previous version of the name if the action was `edited`.
+`changes[color][from]`|`string` | The previous version of the color if the action was `edited`.
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.label.deleted }}
{% ifversion fpt or ghec %}
## marketplace_purchase
-与 GitHub Marketplace 购买相关的活动。 {% data reusables.webhooks.action_type_desc %} 更多信息请参阅“[GitHub Marketplace](/marketplace/)”。
+Activity related to a GitHub Marketplace purchase. {% data reusables.webhooks.action_type_desc %} For more information, see the "[GitHub Marketplace](/marketplace/)."
-### 可用性
+### Availability
- {% data variables.product.prodname_github_apps %}
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| -------- | ----- | --------------------------------------------------------------------------------------------------- |
-| `action` | `字符串` | 为 [GitHub Marketplace](https://github.com/marketplace) 计划执行的操作。 可以是以下选项之一:- `purchased` - 有人购买了 GitHub Marketplace 计划。 更改应立即对帐户生效。
- `pending_change` - 当有人降级或取消了 GitHub Marketplace 计划以指示帐户上将发生更改时,您将收到 `pending_change` 事件。 新的计划或取消将在结算周期结束时生效。 当结算周期结束并且取消或新计划应生效时,将发送 `cancelled` 或 `changed` 事件类型。
- `pending_change_cancelled` - 有人取消了待处理更改。 待处理更改包括将在结算周期结束时生效的计划取消和降级。
- `changed` - 有人升级或降级了 GitHub Marketplace 计划,并且该更改应立即对帐户生效。
- `cancelled` - 有人取消了 GitHub Marketplace 计划并且最后一个结算周期已结束。 更改应立即对帐户生效。
|
+Key | Type | Description
+----|------|-------------
+`action` | `string` | The action performed for a [GitHub Marketplace](https://github.com/marketplace) plan. Can be one of:- `purchased` - Someone purchased a GitHub Marketplace plan. The change should take effect on the account immediately.
- `pending_change` - You will receive the `pending_change` event when someone has downgraded or cancelled a GitHub Marketplace plan to indicate a change will occur on the account. The new plan or cancellation takes effect at the end of the billing cycle. The `cancelled` or `changed` event type will be sent when the billing cycle has ended and the cancellation or new plan should take effect.
- `pending_change_cancelled` - Someone has cancelled a pending change. Pending changes include plan cancellations and downgrades that will take effect at the end of a billing cycle.
- `changed` - Someone has upgraded or downgraded a GitHub Marketplace plan and the change should take effect on the account immediately.
- `cancelled` - Someone cancelled a GitHub Marketplace plan and the last billing cycle has ended. The change should take effect on the account immediately.
-有关此有效负载和每种 `action` 类型的有效负载的详细说明,请参阅 [{% data variables.product.prodname_marketplace %} web 挂钩事件](/marketplace/integrating-with-the-github-marketplace-api/github-marketplace-webhook-events/)。
+For a detailed description of this payload and the payload for each type of `action`, see [{% data variables.product.prodname_marketplace %} webhook events](/marketplace/integrating-with-the-github-marketplace-api/github-marketplace-webhook-events/).
-### 有人购买计划时的 web 挂钩示例
+### Webhook payload example when someone purchases the plan
{{ webhookPayloadsForCurrentVersion.marketplace_purchase.purchased }}
{% endif %}
-## 成员
+## member
{% data reusables.webhooks.member_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `members` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `members` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.member_webhook_properties %}
{% data reusables.webhooks.member_properties %}
@@ -688,7 +687,7 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.member.added }}
@@ -696,57 +695,57 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.membership_short_desc %}
-### 可用性
+### Availability
-- 组织 web 挂钩
-- 具有 `members` 权限的 {% data variables.product.prodname_github_apps %}
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `members` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.membership_properties %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.membership.removed }}
## meta
-配置此事件的 web 挂钩已被删除。 此事件将仅监听对安装此事件的特定挂钩的更改。 因此,必须为要接收元事件的每个挂钩选择它。
+The webhook this event is configured on was deleted. This event will only listen for changes to the particular hook the event is installed on. Therefore, it must be selected for each hook that you'd like to receive meta events for.
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
+- Repository webhooks
+- Organization webhooks
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| --------- | ----- | ------------------------------------------------------------------------------------------- |
-| `action` | `字符串` | 执行的操作。 可以是 `deleted`。 |
-| `hook_id` | `整数` | 修改后的 web 挂钩的 ID。 |
-| `挂钩` | `对象` | 修改后的 web 挂钩。 它将包含基于 web 挂钩类型的不同键:repository、organization、business、app 或 GitHub Marketplace。 |
+Key | Type | Description
+----|------|-------------
+`action` |`string` | The action performed. Can be `deleted`.
+`hook_id` |`integer` | The id of the modified webhook.
+`hook` |`object` | The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.meta.deleted }}
-## 里程碑
+## milestone
{% data reusables.webhooks.milestone_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `pull_requests` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `pull_requests` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.milestone_properties %}
{% data reusables.webhooks.repo_desc %}
@@ -754,33 +753,33 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.milestone.created }}
-## 组织
+## organization
{% data reusables.webhooks.organization_short_desc %}
-### 可用性
+### Availability
{% ifversion ghes or ghae %}
-- GitHub Enterprise web 挂钩只接收 `created` 和 `deleted` 事件。 更多信息请参阅“[全局 web 挂钩](/rest/reference/enterprise-admin#global-webhooks/)”。{% endif %}
-- 组织 web 挂钩只接收 `deleted`、`added`、`removed`、`renamed` 和 `invited` 事件
-- 具有 `members` 权限的 {% data variables.product.prodname_github_apps %}
+- GitHub Enterprise webhooks only receive `created` and `deleted` events. For more information, "[Global webhooks](/rest/reference/enterprise-admin#global-webhooks/).{% endif %}
+- Organization webhooks only receive the `deleted`, `added`, `removed`, `renamed`, and `invited` events
+- {% data variables.product.prodname_github_apps %} with the `members` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| ------------ | ----- | ------------------------------------------------------------------------------------------------------------------------------------------- |
-| `action` | `字符串` | 执行的操作内容. 可以是以下选项之一:{% ifversion ghes or ghae %}`created`、{% endif %}`deleted`、`renamed`、`member_added`、`member_removed` 或 `member_invited`。 |
-| `邀请` | `对象` | 对用户的邀请或电子邮件邀请(如果操作为 `member_invited`)。 |
-| `membership` | `对象` | 用户和组织之间的成员资格。 当操作为 `member_invited` 时不存在。 |
+Key | Type | Description
+----|------|-------------
+`action` |`string` | The action that was performed. Can be one of:{% ifversion ghes or ghae %} `created`,{% endif %} `deleted`, `renamed`, `member_added`, `member_removed`, or `member_invited`.
+`invitation` |`object` | The invitation for the user or email if the action is `member_invited`.
+`membership` |`object` | The membership between the user and the organization. Not present when the action is `member_invited`.
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.organization.member_added }}
@@ -790,22 +789,22 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.org_block_short_desc %}
-### 可用性
+### Availability
-- 组织 web 挂钩
-- 具有 `organization_administration` 权限的 {% data variables.product.prodname_github_apps %}
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `organization_administration` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| -------------- | ----- | ----------------------------------- |
-| `action` | `字符串` | 执行的操作。 可以是 `blocked` 或 `unblocked`。 |
-| `blocked_user` | `对象` | 有关被阻止或取消阻止的用户的信息。 |
+Key | Type | Description
+----|------|------------
+`action` | `string` | The action performed. Can be `blocked` or `unblocked`.
+`blocked_user` | `object` | Information about the user that was blocked or unblocked.
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.org_block.blocked }}
@@ -813,21 +812,21 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
## package
-与 {% data variables.product.prodname_registry %} 有关的活动。 {% data reusables.webhooks.action_type_desc %}更多信息请参阅“[使用 {% data variables.product.prodname_registry %} 管理包](/github/managing-packages-with-github-packages)”以详细了解 {% data variables.product.prodname_registry %}。
+Activity related to {% data variables.product.prodname_registry %}. {% data reusables.webhooks.action_type_desc %} For more information, see "[Managing packages with {% data variables.product.prodname_registry %}](/github/managing-packages-with-github-packages)" to learn more about {% data variables.product.prodname_registry %}.
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
+- Repository webhooks
+- Organization webhooks
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.package_properties %}
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.package.published }}
@@ -835,24 +834,24 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.page_build_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `pages` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `pages` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| ---- | ---- | ----------------------------------------------------------------------- |
-| `id` | `整数` | 页面构建的唯一标识符。 |
-| `构建` | `对象` | [列表 GitHub Pages 构建](/rest/reference/pages#list-github-pages-builds)本身。 |
+Key | Type | Description
+----|------|------------
+`id` | `integer` | The unique identifier of the page build.
+`build` | `object` | The [List GitHub Pages builds](/rest/reference/pages#list-github-pages-builds) itself.
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.page_build }}
@@ -860,25 +859,25 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.ping_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- {% data variables.product.prodname_github_apps %} 接收带有用于注册应用程序的 `app_id` 的 ping 事件。
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} receive a ping event with an `app_id` used to register the app
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| -------------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `zen` | `字符串` | GitHub zen 的随机字符串。 |
-| `hook_id` | `整数` | 触发 ping 的 web 挂钩的 ID。 |
-| `挂钩` | `对象` | [web 挂钩配置](/rest/reference/webhooks#get-a-repository-webhook)。 |
-| `hook[app_id]` | `整数` | 注册新的 {% data variables.product.prodname_github_app %} 时,{% data variables.product.product_name %} 将 ping 事件发送到您在注册过程中指定的 **web 挂钩 URL**。 该事件包含 `app_id`,这是[验证](/apps/building-integrations/setting-up-and-registering-github-apps/about-authentication-options-for-github-apps/)应用程序的必需项。 |
+Key | Type | Description
+----|------|------------
+`zen` | `string` | Random string of GitHub zen.
+`hook_id` | `integer` | The ID of the webhook that triggered the ping.
+`hook` | `object` | The [webhook configuration](/rest/reference/webhooks#get-a-repository-webhook).
+`hook[app_id]` | `integer` | When you register a new {% data variables.product.prodname_github_app %}, {% data variables.product.product_name %} sends a ping event to the **webhook URL** you specified during registration. The event contains the `app_id`, which is required for [authenticating](/apps/building-integrations/setting-up-and-registering-github-apps/about-authentication-options-for-github-apps/) an app.
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.ping }}
@@ -886,21 +885,21 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.project_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `repository_projects` 或 `organization_projects` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `repository_projects` or `organization_projects` permission
{% ifversion fpt or ghec %}
{% note %}
-**注意**:此事件对 Projects(测试版)不会发生。
+**Note**: This event does not occur for Projects (beta).
{% endnote %}
{% endif %}
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.project_properties %}
{% data reusables.webhooks.repo_desc %}
@@ -908,7 +907,7 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.project.created }}
@@ -918,21 +917,21 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.project_card_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `repository_projects` 或 `organization_projects` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `repository_projects` or `organization_projects` permission
{% ifversion fpt or ghec %}
{% note %}
-**注意**:此事件对 Projects(测试版)不会发生。
+**Note**: This event does not occur for Projects (beta).
{% endnote %}
{% endif %}
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.project_card_properties %}
{% data reusables.webhooks.repo_desc %}
@@ -940,7 +939,7 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.project_card.created }}
@@ -948,13 +947,13 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.project_column_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `repository_projects` 或 `organization_projects` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `repository_projects` or `organization_projects` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.project_column_properties %}
{% data reusables.webhooks.repo_desc %}
@@ -962,30 +961,29 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.project_column.created }}
## public
{% data reusables.webhooks.public_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `metadata` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `metadata` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| - | -- | -- |
-| | | |
+Key | Type | Description
+----|------|-------------
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.public }}
{% endif %}
@@ -993,13 +991,13 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.pull_request_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `pull_requests` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `pull_requests` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.pull_request_webhook_properties %}
{% data reusables.webhooks.pull_request_properties %}
@@ -1008,9 +1006,9 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
-`review_requested` 和 `review_request_removed` 事件的递送将含有一个额外的字段,称为 `requested_reviewer`。
+Deliveries for `review_requested` and `review_request_removed` events will have an additional field called `requested_reviewer`.
{{ webhookPayloadsForCurrentVersion.pull_request.opened }}
@@ -1018,13 +1016,13 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.pull_request_review_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `pull_requests` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `pull_requests` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.pull_request_review_properties %}
{% data reusables.webhooks.repo_desc %}
@@ -1032,7 +1030,7 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.pull_request_review.submitted }}
@@ -1040,13 +1038,13 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.pull_request_review_comment_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `pull_requests` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `pull_requests` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.pull_request_review_comment_webhook_properties %}
{% data reusables.webhooks.pull_request_review_comment_properties %}
@@ -1055,7 +1053,7 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.pull_request_review_comment.created }}
@@ -1063,13 +1061,13 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.pull_request_review_thread_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `pull_requests` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `pull_requests` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.pull_request_thread_properties %}
{% data reusables.webhooks.repo_desc %}
@@ -1077,71 +1075,71 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.pull_request_review_thread.resolved }}
-## 推送
+## push
{% data reusables.webhooks.push_short_desc %}
{% note %}
-**注:**同时推送三个以上的标记时不会收到此事件的 web 挂钩。
+**Note:** You will not receive a webhook for this event when you push more than three tags at once.
{% endnote %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `contents` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `contents` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| -------------------------- | ----- | ---------------------------------------------------------------------------------------------------------------------------- |
-| `ref` | `字符串` | 被推送的完整 [`git ref`](/rest/reference/git#refs)。 例如: `refs/heads/main` 或 `refs/tags/v3.14.1`。 |
-| `before` | `字符串` | 推送之前在 `ref` 上最近提交的 SHA。 |
-| `after` | `字符串` | 推送之后在 `ref` 上最近提交的 SHA。 |
-| `created` | `布尔值` | 此推送是否创建 `ref`。 |
-| `deleted` | `布尔值` | 此推送是否删除 `ref`。 |
-| `forced` | `布尔值` | 此推送是否为 `ref` 的强制推送。 |
-| `head_commit` | `对象` | 对于 `after` 是提交对象或指向提交对象的推送,为该提交的扩展表示。 对于 `after` 指示注释标记对象的推送,注释标记指向的提交的扩展表示。 |
-| `compare` | `字符串` | 显示此 `ref` 更新中更改的 URL,从 `before` 提交到 `after` 提交。 对于新创建的直接基于默认分支的 `ref`,这是默认分支的头部与 `after` 提交之间的比较。 否则,这将显示 `after` 提交之前的所有提交。 |
-| `commits` | `数组` | 描述所推送提交的提交对象数组。 (推送的提交是指包含在 `compare` 中 `before` 提交与 `after` 提交之间的所有提交) |
-| `commits[][id]` | `字符串` | 提交的 SHA。 |
-| `commits[][timestamp]` | `字符串` | 提交的 ISO 8601 时间戳。 |
-| `commits[][message]` | `字符串` | 提交消息. |
-| `commits[][author]` | `对象` | 提交的 Git 作者。 |
-| `commits[][author][name]` | `字符串` | Git 作者的名称。 |
-| `commits[][author][email]` | `字符串` | Git 作者的电子邮件地址。 |
-| `commits[][url]` | `url` | 指向提交 API 资源的 URL。 |
-| `commits[][distinct]` | `布尔值` | 此提交是否与之前推送的任何提交不同。 |
-| `commits[][added]` | `数组` | 在提交中添加的文件数组。 |
-| `commits[][modified]` | `数组` | 由提交修改的文件数组。 |
-| `commits[][removed]` | `数组` | 在提交中删除的文件数组。 |
-| `pusher` | `对象` | 推送提交的用户。 |
+Key | Type | Description
+----|------|-------------
+`ref`|`string` | The full [`git ref`](/rest/reference/git#refs) that was pushed. Example: `refs/heads/main` or `refs/tags/v3.14.1`.
+`before`|`string` | The SHA of the most recent commit on `ref` before the push.
+`after`|`string` | The SHA of the most recent commit on `ref` after the push.
+`created`|`boolean` | Whether this push created the `ref`.
+`deleted`|`boolean` | Whether this push deleted the `ref`.
+`forced`|`boolean` | Whether this push was a force push of the `ref`.
+`head_commit`|`object` | For pushes where `after` is or points to a commit object, an expanded representation of that commit. For pushes where `after` refers to an annotated tag object, an expanded representation of the commit pointed to by the annotated tag.
+`compare`|`string` | URL that shows the changes in this `ref` update, from the `before` commit to the `after` commit. For a newly created `ref` that is directly based on the default branch, this is the comparison between the head of the default branch and the `after` commit. Otherwise, this shows all commits until the `after` commit.
+`commits`|`array` | An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.)
+`commits[][id]`|`string` | The SHA of the commit.
+`commits[][timestamp]`|`string` | The ISO 8601 timestamp of the commit.
+`commits[][message]`|`string` | The commit message.
+`commits[][author]`|`object` | The git author of the commit.
+`commits[][author][name]`|`string` | The git author's name.
+`commits[][author][email]`|`string` | The git author's email address.
+`commits[][url]`|`url` | URL that points to the commit API resource.
+`commits[][distinct]`|`boolean` | Whether this commit is distinct from any that have been pushed before.
+`commits[][added]`|`array` | An array of files added in the commit.
+`commits[][modified]`|`array` | An array of files modified by the commit.
+`commits[][removed]`|`array` | An array of files removed in the commit.
+`pusher` | `object` | The user who pushed the commits.
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.push }}
-## 发行版
+## release
{% data reusables.webhooks.release_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `contents` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `contents` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.release_webhook_properties %}
{% data reusables.webhooks.release_properties %}
@@ -1150,66 +1148,64 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.release.published }}
-{% ifversion fpt or ghes or ghae or ghec %}
## repository_dispatch
-当 {% data variables.product.prodname_github_app %} 将 `POST` 请求发送到“[创建仓库分发事件](/rest/reference/repos#create-a-repository-dispatch-event)”端点时,此事件发生。
+This event occurs when a {% data variables.product.prodname_github_app %} sends a `POST` request to the "[Create a repository dispatch event](/rest/reference/repos#create-a-repository-dispatch-event)" endpoint.
-### 可用性
+### Availability
-- {% data variables.product.prodname_github_apps %} 必须具有 `contents` 权限才能接收此 web 挂钩。
+- {% data variables.product.prodname_github_apps %} must have the `contents` permission to receive this webhook.
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.repository_dispatch }}
-{% endif %}
-## 仓库
+## repository
{% data reusables.webhooks.repository_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩接收除 `deleted` 之外的所有事件类型
-- 组织 web 挂钩
-- 具有 `metadata` 权限的 {% data variables.product.prodname_github_apps %} 接收除 `deleted` 之外的所有事件类型
+- Repository webhooks receive all event types except `deleted`
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `metadata` permission receive all event types except `deleted`
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| -------- | ----- | -------------------------------------------- |
-| `action` | `字符串` | 执行的操作内容. 可以是以下选项之一:- `created` - 创建了仓库。
- `deleted` - 仓库被删除。
- `archived` - 仓库被存档。
- `unarchived` - 仓库被取消存档。
{% ifversion ghes or ghae %}- “anonymous_access_enabled” - 存储库 [已启用匿名 Git 访问](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise), `anonymous_access_disabled` - 存储库 [已禁用匿名 Git 访问] (/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise)
{% endif %}- `edited` - 仓库的信息被编辑。
- `renamed` - 仓库被重命名。
- `transferred` - 仓库被转让。
- `publicized` - 仓库被设为公共。
- `privatized` - 仓库被设为私有。
|
+Key | Type | Description
+----|------|-------------
+`action` |`string` | The action that was performed. This can be one of:- `created` - A repository is created.
- `deleted` - A repository is deleted.
- `archived` - A repository is archived.
- `unarchived` - A repository is unarchived.
{% ifversion ghes or ghae %}- `anonymous_access_enabled` - A repository is [enabled for anonymous Git access](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise), `anonymous_access_disabled` - A repository is [disabled for anonymous Git access](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise)
{% endif %}- `edited` - A repository's information is edited.
- `renamed` - A repository is renamed.
- `transferred` - A repository is transferred.
- `publicized` - A repository is made public.
- `privatized` - A repository is made private.
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.repository.publicized }}
{% ifversion fpt or ghec %}
## repository_import
-{% data reusables.webhooks.repository_import_short_desc %} 要在个人仓库中接收此事件,必须在导入之前创建一个空仓库。 此事件可使用 [GitHub 导入工具](/articles/importing-a-repository-with-github-importer/)或[来源导入 API](/rest/reference/migrations#source-imports) 触发。
+{% data reusables.webhooks.repository_import_short_desc %} To receive this event for a personal repository, you must create an empty repository prior to the import. This event can be triggered using either the [GitHub Importer](/articles/importing-a-repository-with-github-importer/) or the [Source imports API](/rest/reference/migrations#source-imports).
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
+- Repository webhooks
+- Organization webhooks
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.repository_import_properties %}
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.repository_import }}
@@ -1217,19 +1213,19 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.repository_vulnerability_alert_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
+- Repository webhooks
+- Organization webhooks
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.repository_vulnerability_alert_properties %}
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.repository_vulnerability_alert.create }}
@@ -1241,21 +1237,21 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.secret_scanning_alert_event_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `secret_scanning_alerts:read` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `secret_scanning_alerts:read` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.secret_scanning_alert_event_properties %}
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
-`sender` | `object` | 如果 `action` 是 `resolved` 或 `reopened`,则 `sender` 对象将是触发事件的用户。 对于所有其他操作,`sender` 对象都为空。
+`sender` | `object` | If the `action` is `resolved` or `reopened`, the `sender` object will be the user that triggered the event. The `sender` object is empty for all other actions.
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.secret_scanning_alert.reopened }}
{% endif %}
@@ -1265,20 +1261,20 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.secret_scanning_alert_location_event_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `secret_scanning_alerts:read` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `secret_scanning_alerts:read` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.secret_scanning_alert_location_event_properties %}
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.secret_scanning_alert_location.created }}
{% endif %}
@@ -1286,22 +1282,22 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% ifversion fpt or ghes or ghec %}
## security_advisory
-与已由 {% data variables.product.company_short %} 审查的安全通告相关的活动。 经过 {% data variables.product.company_short %} 审查的安全通告提供了有关 {% data variables.product.prodname_dotcom %}上软件中安全相关漏洞的信息。
+Activity related to a security advisory that has been reviewed by {% data variables.product.company_short %}. A {% data variables.product.company_short %}-reviewed security advisory provides information about security-related vulnerabilities in software on {% data variables.product.prodname_dotcom %}.
-安全通告数据集还为 GitHub {% data variables.product.prodname_dependabot_alerts %} 提供支持。 更多信息请参阅“[关于 {% data variables.product.prodname_dependabot_alerts %} 警报](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies/)”。
+The security advisory dataset also powers the GitHub {% data variables.product.prodname_dependabot_alerts %}. For more information, see "[About {% data variables.product.prodname_dependabot_alerts %}](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies/)."
-### 可用性
+### Availability
-- 具有 `security_events` 权限的 {% data variables.product.prodname_github_apps %}
+- {% data variables.product.prodname_github_apps %} with the `security_events` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| ------------------- | ----- | --------------------------------------------------------------------------- |
-| `action` | `字符串` | 执行的操作内容. 对于所有新事件,该操作可以是 `published`、`updated`、`performed` 或 `withdrawn` 之一。 |
-| `security_advisory` | `对象` | 安全通告的详细信息,包括摘要、说明和严重程度。 |
+Key | Type | Description
+----|------|-------------
+`action` |`string` | The action that was performed. The action can be one of `published`, `updated`, `performed`, or `withdrawn` for all new events.
+`security_advisory` |`object` | The details of the security advisory, including summary, description, and severity.
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.security_advisory.published }}
@@ -1312,104 +1308,104 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.sponsorship_short_desc %}
-您只能在 {% data variables.product.prodname_dotcom %} 上创建赞助 web 挂钩。 更多信息请参阅“[为赞助帐户中的事件配置 web 挂钩](/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)”。
+You can only create a sponsorship webhook on {% data variables.product.prodname_dotcom %}. For more information, see "[Configuring webhooks for events in your sponsored account](/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)".
-### 可用性
+### Availability
-- 赞助帐户
+- Sponsored accounts
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.sponsorship_webhook_properties %}
{% data reusables.webhooks.sponsorship_properties %}
{% data reusables.webhooks.sender_desc %}
-### 有人创建赞助时的 web 挂钩示例
+### Webhook payload example when someone creates a sponsorship
{{ webhookPayloadsForCurrentVersion.sponsorship.created }}
-### 有人降级赞助时的 web 挂钩示例
+### Webhook payload example when someone downgrades a sponsorship
{{ webhookPayloadsForCurrentVersion.sponsorship.downgraded }}
{% endif %}
-## 星标
+## star
{% data reusables.webhooks.star_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
+- Repository webhooks
+- Organization webhooks
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.star_properties %}
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.star.created }}
-## 状态
+## status
{% data reusables.webhooks.status_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `statuses` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `statuses` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| ------------ | ----- | ------------------------------------------------------------------- |
-| `id` | `整数` | 状态的唯一标识符。 |
-| `sha` | `字符串` | 提交 SHA。 |
-| `state` | `字符串` | 新状态。 可以是 `pending`、`success`、`failure` 或 `error`。 |
-| `说明` | `字符串` | 添加到状态的可选人类可读说明。 |
-| `target_url` | `字符串` | 添加到状态的可选链接。 |
-| `分支` | `数组` | 包含状态的 SHA 的分支对象数组。 每个分支都包含给定的 SHA,但 SHA 不一定是该分支的头部。 该数组最多包含 10 个分支。 |
+Key | Type | Description
+----|------|-------------
+`id` | `integer` | The unique identifier of the status.
+`sha`|`string` | The Commit SHA.
+`state`|`string` | The new state. Can be `pending`, `success`, `failure`, or `error`.
+`description`|`string` | The optional human-readable description added to the status.
+`target_url`|`string` | The optional link added to the status.
+`branches`|`array` | An array of branch objects containing the status' SHA. Each branch contains the given SHA, but the SHA may or may not be the head of the branch. The array includes a maximum of 10 branches.
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.status }}
-## 团队
+## team
{% data reusables.webhooks.team_short_desc %}
-### 可用性
+### Availability
-- 组织 web 挂钩
-- 具有 `members` 权限的 {% data variables.product.prodname_github_apps %}
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `members` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| ----------------------------------------------- | ----- | ------------------------------------------------------------------------------------------------------------------------------- |
-| `action` | `字符串` | 执行的操作内容. 可以是 `created`、`deleted`、`edited`、`added_to_repository` 或 `removed_from_repository` 之一。 |
-| `团队` | `对象` | 团队本身。 |
-| `changes` | `对象` | 对团队的更改(如果操作为 `edited`)。 |
-| `changes[description][from]` | `字符串` | 说明的先前版本(如果操作为 `edited`)。 |
-| `changes[name][from]` | `字符串` | 名称的先前版本(如果操作为 `edited`)。 |
-| `changes[privacy][from]` | `字符串` | 团队隐私的先前版本(如果操作为 `edited`)。 |
-| `changes[repository][permissions][from][admin]` | `布尔值` | 团队成员对仓库 `admin` 权限的先前版本(如果操作为 `edited`)。 |
-| `changes[repository][permissions][from][pull]` | `布尔值` | 团队成员对仓库 `pull` 权限的先前版本(如果操作为 `edited`)。 |
-| `changes[repository][permissions][from][push]` | `布尔值` | 团队成员对仓库 `push` 权限的先前版本(如果操作为 `edited`)。 |
-| `仓库` | `对象` | 在团队权限范围中添加或删除的仓库(如果操作为 `added_to_repository`、`removed_from_repository` 或 `edited`)。 对于 `edited` 操作,`repository` 还包含团队对仓库的新权限级别。 |
+Key | Type | Description
+----|------|-------------
+`action` |`string` | The action that was performed. Can be one of `created`, `deleted`, `edited`, `added_to_repository`, or `removed_from_repository`.
+`team` |`object` | The team itself.
+`changes`|`object` | The changes to the team if the action was `edited`.
+`changes[description][from]` |`string` | The previous version of the description if the action was `edited`.
+`changes[name][from]` |`string` | The previous version of the name if the action was `edited`.
+`changes[privacy][from]` |`string` | The previous version of the team's privacy if the action was `edited`.
+`changes[repository][permissions][from][admin]` | `boolean` | The previous version of the team member's `admin` permission on a repository, if the action was `edited`.
+`changes[repository][permissions][from][pull]` | `boolean` | The previous version of the team member's `pull` permission on a repository, if the action was `edited`.
+`changes[repository][permissions][from][push]` | `boolean` | The previous version of the team member's `push` permission on a repository, if the action was `edited`.
+`repository`|`object` | The repository that was added or removed from to the team's purview if the action was `added_to_repository`, `removed_from_repository`, or `edited`. For `edited` actions, `repository` also contains the team's new permission levels for the repository.
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.team.added_to_repository }}
@@ -1417,54 +1413,54 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.team_add_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `members` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `members` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
-| 键 | 类型 | 描述 |
-| ---- | ---- | ------------------------------------------------------------ |
-| `团队` | `对象` | 被修改的[团队](/rest/reference/teams)。 **注:**较旧的事件可能不会在有效负载中包括此值。 |
+Key | Type | Description
+----|------|-------------
+`team`|`object` | The [team](/rest/reference/teams) that was modified. **Note:** Older events may not include this in the payload.
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.team_add }}
{% ifversion ghes or ghae %}
-## 用户
+## user
-当用户被 `created` 或 `deleted` 时。
+When a user is `created` or `deleted`.
-### 可用性
-- GitHub Enterprise web 挂钩。 更多信息请参阅“[全局 web 挂钩](/rest/reference/enterprise-admin#global-webhooks/)”。
+### Availability
+- GitHub Enterprise webhooks. For more information, "[Global webhooks](/rest/reference/enterprise-admin#global-webhooks/)."
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.user.created }}
{% endif %}
-## 查看
+## watch
{% data reusables.webhooks.watch_short_desc %}
-事件的执行者是标星仓库的[用户](/rest/reference/users),并且事件的仓库是被标星的[仓库](/rest/reference/repos)。
+The event’s actor is the [user](/rest/reference/users) who starred a repository, and the event’s repository is the [repository](/rest/reference/repos) that was starred.
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 具有 `metadata` 权限的 {% data variables.product.prodname_github_apps %}
+- Repository webhooks
+- Organization webhooks
+- {% data variables.product.prodname_github_apps %} with the `metadata` permission
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.watch_properties %}
{% data reusables.webhooks.repo_desc %}
@@ -1472,44 +1468,44 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.watch.started }}
{% ifversion fpt or ghes or ghec %}
## workflow_dispatch
-当有人触发 GitHub 上的工作流程运行或将 `POST` 请求发送到“[创建工作流程分发事件](/rest/reference/actions/#create-a-workflow-dispatch-event)”端点时,此事件发生。 更多信息请参阅“[触发工作流程的事件](/actions/reference/events-that-trigger-workflows#workflow_dispatch)”。
+This event occurs when someone triggers a workflow run on GitHub or sends a `POST` request to the "[Create a workflow dispatch event](/rest/reference/actions/#create-a-workflow-dispatch-event)" endpoint. For more information, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)."
-### 可用性
+### Availability
-- {% data variables.product.prodname_github_apps %} 必须具有 `contents` 权限才能接收此 web 挂钩。
+- {% data variables.product.prodname_github_apps %} must have the `contents` permission to receive this webhook.
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.workflow_dispatch }}
{% endif %}
-{% ifversion fpt or ghes > 3.2 or ghec or ghae-issue-4462 %}
+{% ifversion fpt or ghes > 3.2 or ghec or ghae %}
## workflow_job
{% data reusables.webhooks.workflow_job_short_desc %}
-### 可用性
+### Availability
-- 仓库 web 挂钩
-- 组织 web 挂钩
-- 企业 web 挂钩
+- Repository webhooks
+- Organization webhooks
+- Enterprise webhooks
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.workflow_job_properties %}
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.workflow_job }}
@@ -1517,13 +1513,13 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% ifversion fpt or ghes or ghec %}
## workflow_run
-当 {% data variables.product.prodname_actions %} 工作流程运行被请求或完成时。 更多信息请参阅“[触发工作流程的事件](/actions/reference/events-that-trigger-workflows#workflow_run)”。
+When a {% data variables.product.prodname_actions %} workflow run is requested or completed. For more information, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_run)."
-### 可用性
+### Availability
-- 具有 `actions` 或 `contents` 权限的 {% data variables.product.prodname_github_apps %}。
+- {% data variables.product.prodname_github_apps %} with the `actions` or `contents` permissions.
-### Web 挂钩有效负载对象
+### Webhook payload object
{% data reusables.webhooks.workflow_run_properties %}
{% data reusables.webhooks.workflow_desc %}
@@ -1531,7 +1527,7 @@ Web 挂钩事件是基于您注册的域的特异性而触发的。 例如,如
{% data reusables.webhooks.repo_desc %}
{% data reusables.webhooks.sender_desc %}
-### Web 挂钩有效负载示例
+### Webhook payload example
{{ webhookPayloadsForCurrentVersion.workflow_run }}
{% endif %}
diff --git a/translations/zh-CN/content/get-started/getting-started-with-git/about-remote-repositories.md b/translations/zh-CN/content/get-started/getting-started-with-git/about-remote-repositories.md
index b706d97d92..612bb78690 100644
--- a/translations/zh-CN/content/get-started/getting-started-with-git/about-remote-repositories.md
+++ b/translations/zh-CN/content/get-started/getting-started-with-git/about-remote-repositories.md
@@ -81,14 +81,10 @@ When you `git clone`, `git fetch`, `git pull`, or `git push` to a remote reposit
{% endtip %}
-{% ifversion fpt or ghes or ghae or ghec %}
-
## Cloning with {% data variables.product.prodname_cli %}
You can also install {% data variables.product.prodname_cli %} to use {% data variables.product.product_name %} workflows in your terminal. For more information, see "[About {% data variables.product.prodname_cli %}](/github-cli/github-cli/about-github-cli)."
-{% endif %}
-
{% ifversion not ghae %}
## Cloning with Subversion
diff --git a/translations/zh-CN/content/get-started/learning-about-github/about-github-advanced-security.md b/translations/zh-CN/content/get-started/learning-about-github/about-github-advanced-security.md
index 7616cc276e..8eaea418ac 100644
--- a/translations/zh-CN/content/get-started/learning-about-github/about-github-advanced-security.md
+++ b/translations/zh-CN/content/get-started/learning-about-github/about-github-advanced-security.md
@@ -30,7 +30,7 @@ A {% data variables.product.prodname_GH_advanced_security %} license provides th
- **{% data variables.product.prodname_secret_scanning_caps %}** - Detect secrets, for example keys and tokens, that have been checked into the repository.{% if secret-scanning-push-protection %} If push protection is enabled, also detects secrets when they are pushed to your repository. For more information, see "[About {% data variables.product.prodname_secret_scanning %}](/code-security/secret-scanning/about-secret-scanning)" and "[Protecting pushes with {% data variables.product.prodname_secret_scanning %}](/code-security/secret-scanning/protecting-pushes-with-secret-scanning)."{% else %} For more information, see "[About {% data variables.product.prodname_secret_scanning %}](/code-security/secret-scanning/about-secret-scanning)."{% endif %}
-{% ifversion fpt or ghes > 3.1 or ghec or ghae-issue-4864 %}
+{% ifversion fpt or ghes > 3.1 or ghec or ghae %}
- **Dependency review** - Show the full impact of changes to dependencies and see details of any vulnerable versions before you merge a pull request. For more information, see "[About dependency review](/code-security/supply-chain-security/about-dependency-review)."
{% endif %}
@@ -113,4 +113,4 @@ For more information on starter workflows, see "[Setting up {% data variables.pr
- "[Enforcing policies for {% data variables.product.prodname_advanced_security %} in your enterprise account](/admin/policies/enforcing-policies-for-advanced-security-in-your-enterprise)"
{% endif %}
-{% endif %}
\ No newline at end of file
+{% endif %}
diff --git a/translations/zh-CN/content/get-started/quickstart/communicating-on-github.md b/translations/zh-CN/content/get-started/quickstart/communicating-on-github.md
index 3f155a9a7e..a4328502c5 100644
--- a/translations/zh-CN/content/get-started/quickstart/communicating-on-github.md
+++ b/translations/zh-CN/content/get-started/quickstart/communicating-on-github.md
@@ -116,7 +116,6 @@ This example shows the {% data variables.product.prodname_discussions %} welcome
This community maintainer started a discussion to welcome the community, and to ask members to introduce themselves. This post fosters an inviting atmosphere for visitors and contributors. The post also clarifies that the team's happy to help with contributions to the repository.
{% endif %}
-{% ifversion fpt or ghes or ghae or ghec %}
### Scenarios for team discussions
- I have a question that's not necessarily related to specific files in the repository.
@@ -139,8 +138,6 @@ The `octocat` team member posted a team discussion, informing the team of variou
- There is a blog post describing how the teams use {% data variables.product.prodname_actions %} to produce their docs.
- Material about the April All Hands is now available for all team members to view.
-{% endif %}
-
## Next steps
These examples showed you how to decide which is the best tool for your conversations on {% data variables.product.product_name %}. But this is only the beginning; there is so much more you can do to tailor these tools to your needs.
diff --git a/translations/zh-CN/content/get-started/using-github/github-mobile.md b/translations/zh-CN/content/get-started/using-github/github-mobile.md
index e99da062ad..fe88929e61 100644
--- a/translations/zh-CN/content/get-started/using-github/github-mobile.md
+++ b/translations/zh-CN/content/get-started/using-github/github-mobile.md
@@ -25,10 +25,13 @@ With {% data variables.product.prodname_mobile %} you can:
- Read, review, and collaborate on issues and pull requests
- Search for, browse, and interact with users, repositories, and organizations
- Receive a push notification when someone mentions your username
-{% ifversion fpt or ghec %}- Secure your GitHub.com account with two-factor authentication{% endif %}
+{% ifversion fpt or ghec %}- Secure your GitHub.com account with two-factor authentication
+- Verify your sign in attempts on unrecognized devices{% endif %}
For more information about notifications for {% data variables.product.prodname_mobile %}, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#enabling-push-notifications-with-github-mobile)."
+{% ifversion fpt or ghec %}- For more information on two-factor authentication using {% data variables.product.prodname_mobile %}, see "[Configuring {% data variables.product.prodname_mobile %}](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-github-mobile) and [Authenticating using {% data variables.product.prodname_mobile %}](/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication##verifying-with-github-mobile)." {% endif %}
+
## Installing {% data variables.product.prodname_mobile %}
To install {% data variables.product.prodname_mobile %} for Android or iOS, see [{% data variables.product.prodname_mobile %}](https://github.com/mobile).
diff --git a/translations/zh-CN/content/get-started/using-github/keyboard-shortcuts.md b/translations/zh-CN/content/get-started/using-github/keyboard-shortcuts.md
index fd482911ce..cda1d5ca88 100644
--- a/translations/zh-CN/content/get-started/using-github/keyboard-shortcuts.md
+++ b/translations/zh-CN/content/get-started/using-github/keyboard-shortcuts.md
@@ -28,11 +28,11 @@ versions:
## 站点快捷键
-| 键盘快捷键 | 描述 |
-| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| S 或 / | 聚焦于搜索栏。 更多信息请参阅“[关于在 {% data variables.product.company_short %} 上搜索](/search-github/getting-started-with-searching-on-github/about-searching-on-github)”。 |
-| G N | 转到您的通知。 更多信息请参阅{% ifversion fpt or ghes or ghae or ghec %}"[关于通知](/github/managing-subscriptions-and-notifications-on-github/about-notifications){% else %}“[关于通知](/github/receiving-notifications-about-activity-on-github/about-notifications){% endif %}”。 |
-| Esc | 当聚焦于用户、议题或拉取请求悬停卡时,关闭悬停卡并重新聚焦于悬停卡所在的元素 |
+| 键盘快捷键 | 描述 |
+| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| S 或 / | 聚焦于搜索栏。 更多信息请参阅“[关于在 {% data variables.product.company_short %} 上搜索](/search-github/getting-started-with-searching-on-github/about-searching-on-github)”。 |
+| G N | 转到您的通知。 更多信息请参阅“[关于通知](/github/managing-subscriptions-and-notifications-on-github/about-notifications)”。 |
+| Esc | 当聚焦于用户、议题或拉取请求悬停卡时,关闭悬停卡并重新聚焦于悬停卡所在的元素 |
{% if command-palette %}
@@ -106,7 +106,6 @@ versions:
{% endif %}
| R | 在您的回复中引用所选的文本。 更多信息请参阅“[基本撰写和格式语法](/articles/basic-writing-and-formatting-syntax#quoting-text)”。 |
-
## 议题和拉取请求列表
| 键盘快捷键 | 描述 |
@@ -135,16 +134,15 @@ versions:
## 拉取请求中的更改
-| 键盘快捷键 | 描述 |
-| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| C | 在拉取请求中打开提交列表 |
-| T | 在拉取请求中打开已更改文件列表 |
-| J | 将所选内容在列表中向下移动 |
-| K | 将所选内容在列表中向上移动 |
-| Command+Shift+Enter | 添加一条有关拉取请求差异的评论 |
-| Alt 并单击 | 通过按下 Alt 并单击 **Show outdated(显示已过期)**或 **Hide outdated(隐藏已过期)**,在折叠和展开拉取请求中所有过期的审查评论之间切换。{% ifversion fpt or ghes or ghae or ghec %}
-| 单击,然后按住 Shift 并单击 | 单击一个行号,按住 Shift,然后单击另一行号,便可对拉取请求的多行发表评论。 更多信息请参阅“[评论拉取请求](/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)。”
-{% endif %}
+| 键盘快捷键 | 描述 |
+| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| C | 在拉取请求中打开提交列表 |
+| T | 在拉取请求中打开已更改文件列表 |
+| J | 将所选内容在列表中向下移动 |
+| K | 将所选内容在列表中向上移动 |
+| Command+Shift+Enter | 添加一条有关拉取请求差异的评论 |
+| Alt 并单击 | Toggle between collapsing and expanding all outdated review comments in a pull request by holding down Alt and clicking **Show outdated** or **Hide outdated**. |
+| 单击,然后按住 Shift 并单击 | 单击一个行号,按住 Shift,然后单击另一行号,便可对拉取请求的多行发表评论。 更多信息请参阅“[评论拉取请求](/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)”。 |
## 项目板
@@ -200,7 +198,7 @@ versions:
{% endif %}
## 通知
-{% ifversion fpt or ghes or ghae or ghec %}
+
| 键盘快捷键 | 描述 |
| ----------------------------- | ----- |
| E | 标记为完成 |
@@ -208,13 +206,6 @@ versions:
| Shift+I | 标记为已读 |
| Shift+M | 取消订阅 |
-{% else %}
-
-| 键盘快捷键 | 描述 |
-| ------------------------------------------ | ----- |
-| E 或 I 或 Y | 标记为已读 |
-| Shift+M | 静音线程 |
-{% endif %}
## 网络图
diff --git a/translations/zh-CN/content/get-started/writing-on-github/editing-and-sharing-content-with-gists/creating-gists.md b/translations/zh-CN/content/get-started/writing-on-github/editing-and-sharing-content-with-gists/creating-gists.md
index 00a5333f72..ce5486664c 100644
--- a/translations/zh-CN/content/get-started/writing-on-github/editing-and-sharing-content-with-gists/creating-gists.md
+++ b/translations/zh-CN/content/get-started/writing-on-github/editing-and-sharing-content-with-gists/creating-gists.md
@@ -60,7 +60,6 @@ Gist supports mapping GeoJSON files. These maps are displayed in embedded gists,
Follow the steps below to create a gist.
-{% ifversion fpt or ghes or ghae or ghec %}
{% note %}
You can also create a gist using the {% data variables.product.prodname_cli %}. For more information, see "[`gh gist create`](https://cli.github.com/manual/gh_gist_create)" in the {% data variables.product.prodname_cli %} documentation.
@@ -68,7 +67,6 @@ You can also create a gist using the {% data variables.product.prodname_cli %}.
Alternatively, you can drag and drop a text file from your desktop directly into the editor.
{% endnote %}
-{% endif %}
1. Sign in to {% data variables.product.product_name %}.
2. Navigate to your {% data variables.gists.gist_homepage %}.
diff --git a/translations/zh-CN/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md b/translations/zh-CN/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md
index b649f2889b..827fa09850 100644
--- a/translations/zh-CN/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md
+++ b/translations/zh-CN/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md
@@ -29,7 +29,6 @@ shortTitle: 基本格式语法

-
## 样式文本
您可以在评论字段和 `.md` 文件中以粗体、斜体或删除线的文字表示强调。
@@ -235,7 +234,7 @@ git commit
## 提及人员和团队
-您可以在 {% data variables.product.product_name %} 上提及人员或[团队](/articles/setting-up-teams/),方法是键入 @ 加上其用户名或团队名称。 这将触发通知并提请他们注意对话。 如果您在编辑的评论中提及某人的用户名或团队名称,该用户也会收到通知。 有关通知的更多信息,请参阅{% ifversion fpt or ghes or ghae or ghec %}"[关于通知](/github/managing-subscriptions-and-notifications-on-github/about-notifications){% else %}“[关于通知](/github/receiving-notifications-about-activity-on-github/about-notifications){% endif %}”。
+您可以在 {% data variables.product.product_name %} 上提及人员或[团队](/articles/setting-up-teams/),方法是键入 @ 加上其用户名或团队名称。 这将触发通知并提请他们注意对话。 如果您在编辑的评论中提及某人的用户名或团队名称,该用户也会收到通知。 有关通知的详细信息,请参阅“[关于通知](/github/managing-subscriptions-and-notifications-on-github/about-notifications)”。
{% note %}
@@ -296,7 +295,7 @@ git commit
通过在文本行之间留一个空白行,可创建新段落。
-{% ifversion fpt or ghae-issue-5180 or ghes > 3.2 or ghec %}
+{% ifversion fpt or ghae or ghes > 3.2 or ghec %}
## 脚注
您可以使用此括号语法为您的内容添加脚注:
diff --git a/translations/zh-CN/content/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests.md b/translations/zh-CN/content/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests.md
index 54e06fa175..951523c370 100644
--- a/translations/zh-CN/content/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests.md
+++ b/translations/zh-CN/content/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests.md
@@ -15,7 +15,7 @@ topics:
## 将拉取请求链接到议题
-要将拉取请求链接到议题以{% ifversion fpt or ghes or ghae or ghec %} 显示正在进行的修复,并且{% endif %} 当有人合并拉取请求时自动关闭议题,请键入以下关键字之一,然后引用议题。 例如 `Closes #10` 或 `Fixes octo-org/octo-repo#100`。
+To link a pull request to an issue to show that a fix is in progress and to automatically close the issue when someone merges the pull request, type one of the following keywords followed by a reference to the issue. 例如 `Closes #10` 或 `Fixes octo-org/octo-repo#100`。
* close
* closes
diff --git a/translations/zh-CN/content/issues/organizing-your-work-with-project-boards/tracking-work-with-project-boards/filtering-cards-on-a-project-board.md b/translations/zh-CN/content/issues/organizing-your-work-with-project-boards/tracking-work-with-project-boards/filtering-cards-on-a-project-board.md
index 1ee95562f5..2a61c499d2 100644
--- a/translations/zh-CN/content/issues/organizing-your-work-with-project-boards/tracking-work-with-project-boards/filtering-cards-on-a-project-board.md
+++ b/translations/zh-CN/content/issues/organizing-your-work-with-project-boards/tracking-work-with-project-boards/filtering-cards-on-a-project-board.md
@@ -30,8 +30,8 @@ shortTitle: 在板上筛选卡
- 使用 `status:pending`、`status:success` 或 `status:failure` 按检查状态过滤
- 使用 `type:issue`、`type:pr` 或 `type:note` 按类型过滤卡
- 使用 `is:open`、`is:closed` 或 `is:merged` 和 `is:issue`、`is:pr` 或 `is:note` 按状态和类型过滤卡
-- 使用 `linked:pr` 关闭引用,按链接到拉取请求的议题过滤卡{% ifversion fpt or ghes or ghae or ghec %}
-- 使用 `repo:ORGANIZATION/REPOSITORY` 在组织范围的项目板中按仓库过滤卡{% endif %}
+- Filter cards by issues that are linked to a pull request by a closing reference using `linked:pr`
+- 使用 `repo:ORGANIZATION/REPOSITORY` 在组织范围的项目板中按仓库过滤卡
1. 导航到包含要过滤的卡的项目板。
2. 在项目卡列上方,单击“Filter cards(过滤卡)”搜索栏并键入搜索查询以过滤卡。 
diff --git a/translations/zh-CN/content/issues/tracking-your-work-with-issues/about-issues.md b/translations/zh-CN/content/issues/tracking-your-work-with-issues/about-issues.md
index aee10389f1..3b9dd13cdf 100644
--- a/translations/zh-CN/content/issues/tracking-your-work-with-issues/about-issues.md
+++ b/translations/zh-CN/content/issues/tracking-your-work-with-issues/about-issues.md
@@ -22,7 +22,7 @@ topics:
议题让您可以在进行开发的 {% data variables.product.company_short %} 上跟踪您的工作。 当您在议题中提到另一个议题或拉取请求时,该议题的时间表会反映交叉参考,以便你能够跟踪相关的工作。 要表示工作正在进行中,您可以将议题链接到拉取请求。 当拉取请求合并时,链接的议题会自动关闭。
-有关关键词的更多信息,请参阅“[将拉取请求链接到议题](issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword)”。
+有关关键词的更多信息,请参阅“[将拉取请求链接到议题](/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword)”。
## 快速创建议题
@@ -36,7 +36,7 @@ topics:
## 保持更新
-为保持更新议题中的最新评论,您可以订阅议题以接收关于最新评论的通知。 要快速查找指向您订阅的最新议题的链接,请访问仪表板。 更多信息请参阅 {% ifversion fpt or ghes or ghae or ghec %}“[关于通知](/github/managing-subscriptions-and-notifications-on-github/about-notifications){% else %}”[关于通知](/github/receiving-notifications-about-activity-on-github/about-notifications){% endif %}”和“[关于个人仪表板](/articles/about-your-personal-dashboard)”。
+为保持更新议题中的最新评论,您可以订阅议题以接收关于最新评论的通知。 要快速查找指向您订阅的最新议题的链接,请访问仪表板。 For more information, see "[About notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications)" and "[About your personal dashboard](/articles/about-your-personal-dashboard)."
## 社区管理
diff --git a/translations/zh-CN/content/issues/tracking-your-work-with-issues/assigning-issues-and-pull-requests-to-other-github-users.md b/translations/zh-CN/content/issues/tracking-your-work-with-issues/assigning-issues-and-pull-requests-to-other-github-users.md
index 64863a0edf..ebea410353 100644
--- a/translations/zh-CN/content/issues/tracking-your-work-with-issues/assigning-issues-and-pull-requests-to-other-github-users.md
+++ b/translations/zh-CN/content/issues/tracking-your-work-with-issues/assigning-issues-and-pull-requests-to-other-github-users.md
@@ -19,9 +19,9 @@ shortTitle: 分配议题和 PR
## 关于议题和拉取请求受理人
-You can assign multiple people to each issue or pull request, including yourself, anyone who has commented on the issue or pull request, anyone with write permissions to the repository, and organization members with read permissions to the repository. 更多信息请参阅“[{% data variables.product.prodname_dotcom %} 上的访问权限](/articles/access-permissions-on-github)”。
+每个议题和拉取请求可分配给多个人,包括您自己、 任何评论了议题或拉取请求的人、任何对仓库有写入权限的人以及对仓库有读取权限的组织成员 。 更多信息请参阅“[{% data variables.product.prodname_dotcom %} 上的访问权限](/articles/access-permissions-on-github)”。
-Issues and pull requests in public repositories, and in private repositories for a paid account, can have up to 10 people assigned. Private repositories on the free plan are limited to one person per issue or pull request.
+公共仓库和付费帐户的私有仓库中的议题和拉取请求最多可以分配 10 个人。 免费计划中的私有仓库限制为每个议题或拉取请求一个人。
## 分配单个议题或拉取请求
diff --git a/translations/zh-CN/content/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests.md b/translations/zh-CN/content/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests.md
index ad62276d24..06a51f32d5 100644
--- a/translations/zh-CN/content/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests.md
+++ b/translations/zh-CN/content/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests.md
@@ -173,11 +173,9 @@ gh pr list --search "team:octo-org/octo-team"
{% endtip %}
{% endif %}
-{% ifversion fpt or ghes or ghae or ghec %}
对于议题,您还可以使用搜索来:
- 通过关闭引用过滤链接到拉取请求的议题:`linked:pr`
-{% endif %}
对于拉取请求,您还可以使用搜索来:
- 过滤[草稿](/articles/about-pull-requests#draft-pull-requests)拉取请求:`is:draft`
@@ -188,8 +186,8 @@ gh pr list --search "team:octo-org/octo-team"
- 按[审查者](/articles/about-pull-request-reviews/)过滤拉取请求:`state:open type:pr reviewed-by:octocat`
- 按[请求审查](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)的特定用户过滤拉取请求:`state:open type:pr review-requested:octocat`{% ifversion fpt or ghae-issue-5181 or ghes > 3.2 or ghec %}
- 过滤有人直接要求您审核的拉取请求:`state:open type:pr user-review-requested:@me`{% endif %}
-- 按申请审查的团队过滤拉取请求:`state:open type:pr team-review-requested:github/atom`{% ifversion fpt or ghes or ghae or ghec %}
-- 过滤链接到拉取请求可能关闭的议题的拉取请求:`linked:issue`{% endif %}
+- 按请求审查的团队过滤拉取请求:`state:open type:pr team-review-requested:github/atom`
+- 过滤链接到拉取请求可能关闭的议题的拉取请求:`linked:issue`
## 排序议题和拉取请求
@@ -211,7 +209,6 @@ gh pr list --search "team:octo-org/octo-team"
要清除您的排序选择,请单击 **Sort(排序)<**>**Newest(最新)**。
-
## 共享过滤器
当您过滤或排序议题和拉取请求时,浏览器的 URL 自动更新以匹配新视图。
diff --git a/translations/zh-CN/content/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue.md b/translations/zh-CN/content/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue.md
index bd0de520e2..e3956b55bf 100644
--- a/translations/zh-CN/content/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue.md
+++ b/translations/zh-CN/content/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue.md
@@ -27,7 +27,7 @@ shortTitle: 将 PR 链接到议题
## 关于链接的议题和拉取请求
-您可以{% ifversion fpt or ghes or ghae or ghec %}手动或{% endif %}使用拉取请求说明中支持的关键词将议题链接到拉取请求。
+You can link an issue to a pull request manually or using a supported keyword in the pull request description.
当您将拉取请求链接到拉取请求指向的议题,如果有人正在操作该议题,协作者可以看到。
@@ -57,11 +57,10 @@ shortTitle: 将 PR 链接到议题
| 不同仓库中的议题 | *KEYWORD* *OWNER*/*REPOSITORY*#*ISSUE-NUMBER* | `Fixes octo-org/octo-repo#100` |
| 多个议题 | 对每个议题使用完整语法 | `Resolves #10, resolves #123, resolves octo-org/octo-repo#100` |
-{% ifversion fpt or ghes or ghae or ghec %}只有手动链接的拉取请求才能手动取消链接。 要取消链接您使用关键词链接的议题,必须编辑拉取请求说明以删除该关键词。{% endif %}
+Only manually linked pull requests can be manually unlinked. To unlink an issue that you linked using a keyword, you must edit the pull request description to remove the keyword.
您也可以在提交消息中使用关闭关键词。 议题将在提交合并到默认分支时关闭,但包含提交的拉取请求不会列为链接的拉取请求。
-{% ifversion fpt or ghes or ghae or ghec %}
## 手动将拉取请求链接到议题
对仓库有写入权限的任何人都可以手动将拉取请求链接到议题。
@@ -77,7 +76,6 @@ shortTitle: 将 PR 链接到议题
4. 在右侧边栏中,单击 **Linked issues(链接的议题)**。 
{% endif %}
5. 单击要链接到拉取请求的议题。 
-{% endif %}
## 延伸阅读
diff --git a/translations/zh-CN/content/issues/tracking-your-work-with-issues/viewing-all-of-your-issues-and-pull-requests.md b/translations/zh-CN/content/issues/tracking-your-work-with-issues/viewing-all-of-your-issues-and-pull-requests.md
index c678256c83..fd9daf11a3 100644
--- a/translations/zh-CN/content/issues/tracking-your-work-with-issues/viewing-all-of-your-issues-and-pull-requests.md
+++ b/translations/zh-CN/content/issues/tracking-your-work-with-issues/viewing-all-of-your-issues-and-pull-requests.md
@@ -25,4 +25,4 @@ type: how_to
## 延伸阅读
-- {% ifversion fpt or ghes or ghae or ghec %}”[查看您的订阅](/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions#reviewing-repositories-that-youre-watching){% else %}”[列出您关注的仓库](/github/receiving-notifications-about-activity-on-github/listing-the-repositories-youre-watching){% endif %}"
+- "[Viewing your subscriptions](/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions#reviewing-repositories-that-youre-watching)"
diff --git a/translations/zh-CN/content/organizations/collaborating-with-groups-in-organizations/about-your-organization-dashboard.md b/translations/zh-CN/content/organizations/collaborating-with-groups-in-organizations/about-your-organization-dashboard.md
index e1031f9737..6e811c3cd8 100644
--- a/translations/zh-CN/content/organizations/collaborating-with-groups-in-organizations/about-your-organization-dashboard.md
+++ b/translations/zh-CN/content/organizations/collaborating-with-groups-in-organizations/about-your-organization-dashboard.md
@@ -35,7 +35,7 @@ shortTitle: 组织仪表板
在消息馈送的“All activity(所有活动)”部分,您可以查看来自组织中其他团队和仓库的更新。
-“All activity(所有活动)”部分显示组织中所有最近的活动,包括您未订阅的仓库中以及您未关注的人员的活动。 更多信息请参阅{% ifversion fpt or ghes or ghae or ghec %}“[关于通知](/github/managing-subscriptions-and-notifications-on-github/about-notifications){% else %}“[关注和取消关注仓库](/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories){% endif %}”和“[关注人员](/articles/following-people)”。
+“All activity(所有活动)”部分显示组织中所有最近的活动,包括您未订阅的仓库中以及您未关注的人员的活动。 For more information, see "[About notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications)" and "[Following people](/articles/following-people)."
例如,当组织中有人执行以下操作时,组织消息馈送会显示更新:
- 创建新分支。
diff --git a/translations/zh-CN/content/organizations/collaborating-with-your-team/about-team-discussions.md b/translations/zh-CN/content/organizations/collaborating-with-your-team/about-team-discussions.md
index a639d9cfa2..1d88948f74 100644
--- a/translations/zh-CN/content/organizations/collaborating-with-your-team/about-team-discussions.md
+++ b/translations/zh-CN/content/organizations/collaborating-with-your-team/about-team-discussions.md
@@ -32,7 +32,7 @@ topics:
{% tip %}
-**提示:**根据通知设置,您将通过电子邮件和/或 {% data variables.product.product_name %} 上的 web 通知页面收到更新。 更多信息请参阅{% ifversion fpt or ghae or ghes or ghec %}“[配置通知](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications){% else %}“[关于电子邮件通知](/github/receiving-notifications-about-activity-on-github/about-email-notifications)”和“[关于 web 通知](/github/receiving-notifications-about-activity-on-github/about-web-notifications){% endif %}”。
+**提示:**根据通知设置,您将通过电子邮件和/或 {% data variables.product.product_name %} 上的 web 通知页面收到更新。 更多信息请参阅“[配置通知](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications)”。
{% endtip %}
@@ -40,7 +40,7 @@ topics:
要关闭团队讨论的通知,您可以取消订阅特定的讨论帖子,或者更改通知设置,以取消关注或完全忽略特定团队的讨论。 即使您取消关注团队的讨论,也可订阅特定讨论帖子的通知。
-更多信息请参阅{% ifversion fpt or ghae or ghes or ghec %}“[查看您的订阅](/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions){% else %}“[订阅和退订通知](/github/receiving-notifications-about-activity-on-github/subscribing-to-and-unsubscribing-from-notifications){% endif %}”和“[嵌套的团队](/articles/about-teams/#nested-teams)”。
+For more information, see "[Viewing your subscriptions](/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions)" and "[Nested teams](/articles/about-teams/#nested-teams)."
{% ifversion fpt or ghec %}
diff --git a/translations/zh-CN/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization.md b/translations/zh-CN/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization.md
index 8fd6ad0d77..31574c549c 100644
--- a/translations/zh-CN/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization.md
+++ b/translations/zh-CN/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization.md
@@ -162,5 +162,5 @@ You can manage access to {% data variables.product.prodname_GH_advanced_security
- "[Securing your repository](/code-security/getting-started/securing-your-repository)"{% ifversion not fpt %}
- "[About secret scanning](/github/administering-a-repository/about-secret-scanning)"{% endif %}{% ifversion not ghae %}
-- "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph)"{% endif %}{% ifversion fpt or ghec or ghes or ghae-issue-4864 %}
+- "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph)"{% endif %}{% ifversion fpt or ghec or ghes or ghae %}
- "[About supply chain security](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-supply-chain-security)"{% endif %}
diff --git a/translations/zh-CN/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization.md b/translations/zh-CN/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization.md
index 40c99ceccc..401665144c 100644
--- a/translations/zh-CN/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization.md
+++ b/translations/zh-CN/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization.md
@@ -41,7 +41,7 @@ To search for specific events, use the `action` qualifier in your query. Actions
| [`advisory_credit`](#advisory_credit-category-actions) | Contains all activities related to crediting a contributor for a security advisory in the {% data variables.product.prodname_advisory_database %}. For more information, see "[About {% data variables.product.prodname_dotcom %} Security Advisories](/github/managing-security-vulnerabilities/about-github-security-advisories)."
| [`billing`](#billing-category-actions) | Contains all activities related to your organization's billing.
| [`business`](#business-category-actions) | Contains activities related to business settings for an enterprise. |
-| [`codespaces`](#codespaces-category-actions) | Contains all activities related to your organization's codespaces. |{% endif %}{% ifversion fpt or ghec or ghes > 3.2 or ghae-issue-4864 %}
+| [`codespaces`](#codespaces-category-actions) | Contains all activities related to your organization's codespaces. |{% endif %}{% ifversion fpt or ghec or ghes > 3.2 or ghae %}
| [`dependabot_alerts`](#dependabot_alerts-category-actions) | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_alerts %} in existing repositories. For more information, see "[About {% data variables.product.prodname_dependabot_alerts %}](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)."
| [`dependabot_alerts_new_repos`](#dependabot_alerts_new_repos-category-actions) | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_alerts %} in new repositories created in the organization.{% endif %}{% ifversion fpt or ghec or ghes > 3.2 %}
| [`dependabot_security_updates`](#dependabot_security_updates-category-actions) | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_security_updates %} in existing repositories. For more information, see "[Configuring {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/configuring-dependabot-security-updates)."
@@ -61,8 +61,8 @@ To search for specific events, use the `action` qualifier in your query. Actions
| [`members_can_create_pages`](#members_can_create_pages-category-actions) | Contains all activities related to managing the publication of {% data variables.product.prodname_pages %} sites for repositories in the organization. For more information, see "[Managing the publication of {% data variables.product.prodname_pages %} sites for your organization](/organizations/managing-organization-settings/managing-the-publication-of-github-pages-sites-for-your-organization)." | {% endif %}
| [`org`](#org-category-actions) | Contains activities related to organization membership.{% ifversion ghec %}
| [`org_credential_authorization`](#org_credential_authorization-category-actions) | Contains all activities related to authorizing credentials for use with SAML single sign-on.{% endif %}{% if secret-scanning-audit-log-custom-patterns %}
-| [`org_secret_scanning_custom_pattern`](#org_secret_scanning_custom_pattern-category-actions) | Contains organization-level activities related to secret scanning custom patterns. For more information, see "[Defining custom patterns for secret scanning](/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning)." {% endif %}{% ifversion fpt or ghes or ghae or ghec %}
-| [`organization_label`](#organization_label-category-actions) | Contains all activities related to default labels for repositories in your organization.{% endif %}
+| [`org_secret_scanning_custom_pattern`](#org_secret_scanning_custom_pattern-category-actions) | Contains organization-level activities related to secret scanning custom patterns. For more information, see "[Defining custom patterns for secret scanning](/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning)." {% endif %}
+| [`organization_label`](#organization_label-category-actions) | Contains all activities related to default labels for repositories in your organization.
| [`oauth_application`](#oauth_application-category-actions) | Contains all activities related to OAuth Apps.
| [`packages`](#packages-category-actions) | Contains all activities related to {% data variables.product.prodname_registry %}.{% ifversion fpt or ghec %}
| [`payment_method`](#payment_method-category-actions) | Contains all activities related to how your organization pays for GitHub.{% endif %}
@@ -75,7 +75,7 @@ To search for specific events, use the `action` qualifier in your query. Actions
| [`repository_dependency_graph`](#repository_dependency_graph-category-actions) | Contains repository-level activities related to enabling or disabling the dependency graph for a {% ifversion fpt or ghec %}private {% endif %}repository. For more information, see "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph)."{% endif %}{% ifversion ghes or ghae or ghec %}
| [`repository_secret_scanning`](#repository_secret_scanning-category-actions) | Contains repository-level activities related to secret scanning. For more information, see "[About secret scanning](/github/administering-a-repository/about-secret-scanning)." {% endif %}{% if secret-scanning-audit-log-custom-patterns %}
| [`repository_secret_scanning_custom_pattern`](#respository_secret_scanning_custom_pattern-category-actions) | Contains repository-level activities related to secret scanning custom patterns. For more information, see "[Defining custom patterns for secret scanning](/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning)." {% endif %}{% if secret-scanning-audit-log-custom-patterns %}
-| [`repository_secret_scanning_push_protection`](#respository_secret_scanning_push_protection) | Contains repository-level activities related to secret scanning custom patterns. For more information, see "[Protecting pushes with secert scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning)." {% endif %}{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+| [`repository_secret_scanning_push_protection`](#respository_secret_scanning_push_protection) | Contains repository-level activities related to secret scanning custom patterns. For more information, see "[Protecting pushes with secert scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning)." {% endif %}{% ifversion fpt or ghes or ghae or ghec %}
| [`repository_vulnerability_alert`](#repository_vulnerability_alert-category-actions) | Contains all activities related to [{% data variables.product.prodname_dependabot_alerts %} for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies).{% endif %}{% ifversion fpt or ghec %}
| [`repository_vulnerability_alerts`](#repository_vulnerability_alerts-category-actions) | Contains repository-level configuration activities for {% data variables.product.prodname_dependabot_alerts %}.{% endif %}{% if custom-repository-roles %}
| [`role`](#role-category-actions) | Contains all activities related to [custom repository roles](/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization).{% endif %}{% ifversion ghes or ghae or ghec %}
@@ -236,7 +236,7 @@ An overview of some of the most common actions that are recorded as events in th
| `manage_access_and_security` | Triggered when a user updates [which repositories a codespace can access](/github/developing-online-with-codespaces/managing-access-and-security-for-codespaces).
{% endif %}
-{% ifversion fpt or ghec or ghes > 3.2 or ghae-issue-4864 %}
+{% ifversion fpt or ghec or ghes > 3.2 or ghae %}
### `dependabot_alerts` category actions
| Action | Description
@@ -497,7 +497,6 @@ For more information, see "[Managing the publication of {% data variables.produc
| `delete` | Triggered when a custom pattern is removed from secret scanning in an organization. For more information, see "[Defining custom patterns for secret scanning](/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#removing-a-custom-pattern)."
{% endif %}
-{% ifversion fpt or ghes or ghae or ghec %}
### `organization_label` category actions
| Action | Description
@@ -506,8 +505,6 @@ For more information, see "[Managing the publication of {% data variables.produc
| `update` | Triggered when a default label is edited.
| `destroy` | Triggered when a default label is deleted.
-{% endif %}
-
### `oauth_application` category actions
| Action | Description
@@ -572,11 +569,10 @@ For more information, see "[Managing the publication of {% data variables.produc
| `update_required_status_checks_enforcement_level ` | Triggered when enforcement of required status checks is updated on a branch.
| `update_strict_required_status_checks_policy` | Triggered when the requirement for a branch to be up to date before merging is changed.
| `rejected_ref_update ` | Triggered when a branch update attempt is rejected.
-| `policy_override ` | Triggered when a branch protection requirement is overridden by a repository administrator.{% ifversion fpt or ghes or ghae or ghec %}
+| `policy_override ` | Triggered when a branch protection requirement is overridden by a repository administrator.
| `update_allow_force_pushes_enforcement_level ` | Triggered when force pushes are enabled or disabled for a protected branch.
| `update_allow_deletions_enforcement_level ` | Triggered when branch deletion is enabled or disabled for a protected branch.
| `update_linear_history_requirement_enforcement_level ` | Triggered when required linear commit history is enabled or disabled for a protected branch.
-{% endif %}
{% ifversion fpt or ghes > 3.1 or ghae or ghec %}
@@ -707,7 +703,7 @@ For more information, see "[Managing the publication of {% data variables.produc
| `disable` | Triggered when a repository owner or person with admin access to the repository disables secret scanning for a repository. For more information, see "[Protecting pushes with secret scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning)."
| `enable` | Triggered when a repository owner or person with admin access to the repository enables secret scanning for a repository.
-{% endif %}{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+{% endif %}{% ifversion fpt or ghes or ghae or ghec %}
### `repository_vulnerability_alert` category actions
| Action | Description
diff --git a/translations/zh-CN/content/organizations/managing-access-to-your-organizations-repositories/repository-roles-for-an-organization.md b/translations/zh-CN/content/organizations/managing-access-to-your-organizations-repositories/repository-roles-for-an-organization.md
index ec169b0963..e0c81ef0fc 100644
--- a/translations/zh-CN/content/organizations/managing-access-to-your-organizations-repositories/repository-roles-for-an-organization.md
+++ b/translations/zh-CN/content/organizations/managing-access-to-your-organizations-repositories/repository-roles-for-an-organization.md
@@ -158,25 +158,25 @@ shortTitle: 存储库角色
在本节中,您可以找到一些安全功能所需的访问权限,例如 {% data variables.product.prodname_advanced_security %} 功能。
-| 仓库操作 | 读取 | 分类 | 写入 | 维护 | 管理员 |
-|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |:-----:|:-----:|:------------------------------------------------------:|:------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------:|{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
-| 接收仓库中[易受攻击的依赖项的 {% data variables.product.prodname_dependabot_alerts %}](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies) | | | | | **X** |
-| [忽略 {% data variables.product.prodname_dependabot_alerts %}](/code-security/supply-chain-security/viewing-and-updating-vulnerable-dependencies-in-your-repository) | | | | | **X** |{% endif %}{% ifversion ghes or ghae-issue-4864 or ghec %}
+| 仓库操作 | 读取 | 分类 | 写入 | 维护 | 管理员 |
+|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |:-----:|:-----:|:------------------------------------------------------:|:------------------------------------------------------:|:-------------------------------------------------------------------------------------------------:|{% ifversion fpt or ghes or ghae or ghec %}
+| 接收仓库中[易受攻击的依赖项的 {% data variables.product.prodname_dependabot_alerts %}](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies) | | | | | **X** |
+| [忽略 {% data variables.product.prodname_dependabot_alerts %}](/code-security/supply-chain-security/viewing-and-updating-vulnerable-dependencies-in-your-repository) | | | | | **X** |{% endif %}{% ifversion ghes or ghae or ghec %}
|
-| [指定其他人员或团队接收安全警报](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts) | | | | | **X** |{% endif %}{% ifversion fpt or ghec %}
-| 创建[安全通告](/code-security/security-advisories/about-github-security-advisories) | | | | | **X** |{% endif %}{% ifversion ghes or ghae or ghec %}
+| [指定其他人员或团队接收安全警报](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts) | | | | | **X** |{% endif %}{% ifversion fpt or ghec %}
+| 创建[安全通告](/code-security/security-advisories/about-github-security-advisories) | | | | | **X** |{% endif %}{% ifversion ghes or ghae or ghec %}
|
-| 管理 {% data variables.product.prodname_GH_advanced_security %} 功能的访问权限(请参阅“[管理组织的安全和分析设置](/organizations/keeping-your-organization-secure/managing-security-and-analysis-settings-for-your-organization)”) | | | | | **X** |{% endif %}{% ifversion fpt or ghec %}
+| 管理 {% data variables.product.prodname_GH_advanced_security %} 功能的访问权限(请参阅“[管理组织的安全和分析设置](/organizations/keeping-your-organization-secure/managing-security-and-analysis-settings-for-your-organization)”) | | | | | **X** |{% endif %}{% ifversion fpt or ghec %}
|
-| 为私有仓库[启用依赖关系图](/code-security/supply-chain-security/exploring-the-dependencies-of-a-repository) | | | | | **X** |{% endif %}{% ifversion ghes > 3.1 or ghae-issue-4864 or ghec %}
-| [查看依赖项审查](/code-security/supply-chain-security/about-dependency-review) | **X** | **X** | **X** | **X** | **X**
+| 为私有仓库[启用依赖关系图](/code-security/supply-chain-security/exploring-the-dependencies-of-a-repository) | | | | | **X** |{% endif %}{% ifversion ghes > 3.1 or ghae or ghec %}
+| [查看依赖项审查](/code-security/supply-chain-security/about-dependency-review) | **X** | **X** | **X** | **X** | **X**
{% endif %}
-| [查看拉取请求上的 {% data variables.product.prodname_code_scanning %} 警报](/github/finding-security-vulnerabilities-and-errors-in-your-code/triaging-code-scanning-alerts-in-pull-requests) | **X** | **X** | **X** | **X** | **X** |
-| [列出、忽略和删除 {% data variables.product.prodname_code_scanning %} 警报](/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository) | | | **X** | **X** | **X** |
-| [查看仓库中的 {% data variables.product.prodname_secret_scanning %} 警报](/github/administering-a-repository/managing-alerts-from-secret-scanning) | | | **X**{% ifversion not ghae %}[1]{% endif %} | **X**{% ifversion not ghae %}[1]{% endif %} | **X** |{% ifversion ghes or ghae or ghec %}
+| [查看拉取请求上的 {% data variables.product.prodname_code_scanning %} 警报](/github/finding-security-vulnerabilities-and-errors-in-your-code/triaging-code-scanning-alerts-in-pull-requests) | **X** | **X** | **X** | **X** | **X** |
+| [列出、忽略和删除 {% data variables.product.prodname_code_scanning %} 警报](/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository) | | | **X** | **X** | **X** |
+| [查看仓库中的 {% data variables.product.prodname_secret_scanning %} 警报](/github/administering-a-repository/managing-alerts-from-secret-scanning) | | | **X**{% ifversion not ghae %}[1]{% endif %} | **X**{% ifversion not ghae %}[1]{% endif %} | **X** |{% ifversion ghes or ghae or ghec %}
|
-| [解决、撤销或重新打开 {% data variables.product.prodname_secret_scanning %} 警报](/github/administering-a-repository/managing-alerts-from-secret-scanning) | | | **X**{% ifversion not ghae %}[1]{% endif %} | **X**{% ifversion not ghae %}[1]{% endif %} | **X** |{% endif %}{% ifversion ghes or ghae-issue-4864 or ghec %}
-| [指定其他人员或团队接收仓库中的 {% data variables.product.prodname_secret_scanning %} 警报](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts) | | | | | **X**
+| [解决、撤销或重新打开 {% data variables.product.prodname_secret_scanning %} 警报](/github/administering-a-repository/managing-alerts-from-secret-scanning) | | | **X**{% ifversion not ghae %}[1]{% endif %} | **X**{% ifversion not ghae %}[1]{% endif %} | **X** |{% endif %}{% ifversion ghes or ghae or ghec %}
+| [指定其他人员或团队接收仓库中的 {% data variables.product.prodname_secret_scanning %} 警报](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts) | | | | | **X**
{% endif %}
[1] 仓库作者和维护者只能看到他们自己提交的警报信息。
diff --git a/translations/zh-CN/content/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization.md b/translations/zh-CN/content/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization.md
index c4c1659797..3fce3a8cc6 100644
--- a/translations/zh-CN/content/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization.md
+++ b/translations/zh-CN/content/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization.md
@@ -28,7 +28,7 @@ permissions: Organization owners can assign the security manager role.
其他功能(包括组织的安全概述)在将 {% data variables.product.prodname_ghe_cloud %} 与 {% data variables.product.prodname_advanced_security %} 一起使用的组织中可用。 更多信息请参阅 [{% data variables.product.prodname_ghe_cloud %} 文档](/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)。
{% endif %}
-如果团队具有安全管理员角色,则对团队和特定存储库具有管理员访问权限的人员可以更改团队对该存储库的访问级别,但不能删除访问权限。 For more information, see "[Managing team access to an organization repository](/organizations/managing-access-to-your-organizations-repositories/managing-team-access-to-an-organization-repository){% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5974 %}" and "[Managing teams and people with access to your repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)."{% else %}."{% endif %}
+如果团队具有安全管理员角色,则对团队和特定存储库具有管理员访问权限的人员可以更改团队对该存储库的访问级别,但不能删除访问权限。 更多信息请参阅“[管理团队对组织存储库的访问权限](/organizations/managing-access-to-your-organizations-repositories/managing-team-access-to-an-organization-repository){% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5974 %}”和“[管理有权访问存储库的团队和人员](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)”。{% else %}”。{% endif %}

diff --git a/translations/zh-CN/content/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization.md b/translations/zh-CN/content/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization.md
index 779f1e4e4d..77c7bbd6b6 100644
--- a/translations/zh-CN/content/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization.md
+++ b/translations/zh-CN/content/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization.md
@@ -146,7 +146,7 @@ shortTitle: 组织中的角色
{% endif %}
| 管理组织中的拉取请求审核(请参阅“[管理组织中的拉取请求审核](/organizations/managing-organization-settings/managing-pull-request-reviews-in-your-organization)”) | **X** | | | | |
-{% elsif ghes > 3.2 or ghae-issue-4999 %}
+{% elsif ghes > 3.2 or ghae %}
| 组织操作 | 所有者 | 成员 | 安全管理员 |
diff --git a/translations/zh-CN/content/organizations/organizing-members-into-teams/assigning-the-team-maintainer-role-to-a-team-member.md b/translations/zh-CN/content/organizations/organizing-members-into-teams/assigning-the-team-maintainer-role-to-a-team-member.md
index 0c519a18d0..b6a396046a 100644
--- a/translations/zh-CN/content/organizations/organizing-members-into-teams/assigning-the-team-maintainer-role-to-a-team-member.md
+++ b/translations/zh-CN/content/organizations/organizing-members-into-teams/assigning-the-team-maintainer-role-to-a-team-member.md
@@ -31,11 +31,10 @@ permissions: Organization owners can promote team members to team maintainers.
- [删除团队讨论](/articles/managing-disruptive-comments/#deleting-a-comment)
- [添加组织成员到团队](/articles/adding-organization-members-to-a-team)
- [从团队中删除组织成员](/articles/removing-organization-members-from-a-team)
-- 删除团队对仓库的访问权限{% ifversion fpt or ghes or ghae or ghec %}
-- [管理团队的代码审查任务](/organizations/organizing-members-into-teams/managing-code-review-assignment-for-your-team){% endif %}{% ifversion fpt or ghec %}
+- 删除团队对仓库的访问权限
+- [管理团队的代码审查任务](/organizations/organizing-members-into-teams/managing-code-review-assignment-for-your-team){% ifversion fpt or ghec %}
- [管理拉取请求的预定提醒](/organizations/organizing-members-into-teams/managing-scheduled-reminders-for-your-team){% endif %}
-
## 将组织成员升级为团队维护员
在将组织成员提升为团队维护员之前,该人员必须已经是团队的成员。
diff --git a/translations/zh-CN/content/pages/index.md b/translations/zh-CN/content/pages/index.md
index 763747d186..edfd980b0c 100644
--- a/translations/zh-CN/content/pages/index.md
+++ b/translations/zh-CN/content/pages/index.md
@@ -1,7 +1,34 @@
---
title: GitHub Pages 文档
shortTitle: GitHub Pages
-intro: '您可以直接从 {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.product.product_location %}{% endif %} 的仓库创建网站。'
+intro: 'Learn how to create a website directly from a repository on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.product.product_location %}{% endif %}. Explore website building tools like Jekyll and troubleshoot issues with your {% data variables.product.prodname_pages %} site.'
+introLinks:
+ quickstart: /pages/quickstart
+ overview: /pages/getting-started-with-github-pages/about-github-pages
+featuredLinks:
+ guides:
+ - /pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site
+ - /pages/getting-started-with-github-pages/creating-a-github-pages-site
+ - '{% ifversion fpt or ghec %}/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site{% endif %}'
+ - '{% ifversion ghes or ghae %}/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll{% endif %}'
+ - '{% ifversion ghec %}/pages/getting-started-with-github-pages/changing-the-visibility-of-your-github-pages-site{% endif %}'
+ - '{% ifversion fpt %}/pages/getting-started-with-github-pages/adding-a-theme-to-your-github-pages-site-with-the-theme-chooser{% endif %}'
+ - '{% ifversion ghes or ghae %}/pages/setting-up-a-github-pages-site-with-jekyll/adding-content-to-your-github-pages-site-using-jekyll{% endif %}'
+ popular:
+ - '{% ifversion fpt or ghec %}/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages{% endif %}'
+ - /pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll)
+ - '{% ifversion fpt or ghec %}/pages/configuring-a-custom-domain-for-your-github-pages-site/troubleshooting-custom-domains-and-github-pages{% endif %}'
+ - '{% ifversion fpt or ghec %}/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https{% endif %}'
+ - '{% ifversion ghes or ghae %}/pages/getting-started-with-github-pages/unpublishing-a-github-pages-site{% endif %}'
+ - '{% ifversion ghes or ghae %}/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll{% endif %}'
+ - '{% ifversion ghes or ghae %}/pages/setting-up-a-github-pages-site-with-jekyll/adding-a-theme-to-your-github-pages-site-using-jekyll{% endif %}'
+ guideCards:
+ - /pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site
+ - /pages/setting-up-a-github-pages-site-with-jekyll/adding-a-theme-to-your-github-pages-site-using-jekyll
+ - /pages/setting-up-a-github-pages-site-with-jekyll/troubleshooting-jekyll-build-errors-for-github-pages-sites
+changelog:
+ label: pages
+layout: product-landing
redirect_from:
- /categories/20/articles
- /categories/95/articles
diff --git a/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request.md b/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request.md
index 0b8bd5a96e..e7ca50a7e0 100644
--- a/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request.md
+++ b/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request.md
@@ -1,6 +1,6 @@
---
title: 更改拉取请求的阶段
-intro: '您可以将拉取请求草稿标记为可供审查{% ifversion fpt or ghae or ghes or ghec %}或将拉取请求转换为草稿{% endif %}。'
+intro: You can mark a draft pull request as ready for review or convert a pull request to a draft.
permissions: People with write permissions to a repository and pull request authors can change the stage of a pull request.
product: '{% data reusables.gated-features.draft-prs %}'
redirect_from:
@@ -22,20 +22,16 @@ shortTitle: 更改状态
{% data reusables.pull_requests.mark-ready-review %}
-{% ifversion fpt or ghae or ghes or ghec %}
{% tip %}
**提示**:您也可以使用 {% data variables.product.prodname_cli %} 将拉取请求标记为可供审查。 更多信息请参阅 {% data variables.product.prodname_cli %} 文档中的“[`gh pr 准备`](https://cli.github.com/manual/gh_pr_ready)”。
{% endtip %}
-{% endif %}
{% data reusables.repositories.sidebar-pr %}
2. 在“Pull Requests(拉取请求)”列表中,单击要标记为可供审查的拉取请求。
3. 在合并框中,单击 **Ready for review(可供审查)**。 
-{% ifversion fpt or ghae or ghes or ghec %}
-
## 将拉取请求转换为草稿
您可以随时将拉取请求转换为草稿。 例如,如果您意外打开了拉取请求而不是草稿,或者收到了需要解决的关于拉取请求的反馈,则可将拉取请求转换为草稿,以表示需要进一步更改。 再次将拉取请求标记为可供审查之前,任何人都不能合并拉取请求。 将拉取请求转换为草稿时,已订阅拉取请求通知的用户将不会取消订阅。
@@ -45,8 +41,6 @@ shortTitle: 更改状态
3. 在右侧边栏中的“Reviewers(审查者)”下下单击 **Convert to draft(转换为草稿)**。 
4. 单击 **Convert to draft(转换为草稿)**。 
-{% endif %}
-
## 延伸阅读
- "[关于拉取请求](/github/collaborating-with-issues-and-pull-requests/about-pull-requests)"
diff --git a/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review.md b/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review.md
index d41af78d62..547688cefd 100644
--- a/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review.md
+++ b/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review.md
@@ -21,7 +21,7 @@ shortTitle: 请求 PR 审查
要将审阅者分配给拉取请求,您需要对存储库具有写入权限。 有关仓库访问权限的更多信息,请参阅“[组织的仓库角色](/organizations/managing-access-to-your-organizations-repositories/repository-roles-for-an-organization)”。 如果您具有写入权限,则可以将具有读取访问权限的任何人分配到存储库作为审阅者。
-具有写入权限的组织成员还可以将拉取请求审阅分配给对存储库具有读取访问权限的任何人员或团队。 被请求的审查者或团队将收到您请求他们审查拉取请求的通知。 {% ifversion fpt or ghae or ghes or ghec %}如果您请求团队审查,并且启用了代码审查分配,则会向特定成员发出申请,并且取消团队作为审查者。 更多信息请参阅“[管理团队的代码审查设置](/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team)”。{% endif %}
+具有写入权限的组织成员还可以将拉取请求审阅分配给对存储库具有读取访问权限的任何人员或团队。 被请求的审查者或团队将收到您请求他们审查拉取请求的通知。 If you request a review from a team and code review assignment is enabled, specific members will be requested and the team will be removed as a reviewer. 更多信息请参阅“[管理团队的代码审查设置](/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team)”。
{% note %}
diff --git a/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews.md b/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews.md
index 435df2b4a3..d45be61f86 100644
--- a/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews.md
+++ b/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews.md
@@ -22,7 +22,7 @@ shortTitle: 关于 PR 审查
{% if pull-request-approval-limit %}{% data reusables.pull_requests.code-review-limits %}{% endif %}
-仓库所有者和协作者可向具体的个人申请拉取请求审查。 组织成员也可向具有仓库读取权限的团队申请拉取请求审查。 更多信息请参阅“[申请拉取请求审查](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)”。 {% ifversion fpt or ghae or ghes or ghec %}您可以指定自动分配一部分团队成员,而不是分配整个团队。 更多信息请参阅“[管理团队的代码审查设置](/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team)”。{% endif %}
+仓库所有者和协作者可向具体的个人申请拉取请求审查。 组织成员也可向具有仓库读取权限的团队申请拉取请求审查。 更多信息请参阅“[申请拉取请求审查](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)”。 You can specify a subset of team members to be automatically assigned in the place of the whole team. 更多信息请参阅“[管理团队的代码审查设置](/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team)”。
审查允许讨论提议的更改,帮助确保更改符合仓库的参与指南及其他质量标准。 您可以在 CODEOWNERS 文件中定义哪些个人或团队拥有代码的特定类型或区域。 当拉取请求修改定义了所有者的代码时,该个人或团队将自动被申请为审查者。 更多信息请参阅“[关于代码所有者](/articles/about-code-owners/)”。
diff --git a/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-dependency-changes-in-a-pull-request.md b/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-dependency-changes-in-a-pull-request.md
index 0b5390b25d..333149afce 100644
--- a/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-dependency-changes-in-a-pull-request.md
+++ b/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-dependency-changes-in-a-pull-request.md
@@ -5,7 +5,7 @@ product: '{% data reusables.gated-features.dependency-review %}'
versions:
fpt: '*'
ghes: '>= 3.2'
- ghae: issue-4864
+ ghae: '*'
ghec: '*'
type: how_to
topics:
diff --git a/translations/zh-CN/content/pull-requests/committing-changes-to-your-project/viewing-and-comparing-commits/comparing-commits.md b/translations/zh-CN/content/pull-requests/committing-changes-to-your-project/viewing-and-comparing-commits/comparing-commits.md
index 866e317285..d350473889 100644
--- a/translations/zh-CN/content/pull-requests/committing-changes-to-your-project/viewing-and-comparing-commits/comparing-commits.md
+++ b/translations/zh-CN/content/pull-requests/committing-changes-to-your-project/viewing-and-comparing-commits/comparing-commits.md
@@ -31,9 +31,9 @@ versions:
## 比较标记
-比较发行版标记将显示自上次发布以来您对仓库的更改。 {% ifversion fpt or ghae or ghes or ghec %} 更多信息请参阅“[比较发行版](/github/administering-a-repository/comparing-releases)”。{% endif %}
+比较发行版标记将显示自上次发布以来您对仓库的更改。 For more information, see "[Comparing releases](/github/administering-a-repository/comparing-releases)."
-{% ifversion fpt or ghae or ghes or ghec %}要比较标记,可以从页面顶部的 `compare` 下拉菜单选择标记名称。{% else %} 不是键入分支名称,而是键入 `compare` 下拉菜单中的标记名称。{% endif %}
+To compare tags, you can select a tag name from the `compare` drop-down menu at the top of the page.
此处是[在两个标记之间进行比较](https://github.com/octocat/linguist/compare/v2.2.0...octocat:v2.3.3)的示例。
diff --git a/translations/zh-CN/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/about-merge-methods-on-github.md b/translations/zh-CN/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/about-merge-methods-on-github.md
index 49747d1b27..e2a506b530 100644
--- a/translations/zh-CN/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/about-merge-methods-on-github.md
+++ b/translations/zh-CN/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/about-merge-methods-on-github.md
@@ -27,8 +27,7 @@ shortTitle: 关于合并方法
{% data reusables.pull_requests.default_merge_option %}
-{% ifversion fpt or ghae or ghes or ghec %}
-默认合并方法创建合并提交。 通过强制实施线性提交历史记录,可以防止任何人将合并提交推送到受保护分支。 更多信息请参阅“[关于受保护分支](/github/administering-a-repository/about-protected-branches#require-linear-history)”。{% endif %}
+默认合并方法创建合并提交。 通过强制实施线性提交历史记录,可以防止任何人将合并提交推送到受保护分支。 更多信息请参阅“[关于受保护分支](/github/administering-a-repository/about-protected-branches#require-linear-history)”。
## 压缩合并提交
diff --git a/translations/zh-CN/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks.md b/translations/zh-CN/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks.md
index c4aadf7f4e..ff5e501eac 100644
--- a/translations/zh-CN/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks.md
+++ b/translations/zh-CN/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks.md
@@ -37,14 +37,11 @@ remote: error: Required status check "ci-build" is failing
{% endnote %}
-{% ifversion fpt or ghae or ghes or ghec %}
-
## 头部提交与测试合并提交之间的冲突
有时,测试合并提交与头部提交的状态检查结果存在冲突。 如果测试合并提交具有状态,则测试合并提交必须通过。 否则,必须传递头部提交的状态后才可合并该分支。 有关测试合并提交的更多信息,请参阅“[拉取](/rest/reference/pulls#get-a-pull-request)”。

-{% endif %}
## 处理已跳过但需要检查
diff --git a/translations/zh-CN/content/repositories/creating-and-managing-repositories/creating-a-new-repository.md b/translations/zh-CN/content/repositories/creating-and-managing-repositories/creating-a-new-repository.md
index 4c7efb95b7..d4f0485b68 100644
--- a/translations/zh-CN/content/repositories/creating-and-managing-repositories/creating-a-new-repository.md
+++ b/translations/zh-CN/content/repositories/creating-and-managing-repositories/creating-a-new-repository.md
@@ -26,17 +26,15 @@ topics:
{% endtip %}
-{% ifversion fpt or ghae or ghes or ghec %}
{% tip %}
**提示**:您也可以使用 {% data variables.product.prodname_cli %} 创建仓库。 更多信息请参阅 {% data variables.product.prodname_cli %} 文档中的“[`gh 仓库创建`](https://cli.github.com/manual/gh_repo_create)”。
{% endtip %}
-{% endif %}
{% data reusables.repositories.create_new %}
-2. (可选)要创建具有现有仓库的目录结构和文件的仓库,请使用 **Choose a template(选择模板)**下拉菜单并选择一个模板仓库。 您将看到由您和您所属组织拥有的模板仓库,或者您以前使用过的模板仓库。 更多信息请参阅“[从模板创建仓库](/articles/creating-a-repository-from-a-template)”。 {% ifversion fpt or ghae or ghes or ghec %}
-3. (可选)如果您选择使用模板,要包括模板中所有分支的目录结构和文件,而不仅仅是默认分支,请选择 **Include all branches(包括所有分支)**。 {% endif %}
+2. (可选)要创建具有现有仓库的目录结构和文件的仓库,请使用 **Choose a template(选择模板)**下拉菜单并选择一个模板仓库。 您将看到由您和您所属组织拥有的模板仓库,或者您以前使用过的模板仓库。 更多信息请参阅“[从模板创建仓库](/articles/creating-a-repository-from-a-template)”。 
+3. (可选)如果您选择使用模板,要包括模板中所有分支的目录结构和文件,而不仅仅是默认分支,请选择 **Include all branches(包括所有分支)**。 
3. 在“Owner(所有者)”下拉菜单中,选择要在其上创建仓库的帐户。 
{% data reusables.repositories.repo-name %}
{% data reusables.repositories.choose-repo-visibility %}
diff --git a/translations/zh-CN/content/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template.md b/translations/zh-CN/content/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template.md
index 8dab5fd61c..9bf5f45112 100644
--- a/translations/zh-CN/content/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template.md
+++ b/translations/zh-CN/content/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template.md
@@ -19,17 +19,13 @@ shortTitle: 从模板创建
任何对模板仓库具有读取权限的人都可以从该模板创建仓库。 更多信息请参阅“[创建模板仓库](/articles/creating-a-template-repository)”。
-{% ifversion fpt or ghae or ghes or ghec %}
{% tip %}
**提示**:您也可以使用 {% data variables.product.prodname_cli %} 从模板创建仓库。 更多信息请参阅 {% data variables.product.prodname_cli %} 文档中的“[`gh 仓库创建`](https://cli.github.com/manual/gh_repo_create)”。
{% endtip %}
-{% endif %}
-{% ifversion fpt or ghae or ghes or ghec %}
您可以选择仅包括模板仓库的默认分支中的目录结构和文件,或者包括所有分支。 从模板创建的分支具有不相关的历史记录,这意味着您无法创建拉取请求或在分支之间合并。
-{% endif %}
从模板创建仓库类似于创建仓库的复刻,但存在一些重要差异:
- 新的复刻包含父仓库的整个提交历史记录,而从模板创建的仓库从一个提交开始记录。
@@ -44,7 +40,7 @@ shortTitle: 从模板创建
2. 在文件列表上方,单击 **Use this template(使用此模板)**。 
{% data reusables.repositories.owner-drop-down %}
{% data reusables.repositories.repo-name %}
-{% data reusables.repositories.choose-repo-visibility %}{% ifversion fpt or ghae or ghes or ghec %}
-6. (可选)要包括模板中所有分支的目录结构和文件,而不仅仅是默认分支,请选择 **Include all branches(包括所有分支)**。 {% endif %}
+{% data reusables.repositories.choose-repo-visibility %}
+6. (可选)要包括模板中所有分支的目录结构和文件,而不仅仅是默认分支,请选择 **Include all branches(包括所有分支)**。 
{% data reusables.repositories.select-marketplace-apps %}
8. 单击 **Create repository from template(从模板创建仓库)**。
diff --git a/translations/zh-CN/content/repositories/creating-and-managing-repositories/creating-a-template-repository.md b/translations/zh-CN/content/repositories/creating-and-managing-repositories/creating-a-template-repository.md
index 3bc6209a8c..db38251f88 100644
--- a/translations/zh-CN/content/repositories/creating-and-managing-repositories/creating-a-template-repository.md
+++ b/translations/zh-CN/content/repositories/creating-and-managing-repositories/creating-a-template-repository.md
@@ -1,6 +1,6 @@
---
title: 创建模板仓库
-intro: '您可以将现有仓库设置为模板,以便您与其他人能够生成目录结构相同的新仓库{% ifversion fpt or ghae or ghes or ghec %}、分支{% endif %} 和文件。'
+intro: 'You can make an existing repository a template, so you and others can generate new repositories with the same directory structure, branches, and files.'
permissions: Anyone with admin permissions to a repository can make the repository a template.
redirect_from:
- /articles/creating-a-template-repository
@@ -24,7 +24,7 @@ shortTitle: 创建模板仓库
要创建模板仓库,必须先创建一个仓库,然后将该仓库设置为模板。 关于创建仓库的更多信息,请参阅“[创建新仓库](/articles/creating-a-new-repository)”。
-将仓库设置为模板后,有权访问仓库的任何人都可以生成与默认分支具有相同目录结构和文件的新仓库。{% ifversion fpt or ghae or ghes or ghec %} 他们还可以选择包含您的仓库中的所有其他分支。 从模板创建的分支具有不相关的历史记录,因此您无法创建拉取请求或在分支之间合并。{% endif %} 更多信息请参阅“[从模板创建仓库](/articles/creating-a-repository-from-a-template)”。
+After you make your repository a template, anyone with access to the repository can generate a new repository with the same directory structure and files as your default branch. They can also choose to include all the other branches in your repository. Branches created from a template have unrelated histories, so you cannot create pull requests or merge between the branches. 更多信息请参阅“[从模板创建仓库](/articles/creating-a-repository-from-a-template)”。
{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-settings %}
diff --git a/translations/zh-CN/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/about-email-notifications-for-pushes-to-your-repository.md b/translations/zh-CN/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/about-email-notifications-for-pushes-to-your-repository.md
index 6169d3f79f..15e9b1da64 100644
--- a/translations/zh-CN/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/about-email-notifications-for-pushes-to-your-repository.md
+++ b/translations/zh-CN/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/about-email-notifications-for-pushes-to-your-repository.md
@@ -31,7 +31,7 @@ shortTitle: 用于推送的电子邮件通知
- 作为提交一部分所更改的文件
- 提交消息
-您可以过滤因推送到仓库而收到的电子邮件通知。 更多信息请参阅{% ifversion fpt or ghae or ghes or ghec %}“[配置通知](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#filtering-email-notifications){% else %}”[关于通知电子邮件](/github/receiving-notifications-about-activity-on-github/about-email-notifications)”。 您还可以对推送关闭电子邮件通知。 更多信息请参阅“[选择通知的递送方式](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/choosing-the-delivery-method-for-your-notifications){% endif %}”。
+您可以过滤因推送到仓库而收到的电子邮件通知。 更多信息请参阅“[配置通知](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#filtering-email-notifications)”。
## 对推送到仓库启用电子邮件通知
@@ -43,10 +43,5 @@ shortTitle: 用于推送的电子邮件通知
7. 单击 **Setup notifications(设置通知)**。 
## 延伸阅读
-{% ifversion fpt or ghae or ghes or ghec %}
- "[关于通知](/github/managing-subscriptions-and-notifications-on-github/about-notifications)"
-{% else %}
-- "[关于通知](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-notifications)"
-- "[选择通知的递送方式](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/choosing-the-delivery-method-for-your-notifications)"
-- "[关于电子邮件通知](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-email-notifications)"
-- "[关于 web 通知](/enterprise/{{ currentVersion }}/user/github/receiving-notifications-about-activity-on-github/about-web-notifications)"{% endif %}
+
diff --git a/translations/zh-CN/content/repositories/releasing-projects-on-github/about-releases.md b/translations/zh-CN/content/repositories/releasing-projects-on-github/about-releases.md
index ac3cd94e16..ad64ed67b6 100644
--- a/translations/zh-CN/content/repositories/releasing-projects-on-github/about-releases.md
+++ b/translations/zh-CN/content/repositories/releasing-projects-on-github/about-releases.md
@@ -32,7 +32,7 @@ topics:
发行版基于 [Git 标记](https://git-scm.com/book/en/Git-Basics-Tagging),这些标记会标记仓库历史记录中的特定点。 标记日期可能与发行日期不同,因为它们可在不同的时间创建。 有关查看现有标记的更多信息,请参阅“[查看仓库的发行版和标记](/github/administering-a-repository/viewing-your-repositorys-releases-and-tags)”。
-当仓库中发布新发行版时您可以接收通知,但不会接受有关仓库其他更新的通知。 更多信息请参阅{% ifversion fpt or ghae or ghes or ghec %}“[查看您的订阅](/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions){% else %}”[关注和取消关注仓库的发行版](/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-releases-for-a-repository){% endif %}”。
+当仓库中发布新发行版时您可以接收通知,但不会接受有关仓库其他更新的通知。 更多信息请参阅“[查看订阅](/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions)”。
对仓库具有读取访问权限的任何人都可以查看和比较发行版,但只有对仓库具有写入权限的人员才能管理发行版。 更多信息请参阅“[管理仓库中的发行版](/github/administering-a-repository/managing-releases-in-a-repository)”。
diff --git a/translations/zh-CN/content/repositories/releasing-projects-on-github/viewing-your-repositorys-releases-and-tags.md b/translations/zh-CN/content/repositories/releasing-projects-on-github/viewing-your-repositorys-releases-and-tags.md
index 7a6a9173a1..47746566e6 100644
--- a/translations/zh-CN/content/repositories/releasing-projects-on-github/viewing-your-repositorys-releases-and-tags.md
+++ b/translations/zh-CN/content/repositories/releasing-projects-on-github/viewing-your-repositorys-releases-and-tags.md
@@ -17,13 +17,11 @@ topics:
shortTitle: 查看版本和标记
---
-{% ifversion fpt or ghae or ghes or ghec %}
{% tip %}
**提示**:您也可以使用 {% data variables.product.prodname_cli %} 查看发行版。 更多信息请参阅 {% data variables.product.prodname_cli %} 文档中的“[`gh 发行版视图`](https://cli.github.com/manual/gh_release_view)”。
{% endtip %}
-{% endif %}
## 查看发行版
diff --git a/translations/zh-CN/content/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories.md b/translations/zh-CN/content/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories.md
index 86db4cefb8..a1450f8cb1 100644
--- a/translations/zh-CN/content/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories.md
+++ b/translations/zh-CN/content/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories.md
@@ -64,7 +64,7 @@ shortTitle: 存储库之间的连接
{% data reusables.repositories.accessing-repository-graphs %}
3. 在左侧边栏中,单击 **Forks(复刻)**。 
-{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes or ghae or ghec %}
## 查看仓库的依赖项
您可以使用依赖关系图来浏览仓库所依赖的代码。
diff --git a/translations/zh-CN/content/rest/guides/getting-started-with-the-checks-api.md b/translations/zh-CN/content/rest/guides/getting-started-with-the-checks-api.md
index 11f50ee872..3ae85111e2 100644
--- a/translations/zh-CN/content/rest/guides/getting-started-with-the-checks-api.md
+++ b/translations/zh-CN/content/rest/guides/getting-started-with-the-checks-api.md
@@ -41,9 +41,7 @@ A check run is an individual test that is part of a check suite. Each run includ

-{% ifversion fpt or ghes or ghae or ghec %}
If a check run is in a incomplete state for more than 14 days, then the check run's `conclusion` becomes `stale` and appears on {% data variables.product.prodname_dotcom %} as stale with {% octicon "issue-reopened" aria-label="The issue-reopened icon" %}. Only {% data variables.product.prodname_dotcom %} can mark check runs as `stale`. For more information about possible conclusions of a check run, see the [`conclusion` parameter](/rest/reference/checks#create-a-check-run--parameters).
-{% endif %}
As soon as you receive the [`check_suite`](/webhooks/event-payloads/#check_suite) webhook, you can create the check run, even if the check is not complete. You can update the `status` of the check run as it completes with the values `queued`, `in_progress`, or `completed`, and you can update the `output` as more details become available. A check run can contain timestamps, a link to more details on your external site, detailed annotations for specific lines of code, and information about the analysis performed.
diff --git a/translations/zh-CN/content/rest/guides/getting-started-with-the-rest-api.md b/translations/zh-CN/content/rest/guides/getting-started-with-the-rest-api.md
index 4791afc212..726026840e 100644
--- a/translations/zh-CN/content/rest/guides/getting-started-with-the-rest-api.md
+++ b/translations/zh-CN/content/rest/guides/getting-started-with-the-rest-api.md
@@ -148,7 +148,7 @@ When authenticating, you should see your rate limit bumped to 5,000 requests an
You can easily [create a **personal access token**][personal token] using your [Personal access tokens settings page][tokens settings]:
-{% ifversion fpt or ghes > 3.1 or ghae-issue-4374 or ghec %}
+{% ifversion fpt or ghes > 3.1 or ghae or ghec %}
{% warning %}
To help keep your information secure, we highly recommend setting an expiration for your personal access tokens.
@@ -164,7 +164,7 @@ To help keep your information secure, we highly recommend setting an expiration

{% endif %}
-{% ifversion fpt or ghes > 3.1 or ghae-issue-4374 or ghec %}
+{% ifversion fpt or ghes > 3.1 or ghae or ghec %}
API requests using an expiring personal access token will return that token's expiration date via the `GitHub-Authentication-Token-Expiration` header. You can use the header in your scripts to provide a warning message when the token is close to its expiration date.
{% endif %}
diff --git a/translations/zh-CN/content/rest/overview/resources-in-the-rest-api.md b/translations/zh-CN/content/rest/overview/resources-in-the-rest-api.md
index 1f7b2c54ac..7a2f660515 100644
--- a/translations/zh-CN/content/rest/overview/resources-in-the-rest-api.md
+++ b/translations/zh-CN/content/rest/overview/resources-in-the-rest-api.md
@@ -133,7 +133,7 @@ You will be unable to authenticate using your OAuth2 key and secret while in pri
{% ifversion fpt or ghec %}
-Read [more about unauthenticated rate limiting](#increasing-the-unauthenticated-rate-limit-for-oauth-applications).
+Read [more about unauthenticated rate limiting](#increasing-the-unauthenticated-rate-limit-for-oauth-apps).
{% endif %}
diff --git a/translations/zh-CN/content/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax.md b/translations/zh-CN/content/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax.md
index 3a3cf532c9..a235d91b87 100644
--- a/translations/zh-CN/content/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax.md
+++ b/translations/zh-CN/content/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax.md
@@ -87,7 +87,6 @@ shortTitle: 了解搜索语法
某些非字母数字符号(例如空格)会从引号内的代码搜索查询中删除,因此结果可能出乎意料。
-{% ifversion fpt or ghes or ghae or ghec %}
## 使用用户名的查询
如果搜索查询包含需要用户名的限定符,例如 `user`、`actor` 或 `assignee`,您可以使用任何 {% data variables.product.product_name %} 用户名指定特定人员,或使用 `@me` 指定当前用户。
@@ -98,4 +97,3 @@ shortTitle: 了解搜索语法
| `QUALIFIER:@me` | [`is:issue assignee:@me`](https://github.com/search?q=is%3Aissue+assignee%3A%40me&type=Issues) 匹配已分配给结果查看者的议题 |
`@me` 只能与限定符一起使用,而不能用作搜索词,例如 `@me main.workflow`。
-{% endif %}
diff --git a/translations/zh-CN/content/search-github/searching-on-github/searching-issues-and-pull-requests.md b/translations/zh-CN/content/search-github/searching-on-github/searching-issues-and-pull-requests.md
index dd13a0634d..cf769323a9 100644
--- a/translations/zh-CN/content/search-github/searching-on-github/searching-issues-and-pull-requests.md
+++ b/translations/zh-CN/content/search-github/searching-on-github/searching-issues-and-pull-requests.md
@@ -55,15 +55,12 @@ shortTitle: 搜索议题和 PR
{% data reusables.pull_requests.large-search-workaround %}
-
| 限定符 | 示例 |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| user:USERNAME | [**user:defunkt ubuntu**](https://github.com/search?q=user%3Adefunkt+ubuntu&type=Issues) 匹配含有 "ubuntu" 字样、来自 @defunkt 拥有的仓库的议题。 |
| org:ORGNAME | [**org:github**](https://github.com/search?q=org%3Agithub&type=Issues&utf8=%E2%9C%93) 匹配 GitHub 组织拥有的仓库中的议题。 |
| repo:USERNAME/REPOSITORY | [**repo:mozilla/shumway created:<2012-03-01**](https://github.com/search?q=repo%3Amozilla%2Fshumway+created%3A%3C2012-03-01&type=Issues) 匹配来自 @mozilla 的 shumway 项目、在 2012 年 3 月之前创建的议题。 |
-
-
## 按开放或关闭状态搜索
您可以使用 `state` 或 `is` 限定符基于议题和拉取请求处于打开还是关闭状态进行过滤。
@@ -133,17 +130,15 @@ shortTitle: 搜索议题和 PR
| involves:USERNAME | **[involves:defunkt involves:jlord](https://github.com/search?q=involves%3Adefunkt+involves%3Ajlord&type=Issues)** 匹配涉及 @defunkt 或 @jlord 的议题。 |
| | [**NOT bootstrap in:body involves:mdo**](https://github.com/search?q=NOT+bootstrap+in%3Abody+involves%3Amdo&type=Issues) 匹配涉及 @mdo 且正文中未包含 "bootstrap" 字样的议题。 |
-{% ifversion fpt or ghes or ghae or ghec %}
## 搜索链接的议题和拉取请求
您可以将结果缩小到仅包括通过关闭引用链接到拉取请求的议题,或者链接到拉取请求可能关闭的议题的拉取请求。
-| 限定符 | 示例 |
-| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `linked:pr` | [**repo:desktop/desktop is:open linked:pr**](https://github.com/search?q=repo%3Adesktop%2Fdesktop+is%3Aopen+linked%3Apr) 匹配 `desktop/desktop` 仓库中通过关闭引用链接到拉取请求的开放议题。 |
-| `linked:issue` | [**repo:desktop/desktop is:closed linked:issue**](https://github.com/search?q=repo%3Adesktop%2Fdesktop+is%3Aclosed+linked%3Aissue) 匹配 `desktop/desktop` 仓库中链接到拉取请求可能已关闭的议题的已关闭拉取请求。 |
-| `-linked:pr` | [**repo:desktop/desktop is:open -linked:pr**](https://github.com/search?q=repo%3Adesktop%2Fdesktop+is%3Aopen+-linked%3Apr) 匹配 `desktop/desktop` 仓库中未通过关闭引用链接到拉取请求的开放议题。 |
-| `-linked:issue` | [**repo:desktop/desktop is:open -linked:issue**](https://github.com/search?q=repo%3Adesktop%2Fdesktop+is%3Aopen+-linked%3Aissue) 匹配 `desktop/desktop` 仓库中未链接至拉取请求可能关闭的议题的开放拉取请求。
-{% endif %}
+| 限定符 | 示例 |
+| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `linked:pr` | [**repo:desktop/desktop is:open linked:pr**](https://github.com/search?q=repo%3Adesktop%2Fdesktop+is%3Aopen+linked%3Apr) 匹配 `desktop/desktop` 仓库中通过关闭引用链接到拉取请求的开放议题。 |
+| `linked:issue` | [**repo:desktop/desktop is:closed linked:issue**](https://github.com/search?q=repo%3Adesktop%2Fdesktop+is%3Aclosed+linked%3Aissue) 匹配 `desktop/desktop` 仓库中链接到拉取请求可能已关闭的议题的已关闭拉取请求。 |
+| `-linked:pr` | [**repo:desktop/desktop is:open -linked:pr**](https://github.com/search?q=repo%3Adesktop%2Fdesktop+is%3Aopen+-linked%3Apr) 匹配 `desktop/desktop` 仓库中未通过关闭引用链接到拉取请求的开放议题。 |
+| `-linked:issue` | [**repo:desktop/desktop is:open -linked:issue**](https://github.com/search?q=repo%3Adesktop%2Fdesktop+is%3Aopen+-linked%3Aissue) 匹配 `desktop/desktop` 仓库中未链接至拉取请求可能关闭的议题的开放拉取请求。 |
## 按标签搜索
@@ -212,7 +207,7 @@ shortTitle: 搜索议题和 PR
## 按评论数量搜索
-您可以使用 `comments` 限定符以及[大于、小于和范围限定符](/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)以按评论数量搜索。
+You can use the `comments` qualifier along with [greater than, less than, and range qualifiers](/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax) to search by the number of comments.
| 限定符 | 示例 |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
@@ -221,7 +216,7 @@ shortTitle: 搜索议题和 PR
## 按交互数量搜索
-您可以使用 `interactions` 限定符以及[大于、小于和范围限定符](/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)按交互数量过滤议题和拉取请求。 交互数量是对议题或拉取请求的反应和评论数量。
+You can filter issues and pull requests by the number of interactions with the `interactions` qualifier along with [greater than, less than, and range qualifiers](/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax). 交互数量是对议题或拉取请求的反应和评论数量。
| 限定符 | 示例 |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------- |
@@ -230,7 +225,7 @@ shortTitle: 搜索议题和 PR
## 按反应数量搜索
-您可以使用 `reactions` 限定符以及 [大于、小于和范围限定符](/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)按反应数量过滤议题和拉取请求。
+You can filter issues and pull requests by the number of reactions using the `reactions` qualifier along with [greater than, less than, and range qualifiers](/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax).
| 限定符 | 示例 |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------ |
@@ -238,24 +233,27 @@ shortTitle: 搜索议题和 PR
| | [**reactions:500..1000**](https://github.com/search?q=reactions%3A500..1000) 匹配 500 至 1000 个反应的议题。 |
## 搜索草稿拉取请求
-您可以过滤草稿拉取请求。 更多信息请参阅“[关于拉取请求](/articles/about-pull-requests#draft-pull-requests)”。
+您可以过滤草稿拉取请求。 For more information, see "[About pull requests](/articles/about-pull-requests#draft-pull-requests)."
-| 限定符 | 示例 | ------------- | -------------{% ifversion fpt or ghes or ghae or ghec %} | `draft:true` | [**draft:true**](https://github.com/search?q=draft%3Atrue) 匹配拉取请求草稿。 | `draft:false` | [**draft:false**](https://github.com/search?q=draft%3Afalse) 匹配可供审查的拉取请求。{% else %} | `is:draft` | [**is:draft**](https://github.com/search?q=is%3Adraft) 匹配拉取请求草稿。{% endif %}
+| 限定符 | 示例 |
+| ------------- | ------------------------------------------------------------------------------------------------------------- |
+| `draft:true` | [**draft:true**](https://github.com/search?q=draft%3Atrue) matches draft pull requests. |
+| `draft:false` | [**draft:false**](https://github.com/search?q=draft%3Afalse) matches pull requests that are ready for review. |
## 按拉取请求审查状态和审查者搜索
-您可以基于拉取请求的[审查状态](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)(_无_、_必需_、_批准_或_请求更改_)、按审查者和请求的审查者过滤拉取请求。
+You can filter pull requests based on their [review status](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews) (_none_, _required_, _approved_, or _changes requested_), by reviewer, and by requested reviewer.
-| 限定符 | 示例 |
-| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `review:none` | [**type:pr review:none**](https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review%3Anone&type=Issues) 匹配尚未审查的拉取请求。 |
-| `review:required` | [**type:pr review:required**](https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review%3Arequired&type=Issues) 匹配需要审查然后才能合并的拉取请求。 |
-| `review:approved` | [**type:pr review:approved**](https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review%3Aapproved&type=Issues) 匹配审查者已批准的拉取请求。 |
-| `review:changes_requested` | [**type:pr review:changes_requested**](https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review%3Achanges_requested&type=Issues) 匹配审查者已请求更改的拉取请求。 |
-| reviewed-by:USERNAME | [**type:pr reviewed-by:gjtorikian**](https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+reviewed-by%3Agjtorikian&type=Issues) 匹配特定人员审查的拉取请求。 |
-| review-requested:USERNAME | [**type:pr review-requested:benbalter**](https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review-requested%3Abenbalter&type=Issues) 匹配特定人员申请审查的拉取请求。 申请的审查者在其审查拉取请求后不再在搜索结果中列出。 如果请求的人员属于请求审核的团队,则该团队的审核请求也会显示在搜索结果中。{% ifversion fpt or ghae-issue-5181 or ghes > 3.2 or ghec %}
+| 限定符 | 示例 |
+| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `review:none` | [**type:pr review:none**](https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review%3Anone&type=Issues) matches pull requests that have not been reviewed. |
+| `review:required` | [**type:pr review:required**](https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review%3Arequired&type=Issues) matches pull requests that require a review before they can be merged. |
+| `review:approved` | [**type:pr review:approved**](https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review%3Aapproved&type=Issues) matches pull requests that a reviewer has approved. |
+| `review:changes_requested` | [**type:pr review:changes_requested**](https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review%3Achanges_requested&type=Issues) matches pull requests in which a reviewer has asked for changes. |
+| reviewed-by:USERNAME | [**type:pr reviewed-by:gjtorikian**](https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+reviewed-by%3Agjtorikian&type=Issues) matches pull requests reviewed by a particular person. |
+| review-requested:USERNAME | [**type:pr review-requested:benbalter**](https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review-requested%3Abenbalter&type=Issues) matches pull requests where a specific person is requested for review. 申请的审查者在其审查拉取请求后不再在搜索结果中列出。 如果请求的人员属于请求审核的团队,则该团队的审核请求也会显示在搜索结果中。{% ifversion fpt or ghae-issue-5181 or ghes > 3.2 or ghec %}
| user-review-requested:@me | [**type:pr user-review-requested:@me**](https://github.com/search?q=is%3Apr+user-review-requested%3A%40me+) 匹配直接要求您审核的拉取请求。{% endif %}
-| team-review-requested:TEAMNAME | [**type:pr team-review-requested:atom/design**](https://github.com/search?q=type%3Apr+team-review-requested%3Aatom%2Fdesign&type=Issues) 匹配已审查团队 `atom/design` 请求的拉取请求。 申请的审查者在其审查拉取请求后不再在搜索结果中列出。 |
+| team-review-requested:TEAMNAME | [**type:pr team-review-requested:atom/design**](https://github.com/search?q=type%3Apr+team-review-requested%3Aatom%2Fdesign&type=Issues) matches pull requests that have review requests from the team `atom/design`. 申请的审查者在其审查拉取请求后不再在搜索结果中列出。 |
## 按议题或拉取请求创建或上次更新的时间搜索
diff --git a/translations/zh-CN/data/features/security-managers.yml b/translations/zh-CN/data/features/security-managers.yml
index 6e62d12897..77f12eb126 100644
--- a/translations/zh-CN/data/features/security-managers.yml
+++ b/translations/zh-CN/data/features/security-managers.yml
@@ -4,5 +4,5 @@
versions:
fpt: '*'
ghes: '>=3.3'
- ghae: 'issue-4999'
+ ghae: '*'
ghec: '*'
diff --git a/translations/zh-CN/data/features/security-overview-feature-specific-alert-page.yml b/translations/zh-CN/data/features/security-overview-feature-specific-alert-page.yml
new file mode 100644
index 0000000000..1aebf50245
--- /dev/null
+++ b/translations/zh-CN/data/features/security-overview-feature-specific-alert-page.yml
@@ -0,0 +1,8 @@
+---
+#Reference: #7028.
+#Documentation for feature-specific page for security overview at enterprise-level.
+versions:
+ fpt: '*'
+ ghec: '*'
+ ghes: '>3.5'
+ ghae: 'issue-7028'
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-0/20.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-0/20.yml
index 24a0bac6d1..93ce32a049 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-0/20.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-0/20.yml
@@ -4,13 +4,13 @@ sections:
security_fixes:
- 包已更新到最新的安全版本。
bugs:
- - Pre-receive hooks would fail due to undefined `PATH`.
- - 'Running `ghe-repl-setup` would return an error: `cannot create directory /data/user/elasticsearch: File exists` if the instance had previously been configured as a replica.'
- - In large cluster environments, the authentication backend could be unavailable on a subset of frontend nodes.
- - Some critical services may not have been available on backend nodes in GHES Cluster.
+ - 预接收挂钩会由于未定义的 `PATH` 而失败。
+ - '如果实例之前已配置为副本运行 `ghe-repl-setup` 将返回错误:“cannot create directory /data/user/elasticsearch: File exists(无法创建目录/data/user/elasticsearch:文件存在)”。'
+ - 在大型群集环境中,身份验证后端在前端节点子集上可能不可用。
+ - 某些关键服务可能在 GHES 群集中的后端节点上不可用。
changes:
- - An additional outer layer of `gzip` compression when creating a cluster support bundle with `ghe-cluster-suport-bundle` is now turned off by default. This outer compression can optionally be applied with the `ghe-cluster-suport-bundle -c` command line option.
- - We have added extra text to the admin console to remind users about the mobile apps' data collection for experience improvement purposes.
+ - 现在,默认情况下,在创建具有 `ghe-cluster-suport-bundle` 的集群支持包时,`gzip` 压缩的附加外层处于关闭状态。这种外部压缩可以选择使用 `ghe-cluster-suport-bundle -c` 命令行选项来应用。
+ - 我们在管理控制台中添加了额外的文本,以提醒用户移动应用程序收集数据来改善体验。
- The {% data variables.product.prodname_github_connect %} data connection record now includes a list of enabled {% data variables.product.prodname_github_connect %} features. [Updated 2021-12-09]
known_issues:
- 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 上,攻击者可以创建第一个管理员用户。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-0/25.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-0/25.yml
index c563f88795..5744c6ed3f 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-0/25.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-0/25.yml
@@ -4,7 +4,7 @@ sections:
security_fixes:
- 包已更新到最新的安全版本。
known_issues:
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-2/10.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-2/10.yml
index d56cb0b1cb..b3fb1c5f24 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-2/10.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-2/10.yml
@@ -7,7 +7,7 @@ sections:
- Upgrades could sometimes fail if a high-availability replica's clock was out of sync with the primary.
- 'OAuth Applications created after September 1st, 2020 were not able to use the [Check an Authorization](https://docs.github.com/en/enterprise-server@3.2/rest/reference/apps#check-an-authorization) API endpoint.'
known_issues:
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-2/11.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-2/11.yml
index 3d01f6405c..bb92336a91 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-2/11.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-2/11.yml
@@ -35,7 +35,7 @@ sections:
- The “Triage” and “Maintain” team roles are preserved during repository migrations.
- Performance has been improved for web requests made by enterprise owners.
known_issues:
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-2/12.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-2/12.yml
index 30a305d231..227905027b 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-2/12.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-2/12.yml
@@ -15,7 +15,7 @@ sections:
- The {% data variables.product.prodname_codeql %} starter workflow no longer errors even if the default token permissions for {% data variables.product.prodname_actions %} are not used.
- If {% data variables.product.prodname_GH_advanced_security %} features are enabled on your instance, the performance of background jobs has improved when processing batches for repository contributions.
known_issues:
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-2/4.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-2/4.yml
index a0fb2d5239..ff07cef22b 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-2/4.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-2/4.yml
@@ -5,20 +5,20 @@ sections:
security_fixes:
- 包已更新到最新的安全版本。
bugs:
- - Running `ghe-repl-start` or `ghe-repl-status` would sometimes return errors connecting to the database when GitHub Actions was enabled.
- - Pre-receive hooks would fail due to undefined `PATH`.
- - 'Running `ghe-repl-setup` would return an error: `cannot create directory /data/user/elasticsearch: File exists` if the instance had previously been configured as a replica.'
- - 'Running `ghe-support-bundle` returned an error: `integer expression expected`.'
- - 'After setting up a high availability replica, `ghe-repl-status` included an error in the output: `unexpected unclosed action in command`.'
- - In large cluster environments, the authentication backend could be unavailable on a subset of frontend nodes.
- - Some critical services may not have been available on backend nodes in GHES Cluster.
- - The repository permissions to the user returned by the `/repos` API would not return the full list.
- - The `childTeams` connection on the `Team` object in the GraphQL schema produced incorrect results under some circumstances.
- - In a high availability configuration, repository maintenance always showed up as failed in stafftools, even when it succeeded.
- - User defined patterns would not detect secrets in files like `package.json` or `yarn.lock`.
+ - 在启用 GitHub Actions 时,运行 `ghe-repl-start` 或 `ghe-repl-status` 有时会返回连接到数据库的错误。
+ - 预接收挂钩会由于未定义的 `PATH` 而失败。
+ - '如果实例之前已配置为副本运行 `ghe-repl-setup` 将返回错误:“cannot create directory /data/user/elasticsearch: File exists(无法创建目录/data/user/elasticsearch:文件存在)”。'
+ - '运行 `ghe-support-bundle` 返回错误:“integer expression expected(预期为整数表达式)”。'
+ - '设置高可用性副本后,`ghe-repl-status` 在输出中包含错误:“unexpected unclosed action in command(命令中意外的未关闭操作)”。'
+ - 在大型群集环境中,身份验证后端在前端节点子集上可能不可用。
+ - 某些关键服务可能在 GHES 群集中的后端节点上不可用。
+ - '`/repos` API 返回的用户的存储库权限不会返回完整列表。'
+ - 在某些情况下,GraphQL 模式中 `Team` 对象上的 `childTeams` 连接产生不正确的结果。
+ - 在高可用性配置中,存储库维护在 stafftools 中始终显示为失败,即使它成功了也是如此。
+ - 用户定义的模式不会检测 `package.json` 或 `yarn.lock`等文件中的机密。
changes:
- - An additional outer layer of `gzip` compression when creating a cluster support bundle with `ghe-cluster-suport-bundle` is now turned off by default. This outer compression can optionally be applied with the `ghe-cluster-suport-bundle -c` command line option.
- - We have added extra text to the admin console to remind users about the mobile apps' data collection for experience improvement purposes.
+ - 现在,默认情况下,在创建具有 `ghe-cluster-suport-bundle` 的集群支持包时,`gzip` 压缩的附加外层处于关闭状态。这种外部压缩可以选择使用 `ghe-cluster-suport-bundle -c` 命令行选项来应用。
+ - 我们在管理控制台中添加了额外的文本,以提醒用户移动应用程序收集数据来改善体验。
- The {% data variables.product.prodname_github_connect %} data connection record now includes a list of enabled {% data variables.product.prodname_github_connect %} features. [Updated 2021-12-09]
known_issues:
- 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 上,攻击者可以创建第一个管理员用户。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-2/9.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-2/9.yml
index 0db4e78e56..e75e728993 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-2/9.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-2/9.yml
@@ -11,7 +11,7 @@ sections:
changes:
- Secret scanning will skip scanning ZIP and other archive files for secrets.
known_issues:
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-3/0-rc1.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-3/0-rc1.yml
index 918ac89bba..eaa5046942 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-3/0-rc1.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-3/0-rc1.yml
@@ -1,82 +1,106 @@
----
date: '2021-11-09'
release_candidate: true
deprecated: true
intro: |
{% note %}
- **注意:** 如果 {% data variables.product.product_location %} 正在运行候选发行版,则无法使用热补丁进行升级。我们建议仅在测试环境中运行候选版本。
+ **Note:** If {% data variables.product.product_location %} is running a release candidate build, you can't upgrade with a hotpatch. We recommend only running release candidates on test environments.
{% endnote %}
- 有关升级说明,请参阅“[升级 {% data variables.product.prodname_ghe_server %}](/admin/enterprise-management/updating-the-virtual-machine-and-physical-resources/upgrading-github-enterprise-server)”。
+ For upgrade instructions, see "[Upgrading {% data variables.product.prodname_ghe_server %}](/admin/enterprise-management/updating-the-virtual-machine-and-physical-resources/upgrading-github-enterprise-server)."
sections:
features:
- -
- heading: 安全管理员角色
+ - heading: Security Manager role
notes:
+ # https://github.com/github/releases/issues/1610
- |
- 组织所有者现在可以授予团队管理其存储库上的安全警报和设置的权限。“安全管理员”角色可以应用于任何团队,并向团队成员授予以下访问权限:
+ Organization owners can now grant teams the access to manage security alerts and settings on their repositories. The "security manager" role can be applied to any team and grants the team's members the following access:
- - 对组织中所有存储库的读取访问权限。
- - 对组织中所有安全警报的写入访问权限。
- - 对组织级别安全选项卡的访问权限。
- - 对组织级别安全设置的写入访问权限。
- - 对存储库级别安全设置的写入访问权限。
+ - Read access on all repositories in the organization.
+ - Write access on all security alerts in the organization.
+ - Access to the organization-level security tab.
+ - Write access on security settings at the organization level.
+ - Write access on security settings at the repository level.
- 更多信息请参阅“[管理组织中的安全管理员](/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)”。
- -
- heading: '用于 GitHub Actions 的临时自托管运行器和用于自动缩放的新 web 挂钩'
+ For more information, see "[Managing security managers in your organization](/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+
+ - heading: 'Ephemeral self-hosted runners for GitHub Actions & new webhooks for auto-scaling'
notes:
+ # https://github.com/github/releases/issues/1378
- |
- {% data variables.product.prodname_actions %} 现在支持临时(单个作业)自托管运行器和新的 ['workflow_job'](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job) web 挂钩,使自动缩放运行器更容易。
+ {% data variables.product.prodname_actions %} now supports ephemeral (single job) self-hosted runners and a new [`workflow_job`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job) webhook to make autoscaling runners easier.
- 临时运行器适用于需要每个作业在干净映像上运行的自我管理环境。运行作业后,临时运行器会自动从 {% data variables.product.product_location %} 中取消注册,从而允许您执行任何作业后管理。
+ Ephemeral runners are good for self-managed environments where each job is required to run on a clean image. After a job is run, ephemeral runners are automatically unregistered from {% data variables.product.product_location %}, allowing you to perform any post-job management.
- 您可以将临时运行器与新的 `workflow_job` web 挂钩组合在一起,以自动缩放自托管运行器来响应 {% data variables.product.prodname_actions %} 作业请求。
+ You can combine ephemeral runners with the new `workflow_job` webhook to automatically scale self-hosted runners in response to {% data variables.product.prodname_actions %} job requests.
- 更多信息请参阅“[使用自托管运行器自动缩放](/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners)”和“[web 挂钩事件和有效负载](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job)”。
- -
- heading: '深色高对比度主题'
+ For more information, see "[Autoscaling with self-hosted runners](/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners)" and "[Webhook events and payloads](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job)."
+
+ - heading: 'Dark high contrast theme'
notes:
+ # https://github.com/github/releases/issues/1539
- |
- 深色高对比度主题的前景和背景元素之间对比度更高,现在 {% data variables.product.prodname_ghe_server %} 3.3 上可用。此版本还包括对所有 {% data variables.product.company_short %} 主题的颜色系统的改进。
+ A dark high contrast theme, with greater contrast between foreground and background elements, is now available on {% data variables.product.prodname_ghe_server %} 3.3. This release also includes improvements to the color system across all {% data variables.product.company_short %} themes.
- 
+ 
+
+ For more information about changing your theme, see "[Managing your theme settings](/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-your-theme-settings)."
- 有关更改主题的更多信息,请参阅“[管理主题设置](/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-your-theme-settings)”。
changes:
- -
- heading: 管理更改
+ - heading: Administration Changes
notes:
- - '{% data variables.product.prodname_ghe_server %} 3.3 包括对存储库维护的改进,特别是对于包含许多无法访问的对象的存储库。请注意,升级到 {% data variables.product.prodname_ghe_server %} 3.3 后的第一个维护周期可能需要比平时更长的时间才能完成。'
- - '{% data variables.product.prodname_ghe_server %} 3.3 包括用于地理位置分散团队和 CI 基础结构的存储库缓存的公共测试版。存储库缓存将存储库的只读副本保存在其他地理位置,从而防止客户端从主实例下载重复的 Git 内容。更多信息请参阅“[关于存储库缓存](/admin/enterprise-management/caching-repositories/about-repository-caching)”。'
+ # https://github.com/github/releases/issues/1666
+ - '{% data variables.product.prodname_ghe_server %} 3.3 includes improvements to the maintenance of repositories, especially for repositories that contain many unreachable objects. Note that the first maintenance cycle after upgrading to {% data variables.product.prodname_ghe_server %} 3.3 may take longer than usual to complete.'
+
+ # https://github.com/github/releases/issues/1533
+ - '{% data variables.product.prodname_ghe_server %} 3.3 includes the public beta of a repository cache for geographically-distributed teams and CI infrastructure. The repository cache keeps a read-only copy of your repositories available in additional geographies, which prevents clients from downloading duplicate Git content from your primary instance. For more information, see "[About repository caching](/admin/enterprise-management/caching-repositories/about-repository-caching)."'
+
+ # https://github.com/github/releases/issues/1616
- '{% data variables.product.prodname_ghe_server %} 3.3 includes improvements to the user impersonation process. An impersonation session now requires a justification for the impersonation, actions are recorded in the audit log as being performed as an impersonated user, and the user who is impersonated will receive an email notification that they have been impersonated by an enterprise administrator. For more information, see "[Impersonating a user](/enterprise-server@3.3/admin/user-management/managing-users-in-your-enterprise/impersonating-a-user)."'
+
+ # https://github.com/github/releases/issues/1609
- A new stream processing service has been added to facilitate the growing set of events that are published to the audit log, including events associated with Git and {% data variables.product.prodname_actions %} activity.
- -
- heading: 令牌更改
+
+ - heading: Token Changes
notes:
+ # https://github.com/github/releases/issues/1390
- |
An expiration date can now be set for new and existing personal access tokens. Setting an expiration date on personal access tokens is highly recommended to prevent older tokens from leaking and compromising security. Token owners will receive an email when it's time to renew a token that's about to expire. Tokens that have expired can be regenerated, giving users a duplicate token with the same properties as the original.
When using a personal access token with the {% data variables.product.company_short %} API, a new `GitHub-Authentication-Token-Expiration` header is included in the response, which indicates the token's expiration date. For more information, see "[Creating a personal access token](/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token)."
- -
- heading: 'Notifications changes'
+
+ - heading: 'Notifications changes'
notes:
+ # https://github.com/github/releases/issues/1625
- 'Notification emails from discussions now include `(Discussion #xx)` in the subject, so you can recognize and filter emails that reference discussions.'
- -
- heading: '存储库更改'
+
+ - heading: 'Repositories changes'
notes:
+ # https://github.com/github/releases/issues/1735
- Public repositories now have a `Public` label next to their names like private and internal repositories. This change makes it easier to identify public repositories and avoid accidentally committing private code.
+
+ # https://github.com/github/releases/issues/1733
- If you specify the exact name of a branch when using the branch selector menu, the result now appears at the top of the list of matching branches. Previously, exact branch name matches could appear at the bottom of the list.
+
+ # https://github.com/github/releases/issues/1673
- When viewing a branch that has a corresponding open pull request, {% data variables.product.prodname_ghe_server %} now links directly to the pull request. Previously, there would be a prompt to contribute using branch comparison or to open a new pull request.
+
+ # https://github.com/github/releases/issues/1670
- You can now click a button to copy the full raw contents of a file to the clipboard. Previously, you would need to open the raw file, select all, and then copy. To copy the contents of a file, navigate to the file and click {% octicon "copy" aria-label="The copy icon" %} in the toolbar. Note that this feature is currently only available in some browsers.
+
+ # https://github.com/github/releases/issues/1571
- When creating a new release, you can now select or create the tag using a dropdown selector, rather than specifying the tag in a text field. For more information, see "[Managing releases in a repository](/repositories/releasing-projects-on-github/managing-releases-in-a-repository)."
+
+ # https://github.com/github/releases/issues/1752
- A warning is now displayed when viewing a file that contains bidirectional Unicode text. Bidirectional Unicode text can be interpreted or compiled differently than it appears in a user interface. For example, hidden bidirectional Unicode characters can be used to swap segments of text in a file. For more information about replacing these characters, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-10-31-warning-about-bidirectional-unicode-text/).
+
+ # https://github.com/github/releases/issues/1416
- You can now use `CITATION.cff` files to let others know how you would like them to cite your work. `CITATION.cff` files are plain text files with human- and machine-readable citation information. {% data variables.product.prodname_ghe_server %} parses this information into common citation formats such as [APA](https://apastyle.apa.org) and [BibTeX](https://en.wikipedia.org/wiki/BibTeX). For more information, see "[About CITATION files](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files)."
- -
- heading: 'Markdown 更改'
+
+ - heading: 'Markdown changes'
notes:
+ # https://github.com/github/releases/issues/1645
- |
You can use new keyboard shortcuts for quotes and lists in Markdown files, issues, pull requests, and comments.
@@ -85,15 +109,28 @@ sections:
* To add an unordered list, use cmd shift 8 on Mac, or ctrl shift 8 on Windows and Linux.
See "[Keyboard shortcuts](/get-started/using-github/keyboard-shortcuts)" for a full list of available shortcuts.
- - 'You can now use footnote syntax in any Markdown field. Footnotes are displayed as superscript links that you can click to jump to the referenced information, which is displayed in a new section at the bottom of the document. For more information about the syntax, see "[Basic writing and formatting syntax](/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#footnotes)."'
+
+ # https://github.com/github/releases/issues/1684
+ - You can now use footnote syntax in any Markdown field. Footnotes are displayed as superscript links that you can click to jump to the referenced information, which is displayed in a new section at the bottom of the document. For more information about the syntax, see "[Basic writing and formatting syntax](/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#footnotes)."
+
+ # https://github.com/github/releases/issues/1647
- When viewing Markdown files, you can now click {% octicon "code" aria-label="The code icon" %} in the toolbar to view the source of a Markdown file. Previously, you needed to use the blame view to link to specific line numbers in the source of a Markdown file.
+
+ # https://github.com/github/releases/issues/1600
- You can now add images and videos to Markdown files in gists by pasting them into the Markdown body or selecting them from the dialog at the bottom of the Markdown file. For information about supported file types, see "[Attaching files](https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/attaching-files)."
+
+ # https://github.com/github/releases/issues/1523
- '{% data variables.product.prodname_ghe_server %} now automatically generates a table of contents for Wikis, based on headings.'
+
+ # https://github.com/github/releases/issues/1626
- When dragging and dropping files into a Markdown editor, such as images and videos, {% data variables.product.prodname_ghe_server %} now uses the mouse pointer location instead of the cursor location when placing the file.
- -
- heading: '议题和拉取请求更改'
+
+ - heading: 'Issues and pull requests changes'
notes:
- - 'You can now search issues by label using a logical OR operator. To filter issues using logical OR, use the comma syntax. For example, `label:"good first issue","bug"` will list all issues with a label of `good first issue` or `bug`. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests#about-search-terms)."'
+ # https://github.com/github/releases/issues/1504
+ - You can now search issues by label using a logical OR operator. To filter issues using logical OR, use the comma syntax. For example, `label:"good first issue","bug"` will list all issues with a label of `good first issue` or `bug`. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests#about-search-terms)."
+
+ # https://github.com/github/releases/issues/1685
- |
Improvements have been made to help teams manage code review assignments. You can now:
@@ -105,12 +142,18 @@ sections:
For more information, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-09-29-new-code-review-assignment-settings-and-team-filtering-improvements/).
- You can now filter pull request searches to only include pull requests you are directly requested to review.
+ # https://github.com/github/releases/issues/1683
- Filtered files in pull requests are now completely hidden from view, and are no longer shown as collapsed in the "Files Changed" tab. The "File Filter" menu has also been simplified. For more information, see "[Filtering files in a pull request](/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/filtering-files-in-a-pull-request)."
- -
- heading: 'GitHub Actions 更改'
+
+ - heading: 'GitHub Actions changes'
notes:
+ # https://github.com/github/releases/issues/1593
- You can now create "composite actions" which combine multiple workflow steps into one action, and includes the ability to reference other actions. This makes it easier to reduce duplication in workflows. Previously, an action could only use scripts in its YAML definition. For more information, see "[Creating a composite action](/actions/creating-actions/creating-a-composite-action)."
- - 'Managing self-hosted runners at the enterprise level no longer requires using personal access tokens with the `admin:enterprise` scope. You can instead use the new `manage_runners:enterprise` scope to restrict the permissions on your tokens. Tokens with this scope can authenticate to [many REST API endpoints](/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise) to manage your enterprise''s self-hosted runners.'
+
+ # https://github.com/github/releases/issues/1694
+ - Managing self-hosted runners at the enterprise level no longer requires using personal access tokens with the `admin:enterprise` scope. You can instead use the new `manage_runners:enterprise` scope to restrict the permissions on your tokens. Tokens with this scope can authenticate to [many REST API endpoints](/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise) to manage your enterprise's self-hosted runners.
+
+ # https://github.com/github/releases/issues/1157
- |
The audit log now includes additional events for {% data variables.product.prodname_actions %}. Audit log entries are now recorded for the following events:
@@ -121,75 +164,112 @@ sections:
* A workflow job is prepared. Importantly, this log includes the list of secrets that were provided to the runner.
For more information, see "[Security hardening for {% data variables.product.prodname_actions %}](/actions/security-guides/security-hardening-for-github-actions#auditing-github-actions-events)."
+
+ # https://github.com/github/releases/issues/1588
- Performance improvements have been made to {% data variables.product.prodname_actions %}, which may result in higher maximum job concurrency.
- -
- heading: 'GitHub Packages 更改'
+
+ - heading: 'GitHub Packages changes'
notes:
+ # https://github.com/github/docs-content/issues/5554
- When a repository is deleted, any associated package files are now immediately deleted from your {% data variables.product.prodname_registry %} external storage.
- -
- heading: 'Dependabot 和依赖关系图更改'
+
+ - heading: 'Dependabot and Dependency graph changes'
notes:
+ # https://github.com/github/releases/issues/1141
- Dependency review is out of beta and is now generally available for {% data variables.product.prodname_GH_advanced_security %} customers. Dependency review provides an easy-to-understand view of dependency changes and their security impact in the "Files changed" tab of pull requests. It informs you of which dependencies were added, removed, or updated, along with vulnerability information. For more information, see "[Reviewing dependency changes in a pull request](/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-dependency-changes-in-a-pull-request)."
+
+ # https://github.com/github/releases/issues/1630
- '{% data variables.product.prodname_dependabot %} is now available as a private beta, offering both version updates and security updates for several popular ecosystems. {% data variables.product.prodname_dependabot %} on {% data variables.product.prodname_ghe_server %} requires {% data variables.product.prodname_actions %} and a pool of self-hosted runners configured for {% data variables.product.prodname_dependabot %} use. {% data variables.product.prodname_dependabot %} on {% data variables.product.prodname_ghe_server %} also requires {% data variables.product.prodname_github_connect %} to be enabled. To learn more and sign up for the beta, contact the GitHub Sales team.'
- -
- heading: '代码扫描和秘密扫描更改'
+
+ - heading: 'Code scanning and secret scanning changes'
notes:
+ # https://github.com/github/releases/issues/1724
- The depth of {% data variables.product.prodname_codeql %}'s analysis has been improved by adding support for more [libraries and frameworks](https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/) and increasing the coverage of our existing library and framework models. [JavaScript](https://github.com/github/codeql/tree/main/javascript) analysis now supports most common templating languages, and [Java](https://github.com/github/codeql/tree/main/java) now covers more than three times the endpoints of previous {% data variables.product.prodname_codeql %} versions. As a result, {% data variables.product.prodname_codeql %} can now detect even more potential sources of untrusted user data, steps through which that data flows, and potentially dangerous sinks where the data could end up. This results in an overall improvement of the quality of {% data variables.product.prodname_code_scanning %} alerts.
+
+ # https://github.com/github/releases/issues/1639
- '{% data variables.product.prodname_codeql %} now supports scanning standard language features in Java 16, such as records and pattern matching. {% data variables.product.prodname_codeql %} is able to analyze code written in Java version 7 through 16. For more information about supported languages and frameworks, see the [{% data variables.product.prodname_codeql %} documentation](https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/#id5).'
+
+ # https://github.com/github/releases/issues/1655
- |
Improvements have been made to the {% data variables.product.prodname_code_scanning %} `on:push` trigger when code is pushed to a pull request. If an `on:push` scan returns results that are associated with a pull request, {% data variables.product.prodname_code_scanning %} will now show these alerts on the pull request.
Some other CI/CD systems can be exclusively configured to trigger a pipeline when code is pushed to a branch, or even exclusively for every commit. Whenever such an analysis pipeline is triggered and results are uploaded to the SARIF API, {% data variables.product.prodname_code_scanning %} will also try to match the analysis results to an open pull request. If an open pull request is found, the results will be published as described above. For more information, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-09-27-showing-code-scanning-alerts-on-pull-requests/).
+
+ # https://github.com/github/releases/issues/1546
- You can now use the new pull request filter on the {% data variables.product.prodname_code_scanning %} alerts page to find all the {% data variables.product.prodname_code_scanning %} alerts associated with a pull request. A new "View all branch alerts" link on the pull request "Checks" tab allows you to directly view {% data variables.product.prodname_code_scanning %} alerts with the specific pull request filter already applied. For more information, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-08-23-pull-request-filter-for-code-scanning-alerts/).
+
+ # https://github.com/github/releases/issues/1562
- User defined patterns for {% data variables.product.prodname_secret_scanning %} is out of beta and is now generally available for {% data variables.product.prodname_GH_advanced_security %} customers. Also new in this release is the ability to edit custom patterns defined at the repository, organization, and enterprise levels. After editing and saving a pattern, {% data variables.product.prodname_secret_scanning %} searches for matches both in a repository's entire Git history and in any new commits. Editing a pattern will close alerts previously associated with the pattern if they no longer match the updated version. Other improvements, such as dry-runs, are planned in future releases. For more information, see "[Defining custom patterns for secret scanning](/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning)."
- -
- heading: API and webhook changes
+
+ - heading: API and webhook changes
notes:
+ # https://github.com/github/releases/issues/1744
- Most REST API previews have graduated and are now an official part of the API. Preview headers are no longer required for most REST API endpoints, but will still function as expected if you specify a graduated preview in the `Accept` header of a request. For previews that still require specifying the preview in the `Accept` header of a request, see "[API previews](/rest/overview/api-previews)."
- - 'You can now use the REST API to configure custom autolinks to external resources. The REST API now provides beta `GET`/`POST`/`DELETE` endpoints which you can use to view, add, or delete custom autolinks associated with a repository. For more information, see "[Autolinks](/rest/reference/repos#autolinks)."'
- - 'You can now use the REST API to sync a forked repository with its upstream repository. For more information, see "[Branches](/rest/reference/branches#sync-a-fork-branch-with-the-upstream-repository)" in the REST API documentation.'
- - 'Enterprise administrators on GitHub Enterprise Server can now use the REST API to enable or disable Git LFS for a repository. For more information, see "[Repositories](/rest/reference/repos#git-lfs)."'
- - 'You can now use the REST API to query the audit log for an enterprise. While audit log forwarding provides the ability to retain and analyze data with your own toolkit and determine patterns over time, the new endpoint can help you perform limited analysis on recent events. For more information, see "[{% data variables.product.prodname_enterprise %} administration](/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise)" in the REST API documentation.'
+
+ # https://github.com/github/releases/issues/1513
+ - You can now use the REST API to configure custom autolinks to external resources. The REST API now provides beta `GET`/`POST`/`DELETE` endpoints which you can use to view, add, or delete custom autolinks associated with a repository. For more information, see "[Autolinks](/rest/reference/repos#autolinks)."
+
+ # https://github.com/github/releases/issues/1578
+ - You can now use the REST API to sync a forked repository with its upstream repository. For more information, see "[Branches](/rest/reference/branches#sync-a-fork-branch-with-the-upstream-repository)" in the REST API documentation.
+
+ # https://github.com/github/releases/issues/1527
+ - Enterprise administrators on GitHub Enterprise Server can now use the REST API to enable or disable Git LFS for a repository. For more information, see "[Repositories](/rest/reference/repos#git-lfs)."
+
+ # https://github.com/github/releases/issues/1476
+ - You can now use the REST API to query the audit log for an enterprise. While audit log forwarding provides the ability to retain and analyze data with your own toolkit and determine patterns over time, the new endpoint can help you perform limited analysis on recent events. For more information, see "[{% data variables.product.prodname_enterprise %} administration](/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise)" in the REST API documentation.
+
+ # https://github.com/github/releases/issues/1485
- GitHub App user-to-server API requests can now read public resources using the REST API. This includes, for example, the ability to list a public repository's issues and pull requests, and to access a public repository's comments and content.
- - 'When creating or updating a repository, you can now configure whether forking is allowed using the REST and GraphQL APIs. Previously, APIs for creating and updating repositories didn''t include the fields `allow_forking` (REST) or `forkingAllowed` (GraphQL). For more information, see "[Repositories](/rest/reference/repos)" in the REST API documentation and "[Repositories](/graphql/reference/objects#repository)" in the GraphQL API documentation.'
+
+ # https://github.com/github/releases/issues/1734
+ - When creating or updating a repository, you can now configure whether forking is allowed using the REST and GraphQL APIs. Previously, APIs for creating and updating repositories didn't include the fields `allow_forking` (REST) or `forkingAllowed` (GraphQL). For more information, see "[Repositories](/rest/reference/repos)" in the REST API documentation and "[Repositories](/graphql/reference/objects#repository)" in the GraphQL API documentation.
+
+ # https://github.com/github/releases/issues/1637
- |
A new GraphQL mutation [`createCommitOnBranch`](/graphql/reference/mutations#createcommitonbranch) makes it easier to add, update, and delete files in a branch of a repository. Compared to the REST API, you do not need to manually create blobs and trees before creating the commit. This allows you to add, update, or delete multiple files in a single API call.
Commits authored using the new API are automatically GPG signed and are [marked as verified](/github/authenticating-to-github/managing-commit-signature-verification/about-commit-signature-verification) in the {% data variables.product.prodname_ghe_server %} UI. GitHub Apps can use the mutation to author commits directly or [on behalf of users](/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests).
- - 'When a new tag is created, the [push](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push) webhook payload now always includes a `head_commit` object that contains the data of the commit that the new tag points to. As a result, the `head_commit` object will always contain the commit data of the payload''s `after` commit.'
- -
- heading: 'Performance Changes'
+
+ # https://github.com/github/releases/issues/1665
+ - When a new tag is created, the [push](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push) webhook payload now always includes a `head_commit` object that contains the data of the commit that the new tag points to. As a result, the `head_commit` object will always contain the commit data of the payload's `after` commit.
+
+ - heading: 'Performance Changes'
notes:
+ # https://github.com/github/releases/issues/1823
- Page loads and jobs are now significantly faster for repositories with many Git refs.
- #No security/bug fixes for the RC release
- #security_fixes:
- #- PLACEHOLDER
- #bugs:
- #- PLACEHOLDER
+
+ # No security/bug fixes for the RC release
+ # security_fixes:
+ # - PLACEHOLDER
+
+ # bugs:
+ # - PLACEHOLDER
+
known_issues:
- On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
- - 自定义防火墙规则在升级过程中被删除。
- - Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- - 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
- - 对 GitHub Connect 启用“用户可以搜索 GitHub.com”后,私有和内部仓库中的议题不包括在 GitHub.com 搜索结果中。
- - '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- - 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
+ - Custom firewall rules are removed during the upgrade process.
+ - Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository.
+ - Issues cannot be closed if they contain a permalink to a blob in the same repository, where the blob's file path is longer than 255 characters.
+ - When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results.
+ - The {% data variables.product.prodname_registry %} npm registry no longer returns a time value in metadata responses. This was done to allow for substantial performance improvements. We continue to have all the data necessary to return a time value as part of the metadata response and will resume returning this value in the future once we have solved the existing performance issues.
+ - Resource limits that are specific to processing pre-receive hooks may cause some pre-receive hooks to fail.
+
deprecations:
- -
- heading: 弃用 GitHub Enterprise Server 2.22
+ - heading: Deprecation of GitHub Enterprise Server 2.22
notes:
- '**{% data variables.product.prodname_ghe_server %} 2.22 was discontinued on September 23, 2021**. This means that no patch releases will be made, even for critical security issues, after this date. For better performance, improved security, and new features, [upgrade to the newest version of {% data variables.product.prodname_ghe_server %}](/enterprise-server@3.3/admin/enterprise-management/upgrading-github-enterprise-server) as soon as possible.'
- -
- heading: Deprecation of GitHub Enterprise Server 3.0
+ - heading: Deprecation of GitHub Enterprise Server 3.0
notes:
- '**{% data variables.product.prodname_ghe_server %} 3.0 will be discontinued on February 16, 2022**. This means that no patch releases will be made, even for critical security issues, after this date. For better performance, improved security, and new features, [upgrade to the newest version of {% data variables.product.prodname_ghe_server %}](/enterprise-server@3.3/admin/enterprise-management/upgrading-github-enterprise-server) as soon as possible.'
- -
- heading: XenServer Hypervisor 支持终止
+
+ - heading: Deprecation of XenServer Hypervisor support
notes:
+ # https://github.com/github/docs-content/issues/4439
- Starting with {% data variables.product.prodname_ghe_server %} 3.3, {% data variables.product.prodname_ghe_server %} on XenServer is deprecated and is no longer supported. Please contact [GitHub Support](https://support.github.com) with questions or concerns.
- -
- heading: Deprecation of OAuth Application API endpoints and API authentication using query parameters
+
+ - heading: Deprecation of OAuth Application API endpoints and API authentication using query parameters
notes:
+ # https://github.com/github/releases/issues/1316
- |
To prevent accidental logging or exposure of `access_tokens`, we discourage the use of OAuth Application API endpoints and the use of API authentication using query parameters. View the following posts to see the proposed replacements:
@@ -197,13 +277,15 @@ sections:
* [Replacement authentication using headers instead of query param](https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/#changes-to-make)
These endpoints and authentication route are planned to be removed from {% data variables.product.prodname_ghe_server %} in {% data variables.product.prodname_ghe_server %} 3.4.
- -
- heading: Deprecation of the CodeQL runner
+
+ - heading: Deprecation of the CodeQL runner
notes:
+ # https://github.com/github/releases/issues/1632
- The {% data variables.product.prodname_codeql %} runner is being deprecated. {% data variables.product.prodname_ghe_server %} 3.3 will be the final release series that supports the {% data variables.product.prodname_codeql %} runner. Starting with {% data variables.product.prodname_ghe_server %} 3.4, the {% data variables.product.prodname_codeql %} runner will be removed and no longer supported. The {% data variables.product.prodname_codeql %} CLI version 2.6.2 or greater is a feature-complete replacement for the {% data variables.product.prodname_codeql %} runner. For more information, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-09-21-codeql-runner-deprecation/).
- -
- heading: Deprecation of custom bit-cache extensions
+
+ - heading: Deprecation of custom bit-cache extensions
notes:
+ # https://github.com/github/releases/issues/1415
- |
Starting in {% data variables.product.prodname_ghe_server %} 3.1, support for {% data variables.product.company_short %}'s proprietary bit-cache extensions began to be phased out. These extensions are now deprecated in {% data variables.product.prodname_ghe_server %} 3.3.
@@ -212,5 +294,6 @@ sections:
Repositories which were not present and active before upgrading to {% data variables.product.prodname_ghe_server %} 3.3 may not perform optimally until a repository maintenance task is run and has successfully completed.
To start a repository maintenance task manually, browse to `https:///stafftools/repositories///network` for each affected repository and click the **Schedule** button.
+
backups:
- '{% data variables.product.prodname_ghe_server %} 3.3 requires at least [GitHub Enterprise Backup Utilities 3.3.0](https://github.com/github/backup-utils) for [Backups and Disaster Recovery](/admin/configuration/configuring-your-enterprise/configuring-backups-on-your-appliance).'
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-3/0.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-3/0.yml
index d34c74bae8..1ca3d1f503 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-3/0.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-3/0.yml
@@ -1,74 +1,100 @@
----
date: '2021-12-07'
intro: For upgrade instructions, see "[Upgrading {% data variables.product.prodname_ghe_server %}](/admin/enterprise-management/updating-the-virtual-machine-and-physical-resources/upgrading-github-enterprise-server)."
**Note:** We are aware of an issue where {% data variables.product.prodname_actions %} may fail to start automatically following the upgrade to {% data variables.product.prodname_ghe_server %} 3.3. To resolve, connect to the appliance via SSH and run the `ghe-actions-start` command.
sections:
features:
- -
- heading: 安全管理员角色
+ - heading: Security Manager role
notes:
+ # https://github.com/github/releases/issues/1610
- |
- 组织所有者现在可以授予团队管理其存储库上的安全警报和设置的权限。“安全管理员”角色可以应用于任何团队,并向团队成员授予以下访问权限:
+ Organization owners can now grant teams the access to manage security alerts and settings on their repositories. The "security manager" role can be applied to any team and grants the team's members the following access:
- - 对组织中所有存储库的读取访问权限。
- - 对组织中所有安全警报的写入访问权限。
- - 对组织级别安全选项卡的访问权限。
- - 对组织级别安全设置的写入访问权限。
- - 对存储库级别安全设置的写入访问权限。
+ - Read access on all repositories in the organization.
+ - Write access on all security alerts in the organization.
+ - Access to the organization-level security tab.
+ - Write access on security settings at the organization level.
+ - Write access on security settings at the repository level.
- 更多信息请参阅“[管理组织中的安全管理员](/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)”。
- -
- heading: '用于 GitHub Actions 的临时自托管运行器和用于自动缩放的新 web 挂钩'
+ For more information, see "[Managing security managers in your organization](/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+
+ - heading: 'Ephemeral self-hosted runners for GitHub Actions & new webhooks for auto-scaling'
notes:
+ # https://github.com/github/releases/issues/1378
- |
- {% data variables.product.prodname_actions %} 现在支持临时(单个作业)自托管运行器和新的 ['workflow_job'](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job) web 挂钩,使自动缩放运行器更容易。
+ {% data variables.product.prodname_actions %} now supports ephemeral (single job) self-hosted runners and a new [`workflow_job`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job) webhook to make autoscaling runners easier.
- 临时运行器适用于需要每个作业在干净映像上运行的自我管理环境。运行作业后,临时运行器会自动从 {% data variables.product.product_location %} 中取消注册,从而允许您执行任何作业后管理。
+ Ephemeral runners are good for self-managed environments where each job is required to run on a clean image. After a job is run, ephemeral runners are automatically unregistered from {% data variables.product.product_location %}, allowing you to perform any post-job management.
- 您可以将临时运行器与新的 `workflow_job` web 挂钩组合在一起,以自动缩放自托管运行器来响应 {% data variables.product.prodname_actions %} 作业请求。
+ You can combine ephemeral runners with the new `workflow_job` webhook to automatically scale self-hosted runners in response to {% data variables.product.prodname_actions %} job requests.
- 更多信息请参阅“[使用自托管运行器自动缩放](/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners)”和“[web 挂钩事件和有效负载](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job)”。
- -
- heading: '深色高对比度主题'
+ For more information, see "[Autoscaling with self-hosted runners](/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners)" and "[Webhook events and payloads](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job)."
+
+ - heading: 'Dark high contrast theme'
notes:
+ # https://github.com/github/releases/issues/1539
- |
- 深色高对比度主题的前景和背景元素之间对比度更高,现在 {% data variables.product.prodname_ghe_server %} 3.3 上可用。此版本还包括对所有 {% data variables.product.company_short %} 主题的颜色系统的改进。
+ A dark high contrast theme, with greater contrast between foreground and background elements, is now available on {% data variables.product.prodname_ghe_server %} 3.3. This release also includes improvements to the color system across all {% data variables.product.company_short %} themes.
- 
+ 
+
+ For more information about changing your theme, see "[Managing your theme settings](/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-your-theme-settings)."
- 有关更改主题的更多信息,请参阅“[管理主题设置](/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-your-theme-settings)”。
changes:
- -
- heading: 管理更改
+ - heading: Administration Changes
notes:
- - '{% data variables.product.prodname_ghe_server %} 3.3 包括对存储库维护的改进,特别是对于包含许多无法访问的对象的存储库。请注意,升级到 {% data variables.product.prodname_ghe_server %} 3.3 后的第一个维护周期可能需要比平时更长的时间才能完成。'
- - '{% data variables.product.prodname_ghe_server %} 3.3 包括用于地理位置分散团队和 CI 基础结构的存储库缓存的公共测试版。存储库缓存将存储库的只读副本保存在其他地理位置,从而防止客户端从主实例下载重复的 Git 内容。更多信息请参阅“[关于存储库缓存](/admin/enterprise-management/caching-repositories/about-repository-caching)”。'
+ # https://github.com/github/releases/issues/1666
+ - '{% data variables.product.prodname_ghe_server %} 3.3 includes improvements to the maintenance of repositories, especially for repositories that contain many unreachable objects. Note that the first maintenance cycle after upgrading to {% data variables.product.prodname_ghe_server %} 3.3 may take longer than usual to complete.'
+
+ # https://github.com/github/releases/issues/1533
+ - '{% data variables.product.prodname_ghe_server %} 3.3 includes the public beta of a repository cache for geographically-distributed teams and CI infrastructure. The repository cache keeps a read-only copy of your repositories available in additional geographies, which prevents clients from downloading duplicate Git content from your primary instance. For more information, see "[About repository caching](/admin/enterprise-management/caching-repositories/about-repository-caching)."'
+
+ # https://github.com/github/releases/issues/1616
- '{% data variables.product.prodname_ghe_server %} 3.3 includes improvements to the user impersonation process. An impersonation session now requires a justification for the impersonation, actions are recorded in the audit log as being performed as an impersonated user, and the user who is impersonated will receive an email notification that they have been impersonated by an enterprise administrator. For more information, see "[Impersonating a user](/enterprise-server@3.3/admin/user-management/managing-users-in-your-enterprise/impersonating-a-user)."'
+
+ # https://github.com/github/releases/issues/1609
- A new stream processing service has been added to facilitate the growing set of events that are published to the audit log, including events associated with Git and {% data variables.product.prodname_actions %} activity.
+
+ # https://github.com/github/docs-content/issues/5801
- The {% data variables.product.prodname_github_connect %} data connection record now includes a list of enabled {% data variables.product.prodname_github_connect %} features. [Updated 2021-12-09]
- -
- heading: 令牌更改
+
+ - heading: Token Changes
notes:
+ # https://github.com/github/releases/issues/1390
- |
An expiration date can now be set for new and existing personal access tokens. Setting an expiration date on personal access tokens is highly recommended to prevent older tokens from leaking and compromising security. Token owners will receive an email when it's time to renew a token that's about to expire. Tokens that have expired can be regenerated, giving users a duplicate token with the same properties as the original.
When using a personal access token with the {% data variables.product.company_short %} API, a new `GitHub-Authentication-Token-Expiration` header is included in the response, which indicates the token's expiration date. For more information, see "[Creating a personal access token](/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token)."
- -
- heading: 'Notifications changes'
+
+ - heading: 'Notifications changes'
notes:
+ # https://github.com/github/releases/issues/1625
- 'Notification emails from discussions now include `(Discussion #xx)` in the subject, so you can recognize and filter emails that reference discussions.'
- -
- heading: '存储库更改'
+
+ - heading: 'Repositories changes'
notes:
+ # https://github.com/github/releases/issues/1735
- Public repositories now have a `Public` label next to their names like private and internal repositories. This change makes it easier to identify public repositories and avoid accidentally committing private code.
+
+ # https://github.com/github/releases/issues/1733
- If you specify the exact name of a branch when using the branch selector menu, the result now appears at the top of the list of matching branches. Previously, exact branch name matches could appear at the bottom of the list.
+
+ # https://github.com/github/releases/issues/1673
- When viewing a branch that has a corresponding open pull request, {% data variables.product.prodname_ghe_server %} now links directly to the pull request. Previously, there would be a prompt to contribute using branch comparison or to open a new pull request.
+
+ # https://github.com/github/releases/issues/1670
- You can now click a button to copy the full raw contents of a file to the clipboard. Previously, you would need to open the raw file, select all, and then copy. To copy the contents of a file, navigate to the file and click {% octicon "copy" aria-label="The copy icon" %} in the toolbar. Note that this feature is currently only available in some browsers.
+
+ # https://github.com/github/releases/issues/1571
- When creating a new release, you can now select or create the tag using a dropdown selector, rather than specifying the tag in a text field. For more information, see "[Managing releases in a repository](/repositories/releasing-projects-on-github/managing-releases-in-a-repository)."
+
+ # https://github.com/github/releases/issues/1752
- A warning is now displayed when viewing a file that contains bidirectional Unicode text. Bidirectional Unicode text can be interpreted or compiled differently than it appears in a user interface. For example, hidden bidirectional Unicode characters can be used to swap segments of text in a file. For more information about replacing these characters, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-10-31-warning-about-bidirectional-unicode-text/).
+
+ # https://github.com/github/releases/issues/1416
- You can now use `CITATION.cff` files to let others know how you would like them to cite your work. `CITATION.cff` files are plain text files with human- and machine-readable citation information. {% data variables.product.prodname_ghe_server %} parses this information into common citation formats such as [APA](https://apastyle.apa.org) and [BibTeX](https://en.wikipedia.org/wiki/BibTeX). For more information, see "[About CITATION files](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files)."
- -
- heading: 'Markdown 更改'
+
+ - heading: 'Markdown changes'
notes:
+ # https://github.com/github/releases/issues/1645
- |
You can use new keyboard shortcuts for quotes and lists in Markdown files, issues, pull requests, and comments.
@@ -77,15 +103,28 @@ sections:
* To add an unordered list, use cmd shift 8 on Mac, or ctrl shift 8 on Windows and Linux.
See "[Keyboard shortcuts](/get-started/using-github/keyboard-shortcuts)" for a full list of available shortcuts.
- - 'You can now use footnote syntax in any Markdown field. Footnotes are displayed as superscript links that you can click to jump to the referenced information, which is displayed in a new section at the bottom of the document. For more information about the syntax, see "[Basic writing and formatting syntax](/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#footnotes)."'
+
+ # https://github.com/github/releases/issues/1684
+ - You can now use footnote syntax in any Markdown field. Footnotes are displayed as superscript links that you can click to jump to the referenced information, which is displayed in a new section at the bottom of the document. For more information about the syntax, see "[Basic writing and formatting syntax](/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#footnotes)."
+
+ # https://github.com/github/releases/issues/1647
- When viewing Markdown files, you can now click {% octicon "code" aria-label="The code icon" %} in the toolbar to view the source of a Markdown file. Previously, you needed to use the blame view to link to specific line numbers in the source of a Markdown file.
+
+ # https://github.com/github/releases/issues/1600
- You can now add images and videos to Markdown files in gists by pasting them into the Markdown body or selecting them from the dialog at the bottom of the Markdown file. For information about supported file types, see "[Attaching files](https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/attaching-files)."
+
+ # https://github.com/github/releases/issues/1523
- '{% data variables.product.prodname_ghe_server %} now automatically generates a table of contents for Wikis, based on headings.'
+
+ # https://github.com/github/releases/issues/1626
- When dragging and dropping files into a Markdown editor, such as images and videos, {% data variables.product.prodname_ghe_server %} now uses the mouse pointer location instead of the cursor location when placing the file.
- -
- heading: '议题和拉取请求更改'
+
+ - heading: 'Issues and pull requests changes'
notes:
- - 'You can now search issues by label using a logical OR operator. To filter issues using logical OR, use the comma syntax. For example, `label:"good first issue","bug"` will list all issues with a label of `good first issue` or `bug`. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests#about-search-terms)."'
+ # https://github.com/github/releases/issues/1504
+ - You can now search issues by label using a logical OR operator. To filter issues using logical OR, use the comma syntax. For example, `label:"good first issue","bug"` will list all issues with a label of `good first issue` or `bug`. For more information, see "[Filtering and searching issues and pull requests](/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests#about-search-terms)."
+
+ # https://github.com/github/releases/issues/1685
- |
Improvements have been made to help teams manage code review assignments. You can now:
@@ -97,12 +136,18 @@ sections:
For more information, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-09-29-new-code-review-assignment-settings-and-team-filtering-improvements/).
- You can now filter pull request searches to only include pull requests you are directly requested to review.
+ # https://github.com/github/releases/issues/1683
- Filtered files in pull requests are now completely hidden from view, and are no longer shown as collapsed in the "Files Changed" tab. The "File Filter" menu has also been simplified. For more information, see "[Filtering files in a pull request](/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/filtering-files-in-a-pull-request)."
- -
- heading: 'GitHub Actions 更改'
+
+ - heading: 'GitHub Actions changes'
notes:
+ # https://github.com/github/releases/issues/1593
- You can now create "composite actions" which combine multiple workflow steps into one action, and includes the ability to reference other actions. This makes it easier to reduce duplication in workflows. Previously, an action could only use scripts in its YAML definition. For more information, see "[Creating a composite action](/actions/creating-actions/creating-a-composite-action)."
- - 'Managing self-hosted runners at the enterprise level no longer requires using personal access tokens with the `admin:enterprise` scope. You can instead use the new `manage_runners:enterprise` scope to restrict the permissions on your tokens. Tokens with this scope can authenticate to [many REST API endpoints](/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise) to manage your enterprise''s self-hosted runners.'
+
+ # https://github.com/github/releases/issues/1694
+ - Managing self-hosted runners at the enterprise level no longer requires using personal access tokens with the `admin:enterprise` scope. You can instead use the new `manage_runners:enterprise` scope to restrict the permissions on your tokens. Tokens with this scope can authenticate to [many REST API endpoints](/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise) to manage your enterprise's self-hosted runners.
+
+ # https://github.com/github/releases/issues/1157
- |
The audit log now includes additional events for {% data variables.product.prodname_actions %}. Audit log entries are now recorded for the following events:
@@ -113,79 +158,118 @@ sections:
* A workflow job is prepared. Importantly, this log includes the list of secrets that were provided to the runner.
For more information, see "[Security hardening for {% data variables.product.prodname_actions %}](/actions/security-guides/security-hardening-for-github-actions#auditing-github-actions-events)."
+
+ # https://github.com/github/releases/issues/1588
- '{% data variables.product.prodname_ghe_server %} 3.3 contains performance improvements for job concurrency with {% data variables.product.prodname_actions %}. For more information about the new performance targets for a range of CPU and memory configurations, see "[Getting started with {% data variables.product.prodname_actions %} for {% data variables.product.prodname_ghe_server %}](/admin/github-actions/enabling-github-actions-for-github-enterprise-server/getting-started-with-github-actions-for-github-enterprise-server#review-hardware-considerations)."'
+
+ # https://github.com/github/releases/issues/1556
- To mitigate insider man in the middle attacks when using actions resolved through {% data variables.product.prodname_github_connect %} to {% data variables.product.prodname_dotcom_the_website %} from {% data variables.product.prodname_ghe_server %}, the actions namespace (`owner/name`) is retired on use. Retiring the namespace prevents that namespace from being created on your {% data variables.product.prodname_ghe_server %} instance, and ensures all workflows referencing the action will download it from {% data variables.product.prodname_dotcom_the_website %}.
- -
- heading: 'GitHub Packages 更改'
+
+ - heading: 'GitHub Packages changes'
notes:
+ # https://github.com/github/docs-content/issues/5554
- When a repository is deleted, any associated package files are now immediately deleted from your {% data variables.product.prodname_registry %} external storage.
- -
- heading: 'Dependabot 和依赖关系图更改'
+
+ - heading: 'Dependabot and Dependency graph changes'
notes:
+ # https://github.com/github/releases/issues/1141
- Dependency review is out of beta and is now generally available for {% data variables.product.prodname_GH_advanced_security %} customers. Dependency review provides an easy-to-understand view of dependency changes and their security impact in the "Files changed" tab of pull requests. It informs you of which dependencies were added, removed, or updated, along with vulnerability information. For more information, see "[Reviewing dependency changes in a pull request](/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-dependency-changes-in-a-pull-request)."
+
+ # https://github.com/github/releases/issues/1630
- '{% data variables.product.prodname_dependabot %} is now available as a private beta, offering both version updates and security updates for several popular ecosystems. {% data variables.product.prodname_dependabot %} on {% data variables.product.prodname_ghe_server %} requires {% data variables.product.prodname_actions %} and a pool of self-hosted runners configured for {% data variables.product.prodname_dependabot %} use. {% data variables.product.prodname_dependabot %} on {% data variables.product.prodname_ghe_server %} also requires {% data variables.product.prodname_github_connect %} to be enabled. To learn more and sign up for the beta, contact the GitHub Sales team.'
- -
- heading: '代码扫描和秘密扫描更改'
+
+ - heading: 'Code scanning and secret scanning changes'
notes:
+ # https://github.com/github/releases/issues/1724
- The depth of {% data variables.product.prodname_codeql %}'s analysis has been improved by adding support for more [libraries and frameworks](https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/) and increasing the coverage of our existing library and framework models. [JavaScript](https://github.com/github/codeql/tree/main/javascript) analysis now supports most common templating languages, and [Java](https://github.com/github/codeql/tree/main/java) now covers more than three times the endpoints of previous {% data variables.product.prodname_codeql %} versions. As a result, {% data variables.product.prodname_codeql %} can now detect even more potential sources of untrusted user data, steps through which that data flows, and potentially dangerous sinks where the data could end up. This results in an overall improvement of the quality of {% data variables.product.prodname_code_scanning %} alerts.
+
+ # https://github.com/github/releases/issues/1639
- '{% data variables.product.prodname_codeql %} now supports scanning standard language features in Java 16, such as records and pattern matching. {% data variables.product.prodname_codeql %} is able to analyze code written in Java version 7 through 16. For more information about supported languages and frameworks, see the [{% data variables.product.prodname_codeql %} documentation](https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/#id5).'
+
+ # https://github.com/github/releases/issues/1655
- |
Improvements have been made to the {% data variables.product.prodname_code_scanning %} `on:push` trigger when code is pushed to a pull request. If an `on:push` scan returns results that are associated with a pull request, {% data variables.product.prodname_code_scanning %} will now show these alerts on the pull request.
Some other CI/CD systems can be exclusively configured to trigger a pipeline when code is pushed to a branch, or even exclusively for every commit. Whenever such an analysis pipeline is triggered and results are uploaded to the SARIF API, {% data variables.product.prodname_code_scanning %} will also try to match the analysis results to an open pull request. If an open pull request is found, the results will be published as described above. For more information, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-09-27-showing-code-scanning-alerts-on-pull-requests/).
+
+ # https://github.com/github/releases/issues/1546
- You can now use the new pull request filter on the {% data variables.product.prodname_code_scanning %} alerts page to find all the {% data variables.product.prodname_code_scanning %} alerts associated with a pull request. A new "View all branch alerts" link on the pull request "Checks" tab allows you to directly view {% data variables.product.prodname_code_scanning %} alerts with the specific pull request filter already applied. For more information, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-08-23-pull-request-filter-for-code-scanning-alerts/).
+
+ # https://github.com/github/releases/issues/1562
- User defined patterns for {% data variables.product.prodname_secret_scanning %} is out of beta and is now generally available for {% data variables.product.prodname_GH_advanced_security %} customers. Also new in this release is the ability to edit custom patterns defined at the repository, organization, and enterprise levels. After editing and saving a pattern, {% data variables.product.prodname_secret_scanning %} searches for matches both in a repository's entire Git history and in any new commits. Editing a pattern will close alerts previously associated with the pattern if they no longer match the updated version. Other improvements, such as dry-runs, are planned in future releases. For more information, see "[Defining custom patterns for secret scanning](/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning)."
- -
- heading: API and webhook changes
+
+ - heading: API and webhook changes
notes:
+ # https://github.com/github/releases/issues/1744
- Most REST API previews have graduated and are now an official part of the API. Preview headers are no longer required for most REST API endpoints, but will still function as expected if you specify a graduated preview in the `Accept` header of a request. For previews that still require specifying the preview in the `Accept` header of a request, see "[API previews](/rest/overview/api-previews)."
- - 'You can now use the REST API to configure custom autolinks to external resources. The REST API now provides beta `GET`/`POST`/`DELETE` endpoints which you can use to view, add, or delete custom autolinks associated with a repository. For more information, see "[Autolinks](/rest/reference/repos#autolinks)."'
- - 'You can now use the REST API to sync a forked repository with its upstream repository. For more information, see "[Branches](/rest/reference/branches#sync-a-fork-branch-with-the-upstream-repository)" in the REST API documentation.'
- - 'Enterprise administrators on GitHub Enterprise Server can now use the REST API to enable or disable Git LFS for a repository. For more information, see "[Repositories](/rest/reference/repos#git-lfs)."'
- - 'You can now use the REST API to query the audit log for an enterprise. While audit log forwarding provides the ability to retain and analyze data with your own toolkit and determine patterns over time, the new endpoint can help you perform limited analysis on recent events. For more information, see "[{% data variables.product.prodname_enterprise %} administration](/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise)" in the REST API documentation.'
+
+ # https://github.com/github/releases/issues/1513
+ - You can now use the REST API to configure custom autolinks to external resources. The REST API now provides beta `GET`/`POST`/`DELETE` endpoints which you can use to view, add, or delete custom autolinks associated with a repository. For more information, see "[Autolinks](/rest/reference/repos#autolinks)."
+
+ # https://github.com/github/releases/issues/1578
+ - You can now use the REST API to sync a forked repository with its upstream repository. For more information, see "[Branches](/rest/reference/branches#sync-a-fork-branch-with-the-upstream-repository)" in the REST API documentation.
+
+ # https://github.com/github/releases/issues/1527
+ - Enterprise administrators on GitHub Enterprise Server can now use the REST API to enable or disable Git LFS for a repository. For more information, see "[Repositories](/rest/reference/repos#git-lfs)."
+
+ # https://github.com/github/releases/issues/1476
+ - You can now use the REST API to query the audit log for an enterprise. While audit log forwarding provides the ability to retain and analyze data with your own toolkit and determine patterns over time, the new endpoint can help you perform limited analysis on recent events. For more information, see "[{% data variables.product.prodname_enterprise %} administration](/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise)" in the REST API documentation.
+
+ # https://github.com/github/releases/issues/1485
- GitHub App user-to-server API requests can now read public resources using the REST API. This includes, for example, the ability to list a public repository's issues and pull requests, and to access a public repository's comments and content.
- - 'When creating or updating a repository, you can now configure whether forking is allowed using the REST and GraphQL APIs. Previously, APIs for creating and updating repositories didn''t include the fields `allow_forking` (REST) or `forkingAllowed` (GraphQL). For more information, see "[Repositories](/rest/reference/repos)" in the REST API documentation and "[Repositories](/graphql/reference/objects#repository)" in the GraphQL API documentation.'
+
+ # https://github.com/github/releases/issues/1734
+ - When creating or updating a repository, you can now configure whether forking is allowed using the REST and GraphQL APIs. Previously, APIs for creating and updating repositories didn't include the fields `allow_forking` (REST) or `forkingAllowed` (GraphQL). For more information, see "[Repositories](/rest/reference/repos)" in the REST API documentation and "[Repositories](/graphql/reference/objects#repository)" in the GraphQL API documentation.
+
+ # https://github.com/github/releases/issues/1637
- |
A new GraphQL mutation [`createCommitOnBranch`](/graphql/reference/mutations#createcommitonbranch) makes it easier to add, update, and delete files in a branch of a repository. Compared to the REST API, you do not need to manually create blobs and trees before creating the commit. This allows you to add, update, or delete multiple files in a single API call.
Commits authored using the new API are automatically GPG signed and are [marked as verified](/github/authenticating-to-github/managing-commit-signature-verification/about-commit-signature-verification) in the {% data variables.product.prodname_ghe_server %} UI. GitHub Apps can use the mutation to author commits directly or [on behalf of users](/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests).
- - 'When a new tag is created, the [push](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push) webhook payload now always includes a `head_commit` object that contains the data of the commit that the new tag points to. As a result, the `head_commit` object will always contain the commit data of the payload''s `after` commit.'
- -
- heading: 'Performance Changes'
+
+ # https://github.com/github/releases/issues/1665
+ - When a new tag is created, the [push](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push) webhook payload now always includes a `head_commit` object that contains the data of the commit that the new tag points to. As a result, the `head_commit` object will always contain the commit data of the payload's `after` commit.
+
+ - heading: 'Performance Changes'
notes:
+ # https://github.com/github/releases/issues/1823
- Page loads and jobs are now significantly faster for repositories with many Git refs.
- #No security/bug fixes for the RC release
- #security_fixes:
- #- PLACEHOLDER
- #bugs:
- #- PLACEHOLDER
+
+ # No security/bug fixes for the RC release
+ # security_fixes:
+ # - PLACEHOLDER
+
+ # bugs:
+ # - PLACEHOLDER
+
known_issues:
- After upgrading to {% data variables.product.prodname_ghe_server %} 3.3, {% data variables.product.prodname_actions %} may fail to start automatically. To resolve this issue, connect to the appliance via SSH and run the `ghe-actions-start` command.
- On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
- - 自定义防火墙规则在升级过程中被删除。
- - Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- - 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
- - 对 GitHub Connect 启用“用户可以搜索 GitHub.com”后,私有和内部仓库中的议题不包括在 GitHub.com 搜索结果中。
- - '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- - 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
+ - Custom firewall rules are removed during the upgrade process.
+ - Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository.
+ - Issues cannot be closed if they contain a permalink to a blob in the same repository, where the blob's file path is longer than 255 characters.
+ - When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results.
+ - The {% data variables.product.prodname_registry %} npm registry no longer returns a time value in metadata responses. This was done to allow for substantial performance improvements. We continue to have all the data necessary to return a time value as part of the metadata response and will resume returning this value in the future once we have solved the existing performance issues.
+ - Resource limits that are specific to processing pre-receive hooks may cause some pre-receive hooks to fail.
- '{% data variables.product.prodname_actions %} storage settings cannot be validated and saved in the {% data variables.enterprise.management_console %} when "Force Path Style" is selected, and must instead be configured with the `ghe-actions-precheck` command line utility.'
- '{% data variables.product.prodname_ghe_server %} 3.3 instances installed on Azure and provisioned with 32+ CPU cores would fail to launch, due to a bug present in the current Linux kernel. [Updated: 2022-04-08]'
+
deprecations:
- -
- heading: 弃用 GitHub Enterprise Server 2.22
+ - heading: Deprecation of GitHub Enterprise Server 2.22
notes:
- '**{% data variables.product.prodname_ghe_server %} 2.22 was discontinued on September 23, 2021**. This means that no patch releases will be made, even for critical security issues, after this date. For better performance, improved security, and new features, [upgrade to the newest version of {% data variables.product.prodname_ghe_server %}](/enterprise-server@3.3/admin/enterprise-management/upgrading-github-enterprise-server) as soon as possible.'
- -
- heading: Deprecation of GitHub Enterprise Server 3.0
+ - heading: Deprecation of GitHub Enterprise Server 3.0
notes:
- '**{% data variables.product.prodname_ghe_server %} 3.0 will be discontinued on February 16, 2022**. This means that no patch releases will be made, even for critical security issues, after this date. For better performance, improved security, and new features, [upgrade to the newest version of {% data variables.product.prodname_ghe_server %}](/enterprise-server@3.3/admin/enterprise-management/upgrading-github-enterprise-server) as soon as possible.'
- -
- heading: XenServer Hypervisor 支持终止
+
+ - heading: Deprecation of XenServer Hypervisor support
notes:
+ # https://github.com/github/docs-content/issues/4439
- Starting with {% data variables.product.prodname_ghe_server %} 3.3, {% data variables.product.prodname_ghe_server %} on XenServer is deprecated and is no longer supported. Please contact [GitHub Support](https://support.github.com) with questions or concerns.
- -
- heading: Deprecation of OAuth Application API endpoints and API authentication using query parameters
+
+ - heading: Deprecation of OAuth Application API endpoints and API authentication using query parameters
notes:
+ # https://github.com/github/releases/issues/1316
- |
To prevent accidental logging or exposure of `access_tokens`, we discourage the use of OAuth Application API endpoints and the use of API authentication using query parameters. View the following posts to see the proposed replacements:
@@ -193,13 +277,15 @@ sections:
* [Replacement authentication using headers instead of query param](https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/#changes-to-make)
These endpoints and authentication route are planned to be removed from {% data variables.product.prodname_ghe_server %} in {% data variables.product.prodname_ghe_server %} 3.4.
- -
- heading: Deprecation of the CodeQL runner
+
+ - heading: Deprecation of the CodeQL runner
notes:
+ # https://github.com/github/releases/issues/1632
- The {% data variables.product.prodname_codeql %} runner is being deprecated. {% data variables.product.prodname_ghe_server %} 3.3 will be the final release series that supports the {% data variables.product.prodname_codeql %} runner. Starting with {% data variables.product.prodname_ghe_server %} 3.4, the {% data variables.product.prodname_codeql %} runner will be removed and no longer supported. The {% data variables.product.prodname_codeql %} CLI version 2.6.2 or greater is a feature-complete replacement for the {% data variables.product.prodname_codeql %} runner. For more information, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-09-21-codeql-runner-deprecation/).
- -
- heading: Deprecation of custom bit-cache extensions
+
+ - heading: Deprecation of custom bit-cache extensions
notes:
+ # https://github.com/github/releases/issues/1415
- |
Starting in {% data variables.product.prodname_ghe_server %} 3.1, support for {% data variables.product.company_short %}'s proprietary bit-cache extensions began to be phased out. These extensions are now deprecated in {% data variables.product.prodname_ghe_server %} 3.3.
@@ -208,5 +294,6 @@ sections:
Repositories which were not present and active before upgrading to {% data variables.product.prodname_ghe_server %} 3.3 may not perform optimally until a repository maintenance task is run and has successfully completed.
To start a repository maintenance task manually, browse to `https:///stafftools/repositories///network` for each affected repository and click the **Schedule** button.
+
backups:
- '{% data variables.product.prodname_ghe_server %} 3.3 requires at least [GitHub Enterprise Backup Utilities 3.3.0](https://github.com/github/backup-utils) for [Backups and Disaster Recovery](/admin/configuration/configuring-your-enterprise/configuring-backups-on-your-appliance).'
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-3/1.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-3/1.yml
index 53db1d26df..8196aaccab 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-3/1.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-3/1.yml
@@ -6,7 +6,7 @@ sections:
- '**December 17, 2021 update**: The fixes in place for this release also mitigate [CVE-2021-45046](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45046), which was published after this release. No additional upgrade for {% data variables.product.prodname_ghe_server %} is required to mitigate both CVE-2021-44228 and CVE-2021-45046.'
known_issues:
- After upgrading to {% data variables.product.prodname_ghe_server %} 3.3, {% data variables.product.prodname_actions %} may fail to start automatically. To resolve this issue, connect to the appliance via SSH and run the `ghe-actions-start` command.
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-3/2.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-3/2.yml
index 5b4d360329..dd3a4d31e7 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-3/2.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-3/2.yml
@@ -21,7 +21,7 @@ sections:
- Several documentation links resulted in a 404 Not Found error.
known_issues:
- After upgrading to {% data variables.product.prodname_ghe_server %} 3.3, {% data variables.product.prodname_actions %} may fail to start automatically. To resolve this issue, connect to the appliance via SSH and run the `ghe-actions-start` command.
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-3/3.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-3/3.yml
index 46254f4419..27dd158e20 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-3/3.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-3/3.yml
@@ -19,7 +19,7 @@ sections:
- The GitHub Connect data connection record now includes a count of the number of active and dormant users and the configured dormancy period.
known_issues:
- After upgrading to {% data variables.product.prodname_ghe_server %} 3.3, {% data variables.product.prodname_actions %} may fail to start automatically. To resolve this issue, connect to the appliance via SSH and run the `ghe-actions-start` command.
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-3/4.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-3/4.yml
index 236c75aceb..183c9c9120 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-3/4.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-3/4.yml
@@ -14,7 +14,7 @@ sections:
- Secret scanning will skip scanning ZIP and other archive files for secrets.
known_issues:
- After upgrading to {% data variables.product.prodname_ghe_server %} 3.3, {% data variables.product.prodname_actions %} may fail to start automatically. To resolve this issue, connect to the appliance via SSH and run the `ghe-actions-start` command.
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-3/5.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-3/5.yml
index 3d43c11824..6b29835d02 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-3/5.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-3/5.yml
@@ -8,7 +8,7 @@ sections:
- 'OAuth Applications created after September 1st, 2020 were not able to use the [Check an Authorization](https://docs.github.com/en/enterprise-server@3.3/rest/reference/apps#check-an-authorization) API endpoint.'
known_issues:
- After upgrading to {% data variables.product.prodname_ghe_server %} 3.3, {% data variables.product.prodname_actions %} may fail to start automatically. To resolve this issue, connect to the appliance via SSH and run the `ghe-actions-start` command.
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-3/6.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-3/6.yml
index 12e11d2847..c5054f2c68 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-3/6.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-3/6.yml
@@ -39,7 +39,7 @@ sections:
- Performance has been improved for web requests made by enterprise owners.
known_issues:
- After upgrading to {% data variables.product.prodname_ghe_server %} 3.3, {% data variables.product.prodname_actions %} may fail to start automatically. To resolve this issue, connect to the appliance via SSH and run the `ghe-actions-start` command.
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-3/7.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-3/7.yml
index da95356d96..7f1b2f5c23 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-3/7.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-3/7.yml
@@ -21,7 +21,7 @@ sections:
- If {% data variables.product.prodname_GH_advanced_security %} features are enabled on your instance, the performance of background jobs has improved when processing batches for repository contributions.
known_issues:
- After upgrading to {% data variables.product.prodname_ghe_server %} 3.3, {% data variables.product.prodname_actions %} may fail to start automatically. To resolve this issue, connect to the appliance via SSH and run the `ghe-actions-start` command.
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-4/0-rc1.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-4/0-rc1.yml
index f62d7467c6..6c586a5ba0 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-4/0-rc1.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-4/0-rc1.yml
@@ -43,7 +43,7 @@ sections:
- Users can now choose the number of spaces a tab is equal to, by setting their preferred tab size in the "Appearance" settings of their user account. All code with a tab indent will render using the preferred tab size.
- The {% data variables.product.prodname_github_connect %} data connection record now includes a count of the number of active and dormant users and the configured dormancy period.
-
- heading: Performance Changes
+ heading: 性能更改
notes:
- WireGuard, used to secure communication between {% data variables.product.prodname_ghe_server %} instances in a High Availability configuration, has been migrated to the Kernel implementation.
-
@@ -141,7 +141,7 @@ sections:
#bugs:
#- PLACEHOLDER
known_issues:
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
@@ -151,7 +151,7 @@ sections:
- Actions services needs to be restarted after restoring appliance from backup taken on a different host.
deprecations:
-
- heading: Deprecation of GitHub Enterprise Server 3.0
+ heading: 弃用 GitHub Enterprise Server 3.0
notes:
- '**{% data variables.product.prodname_ghe_server %} 3.0 was discontinued on February 16, 2022**. This means that no patch releases will be made, even for critical security issues, after this date. For better performance, improved security, and new features, [upgrade to the newest version of {% data variables.product.prodname_ghe_server %}](/enterprise-server@3.4/admin/enterprise-management/upgrading-github-enterprise-server) as soon as possible.'
-
@@ -171,16 +171,16 @@ sections:
notes:
- 'The Codes of Conduct API preview, which was accessible with the `scarlet-witch-preview` header, is deprecated and no longer accessible in {% data variables.product.prodname_ghe_server %} 3.4. We instead recommend using the "[Get community profile metrics](/rest/reference/repos#get-community-profile-metrics)" endpoint to retrieve information about a repository''s code of conduct. For more information, see the "[Deprecation Notice: Codes of Conduct API preview](https://github.blog/changelog/2021-10-06-deprecation-notice-codes-of-conduct-api-preview/)" in the {% data variables.product.prodname_dotcom %} changelog.'
-
- heading: Deprecation of OAuth Application API endpoints and API authentication using query parameters
+ heading: OAuth 应用程序 API 端点的弃用和通过查询参数的 API 身份验证
notes:
- |
Starting with {% data variables.product.prodname_ghe_server %} 3.4, the [deprecated version of the OAuth Application API endpoints](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/#endpoints-affected) have been removed. If you encounter 404 error messages on these endpoints, convert your code to the versions of the OAuth Application API that do not have `access_tokens` in the URL. We've also disabled the use of API authentication using query parameters. We instead recommend using [API authentication in the request header](https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/#changes-to-make).
-
- heading: Deprecation of the CodeQL runner
+ heading: 废弃 CodeQL 运行器
notes:
- The {% data variables.product.prodname_codeql %} runner is deprecated in {% data variables.product.prodname_ghe_server %} 3.4 and is no longer supported. The deprecation only affects users who use {% data variables.product.prodname_codeql %} code scanning in third party CI/CD systems; {% data variables.product.prodname_actions %} users are not affected. We strongly recommend that customers migrate to the {% data variables.product.prodname_codeql %} CLI, which is a feature-complete replacement for the {% data variables.product.prodname_codeql %} runner. For more information, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-09-21-codeql-runner-deprecation/).
-
- heading: Deprecation of custom bit-cache extensions
+ heading: 废弃自定义位缓存扩展
notes:
- |
Starting in {% data variables.product.prodname_ghe_server %} 3.1, support for {% data variables.product.company_short %}'s proprietary bit-cache extensions began to be phased out. These extensions are deprecated in {% data variables.product.prodname_ghe_server %} 3.3 onwards.
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-4/0.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-4/0.yml
index b13d8dddbf..cde3bd02ac 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-4/0.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-4/0.yml
@@ -42,7 +42,7 @@ sections:
- The {% data variables.product.prodname_github_connect %} data connection record now includes a count of the number of active and dormant users and the configured dormancy period.
- You can now give users access to enterprise-specific links by adding custom footers to {% data variables.product.prodname_ghe_server %}. For more information, see "[Configuring custom footers](/admin/configuration/configuring-your-enterprise/configuring-custom-footers)."
-
- heading: Performance Changes
+ heading: 性能更改
notes:
- WireGuard, used to secure communication between {% data variables.product.prodname_ghe_server %} instances in a High Availability configuration, has been migrated to the Kernel implementation.
-
@@ -144,7 +144,7 @@ sections:
#bugs:
#- PLACEHOLDER
known_issues:
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
@@ -160,7 +160,7 @@ sections:
- Copy the SAML metadata, remove `WantAssertionsEncrypted` attribute, host it on a web server, and reconfigure the IdP to point to that URL.
deprecations:
-
- heading: Deprecation of GitHub Enterprise Server 3.0
+ heading: 弃用 GitHub Enterprise Server 3.0
notes:
- '**{% data variables.product.prodname_ghe_server %} 3.0 was discontinued on February 16, 2022**. This means that no patch releases will be made, even for critical security issues, after this date. For better performance, improved security, and new features, [upgrade to the newest version of {% data variables.product.prodname_ghe_server %}](/enterprise-server@3.4/admin/enterprise-management/upgrading-github-enterprise-server) as soon as possible.'
-
@@ -180,16 +180,16 @@ sections:
notes:
- 'The Codes of Conduct API preview, which was accessible with the `scarlet-witch-preview` header, is deprecated and no longer accessible in {% data variables.product.prodname_ghe_server %} 3.4. We instead recommend using the "[Get community profile metrics](/rest/reference/repos#get-community-profile-metrics)" endpoint to retrieve information about a repository''s code of conduct. For more information, see the "[Deprecation Notice: Codes of Conduct API preview](https://github.blog/changelog/2021-10-06-deprecation-notice-codes-of-conduct-api-preview/)" in the {% data variables.product.prodname_dotcom %} changelog.'
-
- heading: Deprecation of OAuth Application API endpoints and API authentication using query parameters
+ heading: OAuth 应用程序 API 端点的弃用和通过查询参数的 API 身份验证
notes:
- |
Starting with {% data variables.product.prodname_ghe_server %} 3.4, the [deprecated version of the OAuth Application API endpoints](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/#endpoints-affected) have been removed. If you encounter 404 error messages on these endpoints, convert your code to the versions of the OAuth Application API that do not have `access_tokens` in the URL. We've also disabled the use of API authentication using query parameters. We instead recommend using [API authentication in the request header](https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/#changes-to-make).
-
- heading: Deprecation of the CodeQL runner
+ heading: 废弃 CodeQL 运行器
notes:
- The {% data variables.product.prodname_codeql %} runner is deprecated in {% data variables.product.prodname_ghe_server %} 3.4 and is no longer supported. The deprecation only affects users who use {% data variables.product.prodname_codeql %} code scanning in third party CI/CD systems; {% data variables.product.prodname_actions %} users are not affected. We strongly recommend that customers migrate to the {% data variables.product.prodname_codeql %} CLI, which is a feature-complete replacement for the {% data variables.product.prodname_codeql %} runner. For more information, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-09-21-codeql-runner-deprecation/).
-
- heading: Deprecation of custom bit-cache extensions
+ heading: 废弃自定义位缓存扩展
notes:
- |
Starting in {% data variables.product.prodname_ghe_server %} 3.1, support for {% data variables.product.company_short %}'s proprietary bit-cache extensions began to be phased out. These extensions are deprecated in {% data variables.product.prodname_ghe_server %} 3.3 onwards.
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-4/1.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-4/1.yml
index cc3cea8307..6cf210773e 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-4/1.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-4/1.yml
@@ -40,7 +40,7 @@ sections:
- Using ghe-migrator or exporting from GitHub.com, an export would not include Pull Request attachments.
- Performance has been improved for web requests made by enterprise owners.
known_issues:
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
@@ -55,7 +55,7 @@ sections:
- Copy the SAML metadata, remove `WantAssertionsEncrypted` attribute, host it on a web server, and reconfigure the IdP to point to that URL.
deprecations:
-
- heading: Deprecation of GitHub Enterprise Server 3.0
+ heading: 弃用 GitHub Enterprise Server 3.0
notes:
- '**{% data variables.product.prodname_ghe_server %} 3.0 was discontinued on February 16, 2022**. This means that no patch releases will be made, even for critical security issues, after this date. For better performance, improved security, and new features, [upgrade to the newest version of {% data variables.product.prodname_ghe_server %}](/enterprise-server@3.4/admin/enterprise-management/upgrading-github-enterprise-server) as soon as possible.'
-
@@ -75,16 +75,16 @@ sections:
notes:
- 'The Codes of Conduct API preview, which was accessible with the `scarlet-witch-preview` header, is deprecated and no longer accessible in {% data variables.product.prodname_ghe_server %} 3.4. We instead recommend using the "[Get community profile metrics](/rest/reference/repos#get-community-profile-metrics)" endpoint to retrieve information about a repository''s code of conduct. For more information, see the "[Deprecation Notice: Codes of Conduct API preview](https://github.blog/changelog/2021-10-06-deprecation-notice-codes-of-conduct-api-preview/)" in the {% data variables.product.prodname_dotcom %} changelog.'
-
- heading: Deprecation of OAuth Application API endpoints and API authentication using query parameters
+ heading: OAuth 应用程序 API 端点的弃用和通过查询参数的 API 身份验证
notes:
- |
Starting with {% data variables.product.prodname_ghe_server %} 3.4, the [deprecated version of the OAuth Application API endpoints](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/#endpoints-affected) have been removed. If you encounter 404 error messages on these endpoints, convert your code to the versions of the OAuth Application API that do not have `access_tokens` in the URL. We've also disabled the use of API authentication using query parameters. We instead recommend using [API authentication in the request header](https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/#changes-to-make).
-
- heading: Deprecation of the CodeQL runner
+ heading: 废弃 CodeQL 运行器
notes:
- The {% data variables.product.prodname_codeql %} runner is deprecated in {% data variables.product.prodname_ghe_server %} 3.4 and is no longer supported. The deprecation only affects users who use {% data variables.product.prodname_codeql %} code scanning in third party CI/CD systems; {% data variables.product.prodname_actions %} users are not affected. We strongly recommend that customers migrate to the {% data variables.product.prodname_codeql %} CLI, which is a feature-complete replacement for the {% data variables.product.prodname_codeql %} runner. For more information, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-09-21-codeql-runner-deprecation/).
-
- heading: Deprecation of custom bit-cache extensions
+ heading: 废弃自定义位缓存扩展
notes:
- |
Starting in {% data variables.product.prodname_ghe_server %} 3.1, support for {% data variables.product.company_short %}'s proprietary bit-cache extensions began to be phased out. These extensions are deprecated in {% data variables.product.prodname_ghe_server %} 3.3 onwards.
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-4/2.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-4/2.yml
index 7021324b1a..6e55c7f0e5 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-4/2.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-4/2.yml
@@ -19,7 +19,7 @@ sections:
- Configuration errors that halt a config apply run are now output to the terminal in addition to the configuration log.
- If {% data variables.product.prodname_GH_advanced_security %} features are enabled on your instance, the performance of background jobs has improved when processing batches for repository contributions.
known_issues:
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
@@ -34,7 +34,7 @@ sections:
- Copy the SAML metadata, remove `WantAssertionsEncrypted` attribute, host it on a web server, and reconfigure the IdP to point to that URL.
deprecations:
-
- heading: Deprecation of GitHub Enterprise Server 3.0
+ heading: 弃用 GitHub Enterprise Server 3.0
notes:
- '**{% data variables.product.prodname_ghe_server %} 3.0 was discontinued on February 16, 2022**. This means that no patch releases will be made, even for critical security issues, after this date. For better performance, improved security, and new features, [upgrade to the newest version of {% data variables.product.prodname_ghe_server %}](/enterprise-server@3.4/admin/enterprise-management/upgrading-github-enterprise-server) as soon as possible.'
-
@@ -54,16 +54,16 @@ sections:
notes:
- 'The Codes of Conduct API preview, which was accessible with the `scarlet-witch-preview` header, is deprecated and no longer accessible in {% data variables.product.prodname_ghe_server %} 3.4. We instead recommend using the "[Get community profile metrics](/rest/reference/repos#get-community-profile-metrics)" endpoint to retrieve information about a repository''s code of conduct. For more information, see the "[Deprecation Notice: Codes of Conduct API preview](https://github.blog/changelog/2021-10-06-deprecation-notice-codes-of-conduct-api-preview/)" in the {% data variables.product.prodname_dotcom %} changelog.'
-
- heading: Deprecation of OAuth Application API endpoints and API authentication using query parameters
+ heading: OAuth 应用程序 API 端点的弃用和通过查询参数的 API 身份验证
notes:
- |
Starting with {% data variables.product.prodname_ghe_server %} 3.4, the [deprecated version of the OAuth Application API endpoints](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/#endpoints-affected) have been removed. If you encounter 404 error messages on these endpoints, convert your code to the versions of the OAuth Application API that do not have `access_tokens` in the URL. We've also disabled the use of API authentication using query parameters. We instead recommend using [API authentication in the request header](https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/#changes-to-make).
-
- heading: Deprecation of the CodeQL runner
+ heading: 废弃 CodeQL 运行器
notes:
- The {% data variables.product.prodname_codeql %} runner is deprecated in {% data variables.product.prodname_ghe_server %} 3.4 and is no longer supported. The deprecation only affects users who use {% data variables.product.prodname_codeql %} code scanning in third party CI/CD systems; {% data variables.product.prodname_actions %} users are not affected. We strongly recommend that customers migrate to the {% data variables.product.prodname_codeql %} CLI, which is a feature-complete replacement for the {% data variables.product.prodname_codeql %} runner. For more information, see the [{% data variables.product.prodname_dotcom %} changelog](https://github.blog/changelog/2021-09-21-codeql-runner-deprecation/).
-
- heading: Deprecation of custom bit-cache extensions
+ heading: 废弃自定义位缓存扩展
notes:
- |
Starting in {% data variables.product.prodname_ghe_server %} 3.1, support for {% data variables.product.company_short %}'s proprietary bit-cache extensions began to be phased out. These extensions are deprecated in {% data variables.product.prodname_ghe_server %} 3.3 onwards.
diff --git a/translations/zh-CN/data/release-notes/enterprise-server/3-5/0-rc1.yml b/translations/zh-CN/data/release-notes/enterprise-server/3-5/0-rc1.yml
index ca4042daa5..0b347b6ef8 100644
--- a/translations/zh-CN/data/release-notes/enterprise-server/3-5/0-rc1.yml
+++ b/translations/zh-CN/data/release-notes/enterprise-server/3-5/0-rc1.yml
@@ -334,7 +334,7 @@ sections:
- |
The CodeQL runner is deprecated in favor of the CodeQL CLI. GitHub Enterprise Server 3.4 and later no longer include the CodeQL runner. This deprecation only affects users who use CodeQL code scanning in 3rd party CI/CD systems. GitHub Actions users are not affected. GitHub strongly recommends that customers migrate to the CodeQL CLI, which is a feature-complete replacement for the CodeQL runner and has many additional features. For more information, see "[Migrating from the CodeQL runner to CodeQL CLI](/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/migrating-from-the-codeql-runner-to-codeql-cli)."
known_issues:
- - On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
+ - 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
diff --git a/translations/zh-CN/data/release-notes/github-ae/2021-06/2021-12-06.yml b/translations/zh-CN/data/release-notes/github-ae/2021-06/2021-12-06.yml
index af5fa71e1e..f6c4263b39 100644
--- a/translations/zh-CN/data/release-notes/github-ae/2021-06/2021-12-06.yml
+++ b/translations/zh-CN/data/release-notes/github-ae/2021-06/2021-12-06.yml
@@ -2,7 +2,7 @@
date: '2021-12-06'
friendlyDate: 'December 6, 2021'
title: 'December 6, 2021'
-currentWeek: true
+currentWeek: false
sections:
features:
-
diff --git a/translations/zh-CN/data/release-notes/github-ae/2022-05/2022-05-17.yml b/translations/zh-CN/data/release-notes/github-ae/2022-05/2022-05-17.yml
new file mode 100644
index 0000000000..a2bb879cb8
--- /dev/null
+++ b/translations/zh-CN/data/release-notes/github-ae/2022-05/2022-05-17.yml
@@ -0,0 +1,190 @@
+---
+date: '2022-05-17'
+friendlyDate: 'May 17, 2022'
+title: 'May 17, 2022'
+currentWeek: true
+sections:
+ features:
+ -
+ heading: 'GitHub Advanced Security features are generally available'
+ notes:
+ - |
+ Code scanning and secret scanning are now generally available for GitHub AE. For more information, see "[About code scanning](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About secret scanning](/code-security/secret-scanning/about-secret-scanning)."
+ - |
+ Custom patterns for secret scanning is now generally available. For more information, see "[Defining custom patterns for secret scanning](/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning)."
+ -
+ heading: 'View all code scanning alerts for a pull request'
+ notes:
+ - |
+ You can now find all code scanning alerts associated with your pull request with the new pull request filter on the code scanning alerts page. The pull request checks page shows the alerts introduced in a pull request, but not existing alerts on the pull request branch. The new "View all branch alerts" link on the Checks page takes you to the code scanning alerts page with the specific pull request filter already applied, so you can see all the alerts associated with your pull request. This can be useful to manage lots of alerts, and to see more detailed information for individual alerts. For more information, see "[Managing code scanning alerts for your repository](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository#filtering-code-scanning-alerts)."
+ -
+ heading: 'Security overview for organizations'
+ notes:
+ - |
+ GitHub Advanced Security now offers an organization-level view of the application security risks detected by code scanning, Dependabot, and secret scanning. The security overview shows the enablement status of security features on each repository, as well as the number of alerts detected.
+
+ In addition, the security overview lists all secret scanning alerts at the organization level. Similar views for Dependabot and code scanning alerts are coming in future releases. For more information, see "[About the security overview](/code-security/security-overview/about-the-security-overview)."
+
+ 
+ -
+ heading: '依赖关系图'
+ notes:
+ - |
+ Dependency graph is now available on GitHub AE. The dependency graph helps you understand the open source software that you depend on by parsing the dependency manifests checked into repositories. For more information, see "[About the dependency graph](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph)."
+ -
+ heading: 'Dependabot 警报'
+ notes:
+ - |
+ Dependabot alerts can now notify you of vulnerabilities in your dependencies on GitHub AE. You can enable Dependabot alerts by enabling the dependency graph, enabling GitHub Connect, and syncing vulnerabilities from the GitHub Advisory Database. This feature is in beta and subject to change. For more information, see "[About alerts for vulnerable dependencies](/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/about-alerts-for-vulnerable-dependencies)."
+
+ After you enable Dependabot alerts, members of your organization will receive notifications any time a new vulnerability that affects their dependencies is added to the GitHub Advisory Database or a vulnerable dependency is added to their manifest. Members can customize notification settings. For more information, see "[Configuring notifications for vulnerable dependencies](/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/configuring-notifications-for-vulnerable-dependencies)."
+ -
+ heading: 'Security manager role for organizations'
+ notes:
+ - |
+ Organizations can now grant teams permission to manage security alerts and settings on all their repositories. The "security manager" role can be applied to any team and grants the team's members the following permissions.
+
+ - Read access on all repositories in the organization
+ - Write access on all security alerts in the organization
+ - Access to the organization-level security tab
+ - Write access on security settings at the organization level
+ - Write access on security settings at the repository level
+
+ For more information, see "[Managing security managers in your organization](https://docs.github.com/en/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ -
+ heading: 'Ephemeral runners and autoscaling webhooks for GitHub Actions'
+ notes:
+ - |
+ GitHub AE now supports ephemeral (single job) self-hosted runners and a new [`workflow_job`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job) webhook to make autoscaling runners easier.
+
+ Ephemeral runners are good for self-managed environments where each job is required to run on a clean image. After a job is run, GitHub AE automatically unregisteres ephemeral runners, allowing you to perform any post-job management.
+
+ You can combine ephemeral runners with the new `workflow_job` webhook to automatically scale self-hosted runners in response to job requests from GitHub Actions.
+
+ For more information, see "[Autoscaling with self-hosted runners](/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners)" and "[Webhook events and payloads](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job)."
+ -
+ heading: 'Composite actions for GitHub Actions'
+ notes:
+ - |
+ You can reduce duplication in your workflows by using composition to reference other actions. Previously, actions written in YAML could only use scripts. For more information, see "[Creating a composite action](/actions/creating-actions/creating-a-composite-action)."
+ -
+ heading: 'New token scope for management of self-hosted runners'
+ notes:
+ - |
+ Managing self-hosted runners at the enterprise level no longer requires using personal access tokens with the `admin:enterprise` scope. You can instead use the `new manage_runners:enterprise` scope to restrict the permissions on your tokens. Tokens with this scope can authenticate to many REST API endpoints to manage your enterprise's self-hosted runners.
+ -
+ heading: 'Audit log accessible via REST API'
+ notes:
+ - |
+ You can now use the REST API to programmatically interface with the audit log. While audit log forwarding provides you with the ability to retain and analyze data with your own toolkit and determine patterns over time, the new REST API will help you perform limited analysis on events of note that have happened in recent history. For more information, see "[Reviewing the audit log for your organization](/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#using-the-rest-api)."
+ -
+ heading: 'Expiration dates for personal access tokens'
+ notes:
+ - |
+ You can now set an expiration date on new and existing personal access tokens. GitHub AE will send you an email when it's time to renew a token that's about to expire. Tokens that have expired can be regenerated, giving you a duplicate token with the same properties as the original. When using a token with the GitHub AE API, you'll see a new header, `GitHub-Authentication-Token-Expiration`, indicating the token's expiration date. You can use this in scripts, for example to log a warning message as the expiration date approaches. For more information, see "[Creating a personal access token](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)" and "[Getting started with the REST API](/rest/guides/getting-started-with-the-rest-api#using-personal-access-tokens)."
+ -
+ heading: 'Export a list of people with access to a repository'
+ notes:
+ - |
+ Organization owners can now export a list of the people with access to a repository in CSV format. For more information, see "[Viewing people with access to your repository](/organizations/managing-access-to-your-organizations-repositories/viewing-people-with-access-to-your-repository#exporting-a-list-of-people-with-access-to-your-repository)."
+ -
+ heading: 'Improved management of code review assignments'
+ notes:
+ - |
+ New settings to manage code review assignment code review assignment help distribute a team's pull request review across the team members so reviews aren't the responsibility of just one or two team members.
+
+ - Child team members: Limit assignment to only direct members of the team. Previously, team review requests could be assigned to direct members of the team or members of child teams.
+ - Count existing requests: Continue with automatic assignment even if one or more members of the team are already requested. Previously, a team member who was already requested would be counted as one of the team's automatic review requests.
+ - Team review request: Keep a team assigned to review even if one or more members is newly assigned.
+
+ For more information, see "[Managing code review settings for your team](/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team)."
+ -
+ heading: 'New themes'
+ notes:
+ - |
+ Two new themes are available for the GitHub AE web UI.
+
+ - A dark high contrast theme, with greater contrast between foreground and background elements
+ - Light and dark colorblind, which swap colors such as red and green for orange and blue
+
+ For more information, see "[Managing your theme settings](/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-your-theme-settings)."
+ -
+ heading: 'Markdown improvements'
+ notes:
+ - |
+ You can now use footnote syntax in any Markdown field to reference relevant information without disrupting the flow of your prose. Footnotes are displayed as superscript links. Click a footnote to jump to the reference, displayed in a new section at the bottom of the document. For more information, see "[Basic writing and formatting syntax](/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#footnotes)."
+ - |
+ You can now toggle between the source view and rendered Markdown view through the web UI by clicking the {% octicon "code" aria-label="The Code icon" %} button to "Display the source diff" at the top of any Markdown file. Previously, you needed to use the blame view to link to specific line numbers in the source of a Markdown file.
+ - |
+ You can now add images and videos to Markdown files in gists by pasting them into the Markdown body or selecting them from the dialog at the bottom of the Markdown file. For information about supported file types, see "[Attaching files](/github/writing-on-github/working-with-advanced-formatting/attaching-files)."
+ - |
+ GitHub AE now automatically generates a table of contents for Wikis, based on headings.
+ changes:
+ -
+ heading: '性能'
+ notes:
+ - |
+ 现在,对于具有许多 Git 引用的存储库,页面加载和作业的速度要快得多。
+ -
+ heading: '管理'
+ notes:
+ - |
+ The user impersonation process is improved. An impersonation session now requires a justification for the impersonation, actions are recorded in the audit log as being performed as an impersonated user, and the user who is impersonated will receive an email notification that they have been impersonated by an enterprise owner. For more information, see "[Impersonating a user](/admin/user-management/managing-users-in-your-enterprise/impersonating-a-user)."
+ -
+ heading: 'GitHub Actions'
+ notes:
+ - |
+ To mitigate insider man-in-the-middle attacks when using actions resolved through GitHub Connect to GitHub.com from GitHub AE, GitHub AE retires the actions namespace (`OWNER/NAME`) on use. Retiring the namespace prevents that namespace from being created in your enterprise, and ensures all workflows referencing the action will download it from GitHub.com. For more information, see "[Enabling automatic access to GitHub.com actions using GitHub Connect](/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect#automatic-retirement-of-namespaces-for-actions-accessed-on-githubcom)."
+ - |
+ The audit log now includes additional events for GitHub Actions. GitHub AE now records audit log entries for the following events.
+
+ - A self-hosted runner is registered or removed.
+ - A self-hosted runner is added to a runner group, or removed from a runner group.
+ - A runner group is created or removed.
+ - A workflow run is created or completed.
+ - A workflow job is prepared. Importantly, this log includes the list of secrets that were provided to the runner.
+
+ For more information, see "[Security hardening for GitHub Actions](/actions/security-guides/security-hardening-for-github-actions)."
+ -
+ heading: 'GitHub Advanced Security'
+ notes:
+ - |
+ Code scanning will now map alerts identified in `on:push` workflows to show up on pull requests, when possible. The alerts shown on the pull request are those identified by comparing the existing analysis of the head of the branch to the analysis for the target branch that you are merging against. Note that if the pull request's merge commit is not used, alerts can be less accurate when compared to the approach that uses `on:pull_request` triggers. For more information, see "[About code scanning with CodeQL](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-with-codeql)."
+
+ Some other CI/CD systems can exclusively be configured to trigger a pipeline when code is pushed to a branch, or even exclusively for every commit. Whenever such an analysis pipeline is triggered and results are uploaded to the SARIF API, code scanning will try to match the analysis results to an open pull request. If an open pull request is found, the results will be published as described above. For more information, see "[Uploading a SARIF file to GitHub](/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
+ - |
+ GitHub AE now detects secrets from additional providers. For more information, see "[Secret scanning patterns](/code-security/secret-scanning/secret-scanning-patterns#supported-secrets)."
+ -
+ heading: '拉取请求'
+ notes:
+ - |
+ The timeline and Reviewers sidebar on the pull request page now indicate if a review request was automatically assigned to one or more team members because that team uses code review assignment.
+
+ 
+ - |
+ You can now filter pull request searches to only include pull requests you are directly requested to review by choosing **Awaiting review from you**. For more information, see "[Searching issues and pull requests](https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests)."
+ - |
+ 如果在使用分支选择器菜单时指定分支的确切名称,则结果现在将显示在匹配分支列表的顶部。以前,确切的分支名称匹配项可能会显示在列表的底部。
+ - |
+ When viewing a branch that has a corresponding open pull request, GitHub AE now links directly to the pull request. Previously, there would be a prompt to contribute using branch comparison or to open a new pull request.
+ - |
+ You can now click a button to copy the full raw contents of a file to the clipboard. Previously, you would need to open the raw file, select all, and then copy. To copy the contents of a file, navigate to the file and click in the toolbar. Note that this feature is currently only available in some browsers.
+ - |
+ A warning is now displayed when viewing a file that contains bidirectional Unicode text. Bidirectional Unicode text can be interpreted or compiled differently than it appears in a user interface. For example, hidden bidirectional Unicode characters can be used to swap segments of text in a file. For more information about replacing these characters, see the [GitHub Changelog](https://github.blog/changelog/2021-10-31-warning-about-bidirectional-unicode-text/).
+ -
+ heading: '仓库'
+ notes:
+ - |
+ GitHub AE now includes enhanced support for _CITATION.cff_ files. _CITATION.cff_ files are plain text files with human- and machine-readable citation information. GitHub AE parses this information into convenient formats such as [APA](https://apastyle.apa.org) and [BibTeX](https://en.wikipedia.org/wiki/BibTeX) that can be copied by others. For more information, see "[About CITATION files](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files)."
+ - |
+ You can now add, delete, or view autolinks through the Repositories API's Autolinks endpoint. For more information, see "[Autolinked references and URLs](/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls)" and "[Repositories](/rest/reference/repos#autolinks)" in the REST API documentation.
+ -
+ heading: '版本发布'
+ notes:
+ - |
+ The tag selection component for GitHub releases is now a drop-down menu rather than a text field. For more information, see "[Managing releases in a repository](/repositories/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release)."
+ -
+ heading: 'Markdown'
+ notes:
+ - |
+ When dragging and dropping files such as images and videos into a Markdown editor, GitHub AE now uses the mouse pointer location instead of the cursor location when placing the file.
diff --git a/translations/zh-CN/data/reusables/actions/about-actions.md b/translations/zh-CN/data/reusables/actions/about-actions.md
index 995119f59d..78425ec818 100644
--- a/translations/zh-CN/data/reusables/actions/about-actions.md
+++ b/translations/zh-CN/data/reusables/actions/about-actions.md
@@ -1 +1 @@
-{% data variables.product.prodname_actions %} is a continuous integration and continuous delivery (CI/CD) platform that allows you to automate your build, test, and deployment pipeline.
+{% data variables.product.prodname_actions %} 是一个持续集成和持续交付 (CI/CD) 平台,可用于自动执行构建、测试和部署管道。
diff --git a/translations/zh-CN/data/reusables/actions/allow-specific-actions-intro.md b/translations/zh-CN/data/reusables/actions/allow-specific-actions-intro.md
index 50662d81b5..e9986bccbb 100644
--- a/translations/zh-CN/data/reusables/actions/allow-specific-actions-intro.md
+++ b/translations/zh-CN/data/reusables/actions/allow-specific-actions-intro.md
@@ -5,8 +5,8 @@
选择 {% data reusables.actions.policy-label-for-select-actions-workflows %} 时,允许本地操作{% if actions-workflow-policy %} 和可重用工作流程{% endif %} ,并且还有其他选项可用于允许其他特定操作{% if actions-workflow-policy %} 和可重用工作流程{% endif %}:
-- **允许 {% data variables.product.prodname_dotcom %} 创建的操作:** 您可以允许 {% data variables.product.prodname_dotcom %} 创建的所有操作用于工作流程。 {% data variables.product.prodname_dotcom %} 创建的操作位于 `actions` 和 `github` 组织中。 更多信息请参阅 [`actions`](https://github.com/actions) 和 [`github`](https://github.com/github) 组织。{% ifversion fpt or ghes or ghae-issue-5094 or ghec %}
-- **允许已验证的创建者执行市场操作:** {% ifversion ghes or ghae-issue-5094 %}此选项在您启用 {% data variables.product.prodname_github_connect %} 并配置了 {% data variables.product.prodname_actions %} 时可用。 更多信息请参阅“[使用 GitHub Connect 启用对 GitHub.com 操作的自动访问](/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect)”。{% endif %} 您可以允许工作流程使用由经过验证的创建者创建的所有 {% data variables.product.prodname_marketplace %} 操作。 如果 GitHub 验证该操作的创建者为合作伙伴组织,{% octicon "verified" aria-label="The verified badge" %} 徽章将显示在 {% data variables.product.prodname_marketplace %} 中的操作旁边。{% endif %}
+- **允许 {% data variables.product.prodname_dotcom %} 创建的操作:** 您可以允许 {% data variables.product.prodname_dotcom %} 创建的所有操作用于工作流程。 {% data variables.product.prodname_dotcom %} 创建的操作位于 `actions` 和 `github` 组织中。 更多信息请参阅 [`actions`](https://github.com/actions) 和 [`github`](https://github.com/github) 组织。{% ifversion fpt or ghes or ghae or ghec %}
+- **允许已验证的创建者执行市场操作:** {% ifversion ghes or ghae %}此选项在您启用 {% data variables.product.prodname_github_connect %} 并配置了 {% data variables.product.prodname_actions %} 时可用。 更多信息请参阅“[使用 GitHub Connect 启用对 GitHub.com 操作的自动访问](/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect)”。{% endif %} 您可以允许工作流程使用由经过验证的创建者创建的所有 {% data variables.product.prodname_marketplace %} 操作。 如果 GitHub 验证该操作的创建者为合作伙伴组织,{% octicon "verified" aria-label="The verified badge" %} 徽章将显示在 {% data variables.product.prodname_marketplace %} 中的操作旁边。{% endif %}
- **允许指定的操作{% if actions-workflow-policy %} 和可重用工作流程{% endif %}:** 可以将工作流程限制为使用特定组织和存储库中的操作{% if actions-workflow-policy %} 和可重用工作流程{% endif %}。
要限制对特定标记的访问或者操作{% if actions-workflow-policy %} 或可重用工作流程{% endif %} 的提交 SHA,请使用工作流中使用的相同语法来选择操作{% if actions-workflow-policy %} 或可重用工作流程{% endif %}。
diff --git a/translations/zh-CN/data/reusables/actions/introducing-enterprise.md b/translations/zh-CN/data/reusables/actions/introducing-enterprise.md
index 60cb001dfd..7f50bb7255 100644
--- a/translations/zh-CN/data/reusables/actions/introducing-enterprise.md
+++ b/translations/zh-CN/data/reusables/actions/introducing-enterprise.md
@@ -1 +1 @@
-Before you get started, you should make a plan for how you'll introduce {% data variables.product.prodname_actions %} to your enterprise. For more information, see "[Introducing {% data variables.product.prodname_actions %} to your enterprise](/admin/github-actions/getting-started-with-github-actions-for-your-enterprise/introducing-github-actions-to-your-enterprise)."
+在开始之前,您应该制定一个计划,说明如何将 {% data variables.product.prodname_actions %} 引入企业。 更多信息请参阅“[为企业引入 {% data variables.product.prodname_actions %}](/admin/github-actions/getting-started-with-github-actions-for-your-enterprise/introducing-github-actions-to-your-enterprise)”。
diff --git a/translations/zh-CN/data/reusables/actions/jobs/using-matrix-strategy.md b/translations/zh-CN/data/reusables/actions/jobs/using-matrix-strategy.md
index 7b5a237d79..f2e7a52ba5 100644
--- a/translations/zh-CN/data/reusables/actions/jobs/using-matrix-strategy.md
+++ b/translations/zh-CN/data/reusables/actions/jobs/using-matrix-strategy.md
@@ -1,4 +1,4 @@
-Use `jobs..strategy.matrix` to define a matrix of different job configurations. Within your matrix, define one or more variables followed by an array of values. For example, the following matrix has a veriable called `version` with the value `[10, 12, 14]` and a variable called `os` with the value `[ubuntu-latest, windows-latest]`:
+Use `jobs..strategy.matrix` to define a matrix of different job configurations. Within your matrix, define one or more variables followed by an array of values. For example, the following matrix has a variable called `version` with the value `[10, 12, 14]` and a variable called `os` with the value `[ubuntu-latest, windows-latest]`:
```yaml
jobs:
diff --git a/translations/zh-CN/data/reusables/actions/message-parameters.md b/translations/zh-CN/data/reusables/actions/message-parameters.md
index 9e5eee6dd1..146c2f14bb 100644
--- a/translations/zh-CN/data/reusables/actions/message-parameters.md
+++ b/translations/zh-CN/data/reusables/actions/message-parameters.md
@@ -1 +1 @@
-| 参数 | 值 | | :- | :- |{% ifversion fpt or ghes > 3.2 or ghae-issue-4929 or ghec %} | `title` | 自定义标题 |{% endif %} | `file` | 文件名 | | `col` | 列号,从 1 开始 |{% ifversion fpt or ghes > 3.2 or ghae-issue-4929 or ghec %} | `endColumn` | 结束列号 |{% endif %} | `line` | 行号,从 1 开始 |{% ifversion fpt or ghes > 3.2 or ghae-issue-4929 or ghec %} | `endLine` | 结束行号 |{% endif %}
+| 参数 | 值 | | :- | :- |{% ifversion fpt or ghes > 3.2 or ghae or ghec %} | `title` | 自定义标题 |{% endif %} | `file` | 文件名 | | `col` | 列号,从 1 开始 |{% ifversion fpt or ghes > 3.2 or ghae or ghec %} | `endColumn` | 结束列号 |{% endif %} | `line` | 行号,从 1 开始 |{% ifversion fpt or ghes > 3.2 or ghae or ghec %} | `endLine` | 结束行号 |{% endif %}
diff --git a/translations/zh-CN/data/reusables/actions/self-hosted-runner-ports-protocols.md b/translations/zh-CN/data/reusables/actions/self-hosted-runner-ports-protocols.md
index a24c445d1b..a905a163f9 100644
--- a/translations/zh-CN/data/reusables/actions/self-hosted-runner-ports-protocols.md
+++ b/translations/zh-CN/data/reusables/actions/self-hosted-runner-ports-protocols.md
@@ -1,3 +1,3 @@
{% ifversion ghes or ghae %}
-The connection between self-hosted runners and {% data variables.product.product_name %} is over {% ifversion ghes %}HTTP (port 80) or {% endif %}HTTPS (port 443). {% ifversion ghes %}To ensure connectivity over HTTPS, configure TLS for {% data variables.product.product_location %}. For more information, see "[Configuring TLS](/admin/configuration/configuring-network-settings/configuring-tls)."{% endif %}
+自托管运行器与 {% data variables.product.product_name %} 之间的连接通过{% ifversion ghes %}HTTP(端口 80)或 {% endif %}HTTPS(端口 443)。 {% ifversion ghes %}要确保通过 HTTPS 的连接,请为 {% data variables.product.product_location %} 配置 TLS。 更多信息请参阅“[配置 TLS](/admin/configuration/configuring-network-settings/configuring-tls)”。{% endif %}
{% endif %}
diff --git a/translations/zh-CN/data/reusables/advanced-security/check-for-ghas-license.md b/translations/zh-CN/data/reusables/advanced-security/check-for-ghas-license.md
index 9fcc39ac76..8e041aa334 100644
--- a/translations/zh-CN/data/reusables/advanced-security/check-for-ghas-license.md
+++ b/translations/zh-CN/data/reusables/advanced-security/check-for-ghas-license.md
@@ -1 +1 @@
-You can identify if your enterprise has a {% data variables.product.prodname_GH_advanced_security %} license by reviewing your enterprise settings. For more information, see "[Enabling GitHub Advanced Security for your enterprise](/admin/advanced-security/enabling-github-advanced-security-for-your-enterprise#checking-whether-your-license-includes-github-advanced-security)."
+您可以通过查看企业设置来确定您的企业是否具有 {% data variables.product.prodname_GH_advanced_security %} 许可证。 更多信息请参阅“[为企业启用 GitHub Advanced Security](/admin/advanced-security/enabling-github-advanced-security-for-your-enterprise#checking-whether-your-license-includes-github-advanced-security)”。
diff --git a/translations/zh-CN/data/reusables/apps/deprecating_auth_with_query_parameters.md b/translations/zh-CN/data/reusables/apps/deprecating_auth_with_query_parameters.md
index 80a1833994..1c83fc9695 100644
--- a/translations/zh-CN/data/reusables/apps/deprecating_auth_with_query_parameters.md
+++ b/translations/zh-CN/data/reusables/apps/deprecating_auth_with_query_parameters.md
@@ -1,4 +1,3 @@
-{% ifversion fpt or ghes or ghae or ghec %}
{% warning %}
**Deprecation Notice:** {% data variables.product.prodname_dotcom %} will discontinue authentication to the API using query parameters. Authenticating to the API should be done with [HTTP basic authentication](/rest/overview/other-authentication-methods#via-oauth-and-personal-access-tokens).{% ifversion fpt or ghec %} Using query parameters to authenticate to the API will no longer work on May 5, 2021. {% endif %} For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/).
@@ -6,4 +5,3 @@
{% ifversion ghes or ghae %} Authentication to the API using query parameters while available is no longer supported due to security concerns. Instead we recommend integrators move their access token, `client_id`, or `client_secret` in the header. {% data variables.product.prodname_dotcom %} will announce the removal of authentication by query parameters with advanced notice. {% endif %}
{% endwarning %}
-{% endif %}
diff --git a/translations/zh-CN/data/reusables/audit_log/audit-log-action-categories.md b/translations/zh-CN/data/reusables/audit_log/audit-log-action-categories.md
index 640b27704e..b4c6fa7e40 100644
--- a/translations/zh-CN/data/reusables/audit_log/audit-log-action-categories.md
+++ b/translations/zh-CN/data/reusables/audit_log/audit-log-action-categories.md
@@ -28,13 +28,13 @@
{%- ifversion ghes %}
| `config_entry` | Contains activities related to configuration settings. 这些事件仅在站点管理员审核日志中可见。
{%- endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-4864 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
| `dependabot_alerts` | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_alerts %} in existing repositories. 更多信息请参阅“[关于易受攻击的依赖项的警报](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)”。 | `dependabot_alerts_new_repos` | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_alerts %} in new repositories created in the organization. | `dependabot_repository_access` | Contains activities related to which private repositories in an organization {% data variables.product.prodname_dependabot %} is allowed to access.
{%- endif %}
{%- ifversion fpt or ghec or ghes > 3.2 %}
| `dependabot_security_updates` | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_security_updates %} in existing repositories. 更多信息请参阅“[配置 {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/configuring-dependabot-security-updates)。” | `dependabot_security_updates_new_repos` | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_security_updates %} for new repositories created in the organization.
{%- endif %}
-{%- ifversion fpt or ghec or ghes or ghae-issue-4864 %}
+{%- ifversion fpt or ghec or ghes or ghae %}
| `dependency_graph` | Contains organization-level configuration activities for dependency graphs for repositories. 更多信息请参阅“[关于依赖关系图](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph)”。 | `dependency_graph_new_repos` | Contains organization-level configuration activities for new repositories created in the organization.
{%- endif %}
{%- ifversion fpt or ghec %}
@@ -116,7 +116,7 @@
{%- ifversion fpt or ghec %}
| `repository_visibility_change` | Contains activities related to allowing organization members to change repository visibilities for the organization.
{%- endif %}
-{%- ifversion fpt or ghec or ghes or ghae-issue-4864 %}
+{%- ifversion fpt or ghec or ghes or ghae %}
| `repository_vulnerability_alert` | Contains activities related to [{% data variables.product.prodname_dependabot_alerts %} for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies).
{%- endif %}
{%- ifversion fpt or ghec %}
diff --git a/translations/zh-CN/data/reusables/cli/filter-issues-and-pull-requests-tip.md b/translations/zh-CN/data/reusables/cli/filter-issues-and-pull-requests-tip.md
index bd54057f7e..a574398f81 100644
--- a/translations/zh-CN/data/reusables/cli/filter-issues-and-pull-requests-tip.md
+++ b/translations/zh-CN/data/reusables/cli/filter-issues-and-pull-requests-tip.md
@@ -1,7 +1,5 @@
-{% ifversion fpt or ghes or ghae or ghec %}
{% tip %}
**提示**:您也可以使用 {% data variables.product.prodname_cli %} 过滤议题或拉取请求。 更多信息请参阅 {% data variables.product.prodname_cli %} 文档中的 "[`gh issue list`](https://cli.github.com/manual/gh_issue_list)" 或 "[`gh pr list`](https://cli.github.com/manual/gh_pr_list)"。
{% endtip %}
-{% endif %}
diff --git a/translations/zh-CN/data/reusables/code-scanning/alert-tracking-link.md b/translations/zh-CN/data/reusables/code-scanning/alert-tracking-link.md
index 25b7b94f3b..b8d7a4ae28 100644
--- a/translations/zh-CN/data/reusables/code-scanning/alert-tracking-link.md
+++ b/translations/zh-CN/data/reusables/code-scanning/alert-tracking-link.md
@@ -1,2 +1,2 @@
-For more information about creating issues to track {% data variables.product.prodname_code_scanning %} alerts, see "[Tracking {% data variables.product.prodname_code_scanning %} alerts in issues using task lists](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/tracking-code-scanning-alerts-in-issues-using-task-lists)."
+有关创建议题以跟踪 {% data variables.product.prodname_code_scanning %} 警报的详细信息,请参阅“[使用任务列表跟踪议题中的 {% data variables.product.prodname_code_scanning %} 警报](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/tracking-code-scanning-alerts-in-issues-using-task-lists)”。
diff --git a/translations/zh-CN/data/reusables/code-scanning/beta-alert-tracking-in-issues.md b/translations/zh-CN/data/reusables/code-scanning/beta-alert-tracking-in-issues.md
index a3d0bf5c2a..ccf377e20c 100644
--- a/translations/zh-CN/data/reusables/code-scanning/beta-alert-tracking-in-issues.md
+++ b/translations/zh-CN/data/reusables/code-scanning/beta-alert-tracking-in-issues.md
@@ -2,9 +2,9 @@
{% note %}
-**Note:** The tracking of {% data variables.product.prodname_code_scanning %} alerts in issues is in beta and subject to change.
+**注意:** 议题中 {% data variables.product.prodname_code_scanning %} 警报的跟踪处于测试阶段,可能会发生更改。
-This feature supports running analysis natively using {% data variables.product.prodname_actions %} or externally using existing CI/CD infrastructure, as well as third-party {% data variables.product.prodname_code_scanning %} tools, but _not_ third-party tracking tools.
+此功能支持使用 {% data variables.product.prodname_actions %} 在本地运行分析,或使用现有 CI/CD 基础结构以及第三方 {% data variables.product.prodname_code_scanning %} 工具在外部运行分析,但_不_使用第三方跟踪工具。
{% endnote %}
{% endif %}
diff --git a/translations/zh-CN/data/reusables/code-scanning/beta.md b/translations/zh-CN/data/reusables/code-scanning/beta.md
index 42bf4638be..bf3f2b88e5 100644
--- a/translations/zh-CN/data/reusables/code-scanning/beta.md
+++ b/translations/zh-CN/data/reusables/code-scanning/beta.md
@@ -1,4 +1,4 @@
-{% ifversion ghae-issue-5752 %}
+{% ifversion ghae %}
diff --git a/translations/zh-CN/data/reusables/code-scanning/github-issues-integration.md b/translations/zh-CN/data/reusables/code-scanning/github-issues-integration.md
index e382a70813..7d8b33308b 100644
--- a/translations/zh-CN/data/reusables/code-scanning/github-issues-integration.md
+++ b/translations/zh-CN/data/reusables/code-scanning/github-issues-integration.md
@@ -1,3 +1,3 @@
-{% data variables.product.prodname_code_scanning_capc %} alerts integrate with task lists in {% data variables.product.prodname_github_issues %} to make it easy for you to prioritize and track alerts with all your development work. 有关议题的更多信息,请参阅“[关于议题](/issues/tracking-your-work-with-issues/about-issues)”。
+{% data variables.product.prodname_code_scanning_capc %} 警报与 {% data variables.product.prodname_github_issues %} 中的任务列表集成,可让您轻松地在所有开发工作中确定警报的优先级并进行跟踪。 有关议题的更多信息,请参阅“[关于议题](/issues/tracking-your-work-with-issues/about-issues)”。
-To track a code scanning alert in an issue, add the URL for the alert as a task list item in the issue. For more information about task lists, see "[About tasks lists](/issues/tracking-your-work-with-issues/about-task-lists)."
+要跟踪议题中的代码扫描警报,请将警报的 URL 添加为议题中的任务列表项。 有关任务列表的更多信息,请参阅“[关于任务列表](/issues/tracking-your-work-with-issues/about-task-lists)”。
diff --git a/translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates-onboarding.md b/translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates-onboarding.md
index f50ef78f03..a71f8d2aa1 100644
--- a/translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates-onboarding.md
+++ b/translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates-onboarding.md
@@ -2,7 +2,7 @@
{% note %}
-**Note:** Dependabot security updates and version updates are currently available for {% data variables.product.prodname_ghe_cloud %} and in beta for {% data variables.product.prodname_ghe_server %} 3.3. Please [contact your account management team](https://enterprise.github.com/contact) for instructions on enabling Dependabot updates.
+**注意:** Dependabot 安全更新和版本更新目前可用于 {% data variables.product.prodname_ghe_cloud %} 以及 {% data variables.product.prodname_ghe_server %} 3.3 的测试版。 请[联系您的客户管理团队](https://enterprise.github.com/contact),以获取有关启用 Dependabot 更新的说明。
{% endnote %}
diff --git a/translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates.md b/translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates.md
index 948349fcb4..4b95df8409 100644
--- a/translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates.md
+++ b/translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates.md
@@ -2,9 +2,9 @@
{% note %}
{% ifversion ghes = 3.4 %}
-**Note:** {% data variables.product.prodname_dependabot %} security and version updates are currently in public beta and subject to change.
+**注意:** {% data variables.product.prodname_dependabot %} 安全和版本更新目前处于公开测试阶段,可能会发生更改。
{% else %}
-**Note:** {% data variables.product.prodname_dependabot %} security and version updates are currently in private beta and subject to change. Please [contact your account management team](https://enterprise.github.com/contact) for instructions on enabling Dependabot updates.
+**注意:** {% data variables.product.prodname_dependabot %} 安全和版本更新目前处于私密测试阶段,可能会发生更改。 请[联系您的客户管理团队](https://enterprise.github.com/contact),以获取有关启用 Dependabot 更新的说明。
{% endif %}
{% endnote %}
@@ -15,7 +15,7 @@
{% note %}
-**Note:** {% data variables.product.prodname_dependabot %} security and version updates are currently in public beta and subject to change.
+**注意:** {% data variables.product.prodname_dependabot %} 安全和版本更新目前处于公开测试阶段,可能会发生更改。
{% endnote %}
{% endif %}
diff --git a/translations/zh-CN/data/reusables/dependabot/dependabot-alerts-beta.md b/translations/zh-CN/data/reusables/dependabot/dependabot-alerts-beta.md
index 4b2b4947b8..10551d51b8 100644
--- a/translations/zh-CN/data/reusables/dependabot/dependabot-alerts-beta.md
+++ b/translations/zh-CN/data/reusables/dependabot/dependabot-alerts-beta.md
@@ -1,4 +1,4 @@
-{% ifversion ghae-issue-4864 %}
+{% ifversion ghae %}
{% note %}
**注意:**{% data variables.product.prodname_dependabot_alerts %} 目前处于测试阶段,可能会更改。
diff --git a/translations/zh-CN/data/reusables/dependabot/dependabot-alerts-dependency-graph-enterprise.md b/translations/zh-CN/data/reusables/dependabot/dependabot-alerts-dependency-graph-enterprise.md
index d5ae9b8415..930c6ac941 100644
--- a/translations/zh-CN/data/reusables/dependabot/dependabot-alerts-dependency-graph-enterprise.md
+++ b/translations/zh-CN/data/reusables/dependabot/dependabot-alerts-dependency-graph-enterprise.md
@@ -1,3 +1,3 @@
-{% ifversion ghes or ghae-issue-4864 %}
+{% ifversion ghes or ghae %}
Enterprise owners can configure {% ifversion ghes %}the dependency graph and {% endif %}{% data variables.product.prodname_dependabot_alerts %} for an enterprise. For more information, see {% ifversion ghes %}"[Enabling the dependency graph for your enterprise](/admin/code-security/managing-supply-chain-security-for-your-enterprise/enabling-the-dependency-graph-for-your-enterprise)" and {% endif %}"[Enabling {% data variables.product.prodname_dependabot %} for your enterprise](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)."
{% endif %}
diff --git a/translations/zh-CN/data/reusables/dependabot/enterprise-enable-dependabot.md b/translations/zh-CN/data/reusables/dependabot/enterprise-enable-dependabot.md
index 5371719aaa..1df0abf905 100644
--- a/translations/zh-CN/data/reusables/dependabot/enterprise-enable-dependabot.md
+++ b/translations/zh-CN/data/reusables/dependabot/enterprise-enable-dependabot.md
@@ -2,7 +2,7 @@
{% note %}
-**Note:** Your site administrator must set up {% data variables.product.prodname_dependabot_updates %} for {% data variables.product.product_location %} before you can use this feature. 更多信息请参阅“[为企业启用 {% data variables.product.prodname_dependabot %}](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)”。
+**Note:** Your site administrator must set up {% data variables.product.prodname_dependabot_updates %} for {% data variables.product.product_location %} before you can use this feature. For more information, see "[Enabling {% data variables.product.prodname_dependabot %} for your enterprise](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)."
{% endnote %}
diff --git a/translations/zh-CN/data/reusables/enterprise/create-an-enterprise-account.md b/translations/zh-CN/data/reusables/enterprise/create-an-enterprise-account.md
index 031039863b..97c8410a24 100644
--- a/translations/zh-CN/data/reusables/enterprise/create-an-enterprise-account.md
+++ b/translations/zh-CN/data/reusables/enterprise/create-an-enterprise-account.md
@@ -1 +1 @@
-If you currently use {% data variables.product.prodname_ghe_cloud %} with a single organization, we encourage you to create an enterprise account.
+如果您目前在单个组织中使用 {% data variables.product.prodname_ghe_cloud %} ,我们建议您创建一个企业帐户。
diff --git a/translations/zh-CN/data/reusables/enterprise/repository-caching-config-summary.md b/translations/zh-CN/data/reusables/enterprise/repository-caching-config-summary.md
index 73fde0a21b..1dadf049f6 100644
--- a/translations/zh-CN/data/reusables/enterprise/repository-caching-config-summary.md
+++ b/translations/zh-CN/data/reusables/enterprise/repository-caching-config-summary.md
@@ -1 +1 @@
-You can configure repository caching by creating a special type of replica called a repository cache.
+您可以通过创建一种称为存储库缓存的特殊类型的副本来配置存储库缓存。
diff --git a/translations/zh-CN/data/reusables/enterprise/repository-caching-release-phase.md b/translations/zh-CN/data/reusables/enterprise/repository-caching-release-phase.md
index a6035dfd4f..7287ae406d 100644
--- a/translations/zh-CN/data/reusables/enterprise/repository-caching-release-phase.md
+++ b/translations/zh-CN/data/reusables/enterprise/repository-caching-release-phase.md
@@ -1,5 +1,5 @@
{% note %}
-**Note:** Repository caching is currently in beta and subject to change.
+**注意:** 存储库缓存目前处于测试阶段,可能会发生更改。
{% endnote %}
diff --git a/translations/zh-CN/data/reusables/gated-features/dependency-review.md b/translations/zh-CN/data/reusables/gated-features/dependency-review.md
index 9fc21444cb..63777f00ca 100644
--- a/translations/zh-CN/data/reusables/gated-features/dependency-review.md
+++ b/translations/zh-CN/data/reusables/gated-features/dependency-review.md
@@ -7,7 +7,7 @@
{%- elsif ghes > 3.1 %}
依赖项审查适用于 {% data variables.product.product_name %} 中的组织拥有的存储库。 此功能需要 {% data variables.product.prodname_GH_advanced_security %} 的许可证。
-{%- elsif ghae-issue-4864 %}
+{%- elsif ghae %}
依赖项审查适用于 {% data variables.product.product_name %} 中的组织拥有的存储库。 这是一项 {% data variables.product.prodname_GH_advanced_security %} 功能(在测试版期间免费)。
-{%- endif %} {% data reusables.advanced-security.more-info-ghas %}
\ No newline at end of file
+{%- endif %} {% data reusables.advanced-security.more-info-ghas %}
diff --git a/translations/zh-CN/data/reusables/identity-and-permissions/team-sync-confirm-scim.md b/translations/zh-CN/data/reusables/identity-and-permissions/team-sync-confirm-scim.md
index 2cadcc5846..1b35caaa6f 100644
--- a/translations/zh-CN/data/reusables/identity-and-permissions/team-sync-confirm-scim.md
+++ b/translations/zh-CN/data/reusables/identity-and-permissions/team-sync-confirm-scim.md
@@ -1 +1 @@
-1. We recommend you confirm that your users have SAML enabled and have a linked SCIM identity to avoid potential provisioning errors. For help auditing your users, see "[Auditing users for missing SCIM metadata](/organizations/managing-saml-single-sign-on-for-your-organization/troubleshooting-identity-and-access-management#auditing-users-for-missing-scim-metadata)." For help resolving unlinked SCIM identities, see "[Troubleshooting identity and access management](/organizations/managing-saml-single-sign-on-for-your-organization/troubleshooting-identity-and-access-management)."
+1. 建议确认您的用户已启用 SAML 并具有链接的 SCIM 标识,以避免潜在的预配错误。 For help auditing your users, see "[Auditing users for missing SCIM metadata](/organizations/managing-saml-single-sign-on-for-your-organization/troubleshooting-identity-and-access-management#auditing-users-for-missing-scim-metadata)." For help resolving unlinked SCIM identities, see "[Troubleshooting identity and access management](/organizations/managing-saml-single-sign-on-for-your-organization/troubleshooting-identity-and-access-management)."
diff --git a/translations/zh-CN/data/reusables/notifications/vulnerable-dependency-notification-delivery-method-customization.md b/translations/zh-CN/data/reusables/notifications/vulnerable-dependency-notification-delivery-method-customization.md
index c59d32ea72..cb54ff0e81 100644
--- a/translations/zh-CN/data/reusables/notifications/vulnerable-dependency-notification-delivery-method-customization.md
+++ b/translations/zh-CN/data/reusables/notifications/vulnerable-dependency-notification-delivery-method-customization.md
@@ -1,4 +1,4 @@
-{% ifversion fpt or ghes or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes or ghae or ghec %}
您可以选择
您关注或已订阅安全警报通知的仓库中 {% data variables.product.prodname_dependabot_alerts %} 通知的递送方式和频率。
{% endif %}
diff --git a/translations/zh-CN/data/reusables/notifications/vulnerable-dependency-notification-options.md b/translations/zh-CN/data/reusables/notifications/vulnerable-dependency-notification-options.md
index 8d2b81380d..96569a17c1 100644
--- a/translations/zh-CN/data/reusables/notifications/vulnerable-dependency-notification-options.md
+++ b/translations/zh-CN/data/reusables/notifications/vulnerable-dependency-notification-options.md
@@ -1,5 +1,5 @@
-{% ifversion fpt or ghes > 3.1 or ghae-issue-4864 or ghec %}
-{% ifversion fpt or ghec %}By default, you will receive notifications:{% endif %}{% ifversion ghes > 3.1 or ghae-issue-4864 %}By default, if your enterprise owner has configured email for notifications on your instance, you will receive {% data variables.product.prodname_dependabot_alerts %}:{% endif %}
+{% ifversion fpt or ghes > 3.1 or ghae or ghec %}
+{% ifversion fpt or ghec %}By default, you will receive notifications:{% endif %}{% ifversion ghes > 3.1 or ghae %}By default, if your enterprise owner has configured email for notifications on your instance, you will receive {% data variables.product.prodname_dependabot_alerts %}:{% endif %}
- by email, an email is sent when {% data variables.product.prodname_dependabot %} is enabled for a repository, when a new manifest file is committed to the repository, and when a new vulnerability with a critical or high severity is found (**Email each time a vulnerability is found** option).
- in the user interface, a warning is shown in your repository's file and code views if there are any vulnerable dependencies (**UI alerts** option).
diff --git a/translations/zh-CN/data/reusables/organizations/security-overview-feature-specific-page.md b/translations/zh-CN/data/reusables/organizations/security-overview-feature-specific-page.md
new file mode 100644
index 0000000000..e9e1e1efd0
--- /dev/null
+++ b/translations/zh-CN/data/reusables/organizations/security-overview-feature-specific-page.md
@@ -0,0 +1 @@
+1. 或者,也可以使用左侧边栏按安全功能筛选信息。 On each page, you can use filters that are specific to that feature to fine-tune your search.
diff --git a/translations/zh-CN/data/reusables/organizations/team_maintainers_can.md b/translations/zh-CN/data/reusables/organizations/team_maintainers_can.md
index f40ccc6000..d2b271143c 100644
--- a/translations/zh-CN/data/reusables/organizations/team_maintainers_can.md
+++ b/translations/zh-CN/data/reusables/organizations/team_maintainers_can.md
@@ -10,6 +10,6 @@
- [添加组织成员到团队](/articles/adding-organization-members-to-a-team)
- [从团队中删除组织成员](/articles/removing-organization-members-from-a-team)
- [将组织成员升级为团队维护员](/organizations/organizing-members-into-teams/assigning-the-team-maintainer-role-to-a-team-member)
-- 删除团队对仓库的访问权限{% ifversion fpt or ghes or ghae or ghec %}
-- [管理团队的代码审查设置](/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team){% endif %}{% ifversion fpt or ghec %}
+- 删除团队对仓库的访问权限
+- [管理团队的代码审查设置](/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team){% ifversion fpt or ghec %}
- [管理拉取请求的预定提醒](/github/setting-up-and-managing-organizations-and-teams/managing-scheduled-reminders-for-pull-requests){% endif %}
diff --git a/translations/zh-CN/data/reusables/pull_requests/close-issues-using-keywords.md b/translations/zh-CN/data/reusables/pull_requests/close-issues-using-keywords.md
index 470dc8e298..d84408d37d 100644
--- a/translations/zh-CN/data/reusables/pull_requests/close-issues-using-keywords.md
+++ b/translations/zh-CN/data/reusables/pull_requests/close-issues-using-keywords.md
@@ -1 +1 @@
-您可以将拉取请求链接到议题,以便{% ifversion fpt or ghes or ghae or ghec %}显示正在进行修复并{% endif %}在有人合并拉取请求时自动关闭议题。 更多信息请参阅“[将拉取请求链接到议题](/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue)”。
+You can link a pull request to an issue to show that a fix is in progress and to automatically close the issue when someone merges the pull request. 更多信息请参阅“[将拉取请求链接到议题](/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue)”。
diff --git a/translations/zh-CN/data/reusables/repositories/copy-clone-url.md b/translations/zh-CN/data/reusables/repositories/copy-clone-url.md
index d3c58d03ac..2c3ab6fcf6 100644
--- a/translations/zh-CN/data/reusables/repositories/copy-clone-url.md
+++ b/translations/zh-CN/data/reusables/repositories/copy-clone-url.md
@@ -1,6 +1,6 @@
1. 在文件列表上方,单击 {% octicon "download" aria-label="The download icon" %} ****Code(代码)。 
-1. Copy the URL for the repository.
+1. 复制存储库的 URL。
- - To clone the repository using HTTPS, under "HTTPS", click {% octicon "clippy" aria-label="The clipboard icon" %}.
+ - 要使用 HTTPS 克隆仓库,在“HTTPS”下单击 {% octicon "clippy" aria-label="The clipboard icon" %}。
- 要使用 SSH 密钥克隆仓库,包括组织的 SSH 认证中心颁发的证书,单击 **SSH**,然后单击 {% octicon "clippy" aria-label="The clipboard icon" %}。
- - To clone a repository using {% data variables.product.prodname_cli %}, click **{% data variables.product.prodname_cli %}**, then click {% octicon "clippy" aria-label="The clipboard icon" %}. 
+ - 要使用 {% data variables.product.prodname_cli %} 克隆存储库,请单击 **{% data variables.product.prodname_cli %}**,然后单击 {% octicon "clippy" aria-label="The clipboard icon" %}。 
diff --git a/translations/zh-CN/data/reusables/repositories/default-issue-templates.md b/translations/zh-CN/data/reusables/repositories/default-issue-templates.md
index c4852ecff5..68717ba0c6 100644
--- a/translations/zh-CN/data/reusables/repositories/default-issue-templates.md
+++ b/translations/zh-CN/data/reusables/repositories/default-issue-templates.md
@@ -1,2 +1 @@
-您可以创建默认的议题模板{% ifversion fpt or ghes or ghae or ghec %} 和议题模板的默认配置文件{% endif %},适用于您的组织{% ifversion fpt or ghes or ghae or ghec %} 或个人帐户{% endif %}。 更多信息请参阅“[创建默认社区健康文件](/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file)”。
-
+You can create default issue templates and a default configuration file for issue templates for your organization or personal account. 更多信息请参阅“[创建默认社区健康文件](/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file)”。
diff --git a/translations/zh-CN/data/reusables/repositories/dependency-review.md b/translations/zh-CN/data/reusables/repositories/dependency-review.md
index 8f1c0afb82..5f0086b3e9 100644
--- a/translations/zh-CN/data/reusables/repositories/dependency-review.md
+++ b/translations/zh-CN/data/reusables/repositories/dependency-review.md
@@ -1,4 +1,4 @@
-{% ifversion fpt or ghes > 3.1 or ghae-issue-4864 or ghec %}
+{% ifversion fpt or ghes > 3.1 or ghae or ghec %}
此外,
{% data variables.product.prodname_dotcom %} 可以查看在针对仓库默认分支的拉取请求中添加、更新或删除的任何依赖项,并标记任何将漏洞引入项目的变化。 这允许您在易受攻击的依赖项到达您的代码库之前发现并处理它们,而不是事后处理。 更多信息请参阅“[审查拉取请求中的依赖项更改](/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request)”。
{% endif %}
diff --git a/translations/zh-CN/data/reusables/repositories/enable-security-alerts.md b/translations/zh-CN/data/reusables/repositories/enable-security-alerts.md
index 61a3c1b50d..375d5d5c4c 100644
--- a/translations/zh-CN/data/reusables/repositories/enable-security-alerts.md
+++ b/translations/zh-CN/data/reusables/repositories/enable-security-alerts.md
@@ -1,3 +1,3 @@
-{% ifversion ghes or ghae-issue-4864 %}
+{% ifversion ghes or ghae %}
Enterprise owners must enable {% data variables.product.prodname_dependabot_alerts %} for vulnerable dependencies for {% data variables.product.product_location %} before you can use this feature. For more information, see "[Enabling {% data variables.product.prodname_dependabot %} for your enterprise](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)."
{% endif %}
diff --git a/translations/zh-CN/data/reusables/repositories/squash-and-rebase-linear-commit-hisitory.md b/translations/zh-CN/data/reusables/repositories/squash-and-rebase-linear-commit-hisitory.md
index dae9b1f388..d0c2941d6f 100644
--- a/translations/zh-CN/data/reusables/repositories/squash-and-rebase-linear-commit-hisitory.md
+++ b/translations/zh-CN/data/reusables/repositories/squash-and-rebase-linear-commit-hisitory.md
@@ -1 +1 @@
-{% ifversion fpt or ghes or ghae or ghec %}如果你的仓库中有需要线性提交历史记录的受保护分支规则,必须允许压缩合并和/或变基合并。 更多信息请参阅“[关于受保护分支](/github/administering-a-repository/about-protected-branches#require-pull-request-reviews-before-merging)”。{% endif %}
+If there is a protected branch rule in your repository that requires a linear commit history, you must allow squash merging, rebase merging, or both. 更多信息请参阅“[关于受保护分支](/github/administering-a-repository/about-protected-branches#require-pull-request-reviews-before-merging)”。
diff --git a/translations/zh-CN/data/reusables/repositories/start-line-comment.md b/translations/zh-CN/data/reusables/repositories/start-line-comment.md
index 97f47b1a23..5cc3e073fe 100644
--- a/translations/zh-CN/data/reusables/repositories/start-line-comment.md
+++ b/translations/zh-CN/data/reusables/repositories/start-line-comment.md
@@ -1 +1 @@
-1. 将鼠标悬停在您要添加评论的代码行上,然后单击蓝色评论图标。{% ifversion fpt or ghes or ghae or ghec %} 要在多行上添加评论,请单击并拖动以选择行范围,然后单击蓝色评论图标。{% endif %} 
+1. Hover over the line of code where you'd like to add a comment, and click the blue comment icon. To add a comment on multiple lines, click and drag to select the range of lines, then click the blue comment icon. 
diff --git a/translations/zh-CN/data/reusables/repositories/suggest-changes.md b/translations/zh-CN/data/reusables/repositories/suggest-changes.md
index cf063cc9f2..8545297dd9 100644
--- a/translations/zh-CN/data/reusables/repositories/suggest-changes.md
+++ b/translations/zh-CN/data/reusables/repositories/suggest-changes.md
@@ -1 +1 @@
-1. (可选)要建议对一行{% ifversion fpt or ghes or ghae or ghec %}或多行{% endif %}进行特定更改,请单击 {% octicon "diff" aria-label="The diff symbol" %},然后在建议块内编辑文本。 
+1. Optionally, to suggest a specific change to the line or lines, click {% octicon "diff" aria-label="The diff symbol" %}, then edit the text within the suggestion block. 
diff --git a/translations/zh-CN/data/reusables/saml/authorized-creds-info.md b/translations/zh-CN/data/reusables/saml/authorized-creds-info.md
index 20edaeb3fa..6140c36f47 100644
--- a/translations/zh-CN/data/reusables/saml/authorized-creds-info.md
+++ b/translations/zh-CN/data/reusables/saml/authorized-creds-info.md
@@ -1,7 +1,7 @@
-Before you can authorize a personal access token or SSH key, you must have a linked SAML identity. If you're a member of an organization where SAML SSO is enabled, you can create a linked identity by authenticating to your organization with your IdP at least once. 更多信息请参阅“[关于使用 SAML 单点登录进行身份验证](/authentication/authenticating-with-saml-single-sign-on/about-authentication-with-saml-single-sign-on)”。
+在授权个人访问令牌或 SSH 密钥之前,您必须具有链接的 SAML 标识。 如果您是启用了 SAML SSO 的组织的成员,则可以通过至少一次使用 IdP 向组织验证来创建链接身份。 更多信息请参阅“[关于使用 SAML 单点登录进行身份验证](/authentication/authenticating-with-saml-single-sign-on/about-authentication-with-saml-single-sign-on)”。
-After you authorize a personal access token or SSH key. The token or key will stay authorized until revoked in one of these ways.
-- An organization or enterprise owner revokes the authorization.
-- You are removed from the organization.
-- The scopes in a personal access token are edited, or the token is regenerated.
-- The personal access token expired as defined during creation.
+授权个人访问令牌或 SSH 密钥后。 令牌或密钥将保持授权状态,直到以下面方式之一吊销。
+- 组织或企业所有者撤销授权。
+- 您已从组织中删除。
+- 编辑个人访问令牌中的范围,或重新生成令牌。
+- 个人访问令牌已过期,如创建期间所定义的那样。
diff --git a/translations/zh-CN/data/reusables/secret-scanning/beta.md b/translations/zh-CN/data/reusables/secret-scanning/beta.md
index 4676aecb28..89e515f50f 100644
--- a/translations/zh-CN/data/reusables/secret-scanning/beta.md
+++ b/translations/zh-CN/data/reusables/secret-scanning/beta.md
@@ -1,4 +1,4 @@
-{% ifversion ghae-issue-5752 %}
+{% ifversion ghae %}
diff --git a/translations/zh-CN/data/reusables/secret-scanning/partner-secret-list-private-repo.md b/translations/zh-CN/data/reusables/secret-scanning/partner-secret-list-private-repo.md
index 2d0294ba20..c1875346d3 100644
--- a/translations/zh-CN/data/reusables/secret-scanning/partner-secret-list-private-repo.md
+++ b/translations/zh-CN/data/reusables/secret-scanning/partner-secret-list-private-repo.md
@@ -13,9 +13,9 @@ Adobe | Adobe JSON Web Token | adobe_jwt{% endif %} Alibaba Cloud | Alibaba Clou
Amazon | Amazon OAuth 客户端 ID | amazon_oauth_client_id{% endif %}
{%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5845 %}
Amazon | Amazon OAuth 客户端机密 | amazon_oauth_client_secret{% endif %} Amazon Web Services (AWS) | Amazon AWS 访问密钥 ID | aws_access_key_id Amazon Web Services (AWS) | Amazon AWS 机密访问密钥 | aws_secret_access_key
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
Amazon Web Services (AWS) | Amazon AWS Session Token | aws_session_token{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
Amazon Web Services (AWS) | Amazon AWS Temporary Access Key ID | aws_temporary_access_key_id{% endif %}
{%- ifversion fpt or ghec or ghes > 3.1 or ghae %}
Asana | Asana 个人访问令牌 | asana_personal_access_token{% endif %} Atlassian | Atlassian API 令牌 | atlassian_api_token Atlassian | Atlassian JSON Web 令牌 | atlassian_jwt
@@ -27,7 +27,7 @@ Azure | Azure Active Directory 应用程序密钥 | azure_active_directory_appli
Azure | Azure Cache for Redis 访问密钥 | azure_cache_for_redis_access_key{% endif %} Azure | Azure DevOps 个人访问令牌 | azure_devops_personal_access_token Azure | Azure SAS 令牌 | azure_sas_token Azure | Azure 服务管理凭证 | azure_management_certificate
{%- ifversion ghes < 3.4 or ghae or ghae-issue-5342 %}
Azure | Azure SQL 连接字符串 | azure_sql_connection_string{% endif %} Azure | Azure 存储帐户密钥 | azure_storage_account_key
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
Beamer | Beamer API Key | beamer_api_key{% endif %}
{%- ifversion fpt or ghec or ghes > 3.1 or ghae %}
Checkout.com | Checkout.com Production Secret Key | checkout_production_secret_key{% endif %}
@@ -35,7 +35,7 @@ Checkout.com | Checkout.com Production Secret Key | checkout_production_secret_k
Checkout.com | Checkout.com 测试密钥 | checkout_test_secret_key{% endif %} Clojars | Clojars 部署令牌 | clojars_deploy_token
{%- ifversion fpt or ghec or ghes > 3.1 or ghae %}
CloudBees CodeShip | CloudBees CodeShip Credential | codeship_credential{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
Contentful | Contentful 个人访问令牌 | contentful_personal_access_token{% endif %} Databricks | Databricks 访问令牌 | databricks_access_token
{%- ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6944 %}
DigitalOcean | DigitalOcean 个人访问令牌 | digitalocean_personal_access_token DigitalOcean | DigitalOcean OAuth 令牌 | digitalocean_oauth_token DigitalOcean | DigitalOcean 更新令牌 | digitalocean_refresh_token DigitalOcean | DigitalOcean 系统令牌 | digitalocean_system_token{% endif %} Discord | Discord Bot 令牌 | discord_bot_token Doppler | Doppler 个人令牌 | doppler_personal_token Doppler | Doppler 服务令牌 | doppler_service_token Doppler | Doppler CLI 令牌 | doppler_cli_token Doppler | Doppler SCIM 令牌 | doppler_scim_token
@@ -55,7 +55,7 @@ Fastly | Fastly API 令牌 | fastly_api_token{% endif %} Finicity | Finicity App
Flutterwave | Flutterwave Live API Secret Key | flutterwave_live_api_secret_key{% endif %}
{%- ifversion fpt or ghec or ghes > 3.1 or ghae %}
Flutterwave | Flutterwave 测试 API 密钥 | flutterwave_test_api_secret_key{% endif %} Frame.io | Frame.io JSON Web 令牌 | frameio_jwt Frame.io| Frame.io Developer 令牌 | frameio_developer_token
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
FullStory | FullStory API Key | fullstory_api_key{% endif %}
{%- ifversion fpt or ghec or ghes > 3.1 or ghae %}
GitHub | GitHub Personal Access Token | github_personal_access_token{% endif %}
@@ -67,13 +67,13 @@ GitHub | GitHub Refresh Token | github_refresh_token{% endif %}
GitHub | GitHub App 安装访问令牌 | github_app_installation_access_token{% endif %} GitHub | GitHub SSH 私钥 | github_ssh_private_key
{%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5845 %}
GitLab | GitLab 访问令牌 | gitlab_access_token{% endif %} GoCardless | GoCardless Live 访问令牌 | gocardless_live_access_token GoCardless | GoCardless Sandbox 访问令牌 | gocardless_sandbox_access_token
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
Google | Firebase Cloud Messaging Server 密钥 | firebase_cloud_messaging_server_key{% endif %} Google | Google API 密钥 | google_api_key Google | Google Cloud 私钥 ID | google_cloud_private_key_id
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
Google | Google Cloud Storage Access Key Secret | google_cloud_storage_access_key_secret{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
Google | Google Cloud Storage Service Account Access Key ID | google_cloud_storage_service_account_access_key_id{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
Google | Google Cloud Storage User Access Key ID | google_cloud_storage_user_access_key_id{% endif %}
{%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5845 %}
Google | Google OAuth 访问令牌 | google_oauth_access_token{% endif %}
@@ -93,9 +93,9 @@ Ionic | Ionic Personal Access Token | ionic_personal_access_token{% endif %}
Ionic | Ionic Refresh Token | ionic_refresh_token{% endif %}
{%- ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6944 %}
JD Cloud | JD Cloud 访问密钥 | jd_cloud_access_key{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
JFrog | JFrog Platform Access Token | jfrog_platform_access_token{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
JFrog | JFrog Platform API Key | jfrog_platform_api_key{% endif %}
{%- ifversion fpt or ghec or ghes > 3.1 or ghae %}
Linear | Linear API Key | linear_api_key{% endif %}
@@ -115,13 +115,13 @@ Meta | Facebook 访问令牌 | facebook_access_token{% endif %}
Midtrans | Midtrans Production Server 密钥 | midtrans_production_server_key{% endif %}
{%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5845 %}
Midtrans | Midtrans Sandbox Server 密钥 | midtrans_sandbox_server_key{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
New Relic | New Relic Personal API Key | new_relic_personal_api_key{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
New Relic | New Relic REST API Key | new_relic_rest_api_key{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
New Relic | New Relic Insights Query Key | new_relic_insights_query_key{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
New Relic | New Relic License Key | new_relic_license_key{% endif %}
{%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5845 %}
Notion | Notion 集成令牌 | notion_integration_token{% endif %}
@@ -135,15 +135,15 @@ Onfido | Onfido Live API Token | onfido_live_api_token{% endif %}
Onfido | Onfido Sandbox API Token | onfido_sandbox_api_token{% endif %}
{%- ifversion fpt or ghec or ghes > 3.1 or ghae %}
OpenAI | OpenAI API 密钥 | openai_api_key{% endif %} Palantir | Palantir JSON Web 令牌 | palantir_jwt
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
PlanetScale | PlanetScale Database Password | planetscale_database_password{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
PlanetScale | PlanetScale OAuth Token | planetscale_oauth_token{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
PlanetScale | PlanetScale Service Token | planetscale_service_token{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
Plivo | Plivo Auth ID | plivo_auth_id{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
Plivo | Plivo 验证令牌 | plivo_auth_token{% endif %} Postman | Postman API 密钥 | postman_api_key Proctorio | Proctorio 消费者密钥 | proctorio_consumer_key Proctorio | Proctorio 链接密钥 | proctorio_linkage_key Proctorio | Proctorio 注册密钥 | proctorio_registration_key Proctorio | Proctorio 密钥 | proctorio_secret_key Pulumi | Pulumi 访问令牌 | pulumi_access_token
{%- ifversion fpt or ghec or ghes > 3.1 or ghae %}
PyPI | PyPI API Token | pypi_api_token{% endif %}
@@ -153,9 +153,9 @@ RubyGems | RubyGems API 密钥 | rubygems_api_key{% endif %} Samsara | Samsara A
Segment | Segment 公共 API 令牌 | segment_public_api_token{% endif %}
{%- ifversion fpt or ghec or ghes > 3.1 or ghae %}
SendGrid | SendGrid API Key | sendgrid_api_key{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
Sendinblue | Sendinblue API Key | sendinblue_api_key{% endif %}
-{%- ifversion fpt or ghec or ghes > 3.2 or ghae-issue-5844 %}
+{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
Sendinblue | Sendinblue SMTP Key | sendinblue_smtp_key{% endif %}
{%- ifversion fpt or ghec or ghes > 3.1 or ghae %}
Shippo | Shippo Live API Token | shippo_live_api_token{% endif %}
diff --git a/translations/zh-CN/data/reusables/security-center/permissions.md b/translations/zh-CN/data/reusables/security-center/permissions.md
new file mode 100644
index 0000000000..99dfdbb565
--- /dev/null
+++ b/translations/zh-CN/data/reusables/security-center/permissions.md
@@ -0,0 +1 @@
+Organization owners and security managers can access the security overview for organizations{% ifversion ghec or ghes > 3.4 or ghae-issue-6199 %} and view their organization's repositories via the enterprise-level security overview. Enterprise owners can use the enterprise-level security overview to view all repositories in their enterprise's organizations{% endif %}. 团队成员可以看到团队具有管理权限的仓库的安全概述。
\ No newline at end of file
diff --git a/translations/zh-CN/data/reusables/user-settings/removes-personal-access-tokens.md b/translations/zh-CN/data/reusables/user-settings/removes-personal-access-tokens.md
index 6d7ce81c20..512dccc29c 100644
--- a/translations/zh-CN/data/reusables/user-settings/removes-personal-access-tokens.md
+++ b/translations/zh-CN/data/reusables/user-settings/removes-personal-access-tokens.md
@@ -1 +1 @@
-作为安全防范措施,{% data variables.product.company_short %} 会自动删除一年内未使用的个人访问令牌。{% ifversion fpt or ghes > 3.1 or ghae-issue-4374 or ghec %} 为了提供额外的安全性,我们强烈建议在您的个人访问令牌中添加到期日。{% endif %}
+作为安全防范措施,{% data variables.product.company_short %} 会自动删除一年内未使用的个人访问令牌。{% ifversion fpt or ghes > 3.1 or ghae or ghec %} 为了提供额外的安全性,我们强烈建议在您的个人访问令牌中添加到期日。{% endif %}
diff --git a/translations/zh-CN/data/reusables/webhooks/check_run_properties.md b/translations/zh-CN/data/reusables/webhooks/check_run_properties.md
index c584b4f509..c94cacd184 100644
--- a/translations/zh-CN/data/reusables/webhooks/check_run_properties.md
+++ b/translations/zh-CN/data/reusables/webhooks/check_run_properties.md
@@ -1,12 +1,12 @@
-| 键 | 类型 | 描述 |
-| --------------------------------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `action` | `字符串` | 执行的操作。 可以是以下选项之一: - `created` - 创建了新的检查运行。
- `completed` - 检查运行的“状态”为“已完成”。
- `rerequested` - 有人请求从拉取请求 UI 重新运行检查。 有关 GitHub UI 的更多信息,请参阅“关于状态检查](/articles/about-status-checks#checks)”。 收到 `rerequested` 操作时,您需要[创建新的检查运行](/rest/reference/checks#create-a-check-run)。 仅当有人请求重新运行检查时,{% data variables.product.prodname_github_app %} 才会收到 `rerequested` 有效负载。
- `requested_action` - 有人请求执行应用程序提供的操作。 仅当有人请求执行操作时,{% data variables.product.prodname_github_app %} 才会收到 `requested_action` 有效负载。 有关检查运行和请求操作的更多信息,请参阅“[检查运行和请求操作](/rest/reference/checks#check-runs-and-requested-actions)”。
|
-| `check_run` | `对象` | [check_run](/rest/reference/checks#get-a-check-run)。 |
-| `check_run[status]` | `字符串` | 检查运行的当前状态。 可以是 `queued`、`in_progress` 或 `completed`。 |
-| `check_run[conclusion]` | `字符串` | 已完成检查运行的结果。 可以是以下项之一:`success`、`failure`、`neutral`、`cancelled`、`timed_out`、{% ifversion fpt or ghes or ghae or ghec %}`action_required` 或 `stale`{% else %}或 `action_required`{% endif %}。 此值将为 `null`,直到检查运行 `completed`。 |
-| `check_run[name]` | `字符串` | 检查运行的名称。 |
-| `check_run[check_suite][id]` | `整数` | 此检查运行所属检查套件的 ID。 |
-| `check_run[check_suite][pull_requests]` | `数组` | 匹配此检查套件的拉取请求数组。 如果拉取请求具有相同的 `head_branch`,则它们与检查套件匹配。
**注意:**- 如果随后推送到 PR 中,则检查套件的“head_sha”可能与拉取请求的“sha”不同。
- 当检查套件的“head_branch”位于复刻的存储库中时,它将为“null”,而“pull_requests”数组将为空。
|
-| `check_run[check_suite][deployment]` | `对象` | 部署到仓库环境。 这仅当检查运行是由引用环境的 {% data variables.product.prodname_actions %} 工作流程作业创建时才会填充。 |
-| `requested_action` | `对象` | 用户请求的操作。 |
-| `requested_action[identifier]` | `字符串` | 用户请求的操作的集成器引用。 |
+| 键 | 类型 | 描述 |
+| --------------------------------------- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `action` | `字符串` | 执行的操作。 可以是以下选项之一: - `created` - 创建了新的检查运行。
- `completed` - 检查运行的“状态”为“已完成”。
- `rerequested` - 有人请求从拉取请求 UI 重新运行检查。 有关 GitHub UI 的更多信息,请参阅“关于状态检查](/articles/about-status-checks#checks)”。 收到 `rerequested` 操作时,您需要[创建新的检查运行](/rest/reference/checks#create-a-check-run)。 仅当有人请求重新运行检查时,{% data variables.product.prodname_github_app %} 才会收到 `rerequested` 有效负载。
- `requested_action` - 有人请求执行应用程序提供的操作。 仅当有人请求执行操作时,{% data variables.product.prodname_github_app %} 才会收到 `requested_action` 有效负载。 有关检查运行和请求操作的更多信息,请参阅“[检查运行和请求操作](/rest/reference/checks#check-runs-and-requested-actions)”。
|
+| `check_run` | `对象` | [check_run](/rest/reference/checks#get-a-check-run)。 |
+| `check_run[status]` | `字符串` | 检查运行的当前状态。 可以是 `queued`、`in_progress` 或 `completed`。 |
+| `check_run[conclusion]` | `字符串` | 已完成检查运行的结果。 Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. 此值将为 `null`,直到检查运行 `completed`。 |
+| `check_run[name]` | `字符串` | 检查运行的名称。 |
+| `check_run[check_suite][id]` | `整数` | 此检查运行所属检查套件的 ID。 |
+| `check_run[check_suite][pull_requests]` | `数组` | 匹配此检查套件的拉取请求数组。 如果拉取请求具有相同的 `head_branch`,则它们与检查套件匹配。
**注意:**- 如果随后推送到 PR 中,则检查套件的“head_sha”可能与拉取请求的“sha”不同。
- 当检查套件的“head_branch”位于复刻的存储库中时,它将为“null”,而“pull_requests”数组将为空。
|
+| `check_run[check_suite][deployment]` | `对象` | 部署到仓库环境。 这仅当检查运行是由引用环境的 {% data variables.product.prodname_actions %} 工作流程作业创建时才会填充。 |
+| `requested_action` | `对象` | 用户请求的操作。 |
+| `requested_action[identifier]` | `字符串` | 用户请求的操作的集成器引用。 |
diff --git a/translations/zh-CN/data/reusables/webhooks/check_suite_properties.md b/translations/zh-CN/data/reusables/webhooks/check_suite_properties.md
index 9ba9f165b8..019fd568cf 100644
--- a/translations/zh-CN/data/reusables/webhooks/check_suite_properties.md
+++ b/translations/zh-CN/data/reusables/webhooks/check_suite_properties.md
@@ -1,10 +1,10 @@
-| 键 | 类型 | 描述 |
-| ---------------------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `action` | `字符串` | 执行的操作。 可以是:- `completed` - 检查套件中的所有检查运行已完成。
- `requested` - 新代码被推送到应用程序的仓库时发生。 收到 `requested` 操作事件时,您需要[创建新的检查运行](/rest/reference/checks#create-a-check-run)。
- `rerequested` - 有人请求从拉取请求 UI 重新运行整个检查套件时发生。 收到 `rerequested` 操作事件时,您需要[创建新的检查运行](/rest/reference/checks#create-a-check-run)。 有关 GitHub UI 的更多信息,请参阅“关于状态检查](/articles/about-status-checks#checks)”。
|
-| `check_suite` | `对象` | [check_suite](/rest/reference/checks#suites)。 |
-| `check_suite[head_branch]` | `字符串` | 更改所在的头部分支的名称。 |
-| `check_suite[head_sha]` | `字符串` | 此检查套件的最新提交的 SHA。 |
-| `check_suite[status]` | `字符串` | 检查套件中所有检查运行的摘要状态。 可以是 `requested`、`in_progress` 或 `completed`。 |
-| `check_suite[conclusion]` | `字符串` | 检查套件中所有检查运行的摘要结论。 可以是以下项之一:`success`、`failure`、`neutral`、`cancelled`、`timed_out`、{% ifversion fpt or ghes or ghae or ghec %}`action_required` 或 `stale`{% else %}或 `action_required`{% endif %}。 此值将为 `null`,直到检查运行 `completed`。 |
-| `check_suite[url]` | `字符串` | 指向检查套件 API 资源的 URL。 |
-| `check_suite[pull_requests]` | `数组` | 匹配此检查套件的拉取请求数组。 如果拉取请求具有相同的 `head_branch`,则它们与检查套件匹配。
**注意:**- 如果随后推送到 PR 中,则检查套件的“head_sha”可能与拉取请求的“sha”不同。
- 当检查套件的“head_branch”位于复刻的存储库中时,它将为“null”,而“pull_requests”数组将为空。
|
+| 键 | 类型 | 描述 |
+| ---------------------------- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `action` | `字符串` | 执行的操作。 可以是:- `completed` - 检查套件中的所有检查运行已完成。
- `requested` - 新代码被推送到应用程序的仓库时发生。 收到 `requested` 操作事件时,您需要[创建新的检查运行](/rest/reference/checks#create-a-check-run)。
- `rerequested` - 有人请求从拉取请求 UI 重新运行整个检查套件时发生。 收到 `rerequested` 操作事件时,您需要[创建新的检查运行](/rest/reference/checks#create-a-check-run)。 有关 GitHub UI 的更多信息,请参阅“关于状态检查](/articles/about-status-checks#checks)”。
|
+| `check_suite` | `对象` | [check_suite](/rest/reference/checks#suites)。 |
+| `check_suite[head_branch]` | `字符串` | 更改所在的头部分支的名称。 |
+| `check_suite[head_sha]` | `字符串` | 此检查套件的最新提交的 SHA。 |
+| `check_suite[status]` | `字符串` | 检查套件中所有检查运行的摘要状态。 可以是 `requested`、`in_progress` 或 `completed`。 |
+| `check_suite[conclusion]` | `字符串` | 检查套件中所有检查运行的摘要结论。 Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. 此值将为 `null`,直到检查运行 `completed`。 |
+| `check_suite[url]` | `字符串` | 指向检查套件 API 资源的 URL。 |
+| `check_suite[pull_requests]` | `数组` | 匹配此检查套件的拉取请求数组。 如果拉取请求具有相同的 `head_branch`,则它们与检查套件匹配。
**注意:**- 如果随后推送到 PR 中,则检查套件的“head_sha”可能与拉取请求的“sha”不同。
- 当检查套件的“head_branch”位于复刻的存储库中时,它将为“null”,而“pull_requests”数组将为空。
|
diff --git a/translations/zh-CN/data/reusables/webhooks/installation_properties.md b/translations/zh-CN/data/reusables/webhooks/installation_properties.md
index 731d16045a..3b74e29503 100644
--- a/translations/zh-CN/data/reusables/webhooks/installation_properties.md
+++ b/translations/zh-CN/data/reusables/webhooks/installation_properties.md
@@ -1,4 +1,4 @@
| 键 | 类型 | 描述 |
| -------- | ----- | -------------------------------------------- |
-| `action` | `字符串` | 执行的操作内容. 可以是以下选项之一:- `created` - 有人安装 {% data variables.product.prodname_github_app %}。
- `deleted` - 有人卸载 {% data variables.product.prodname_github_app %}
{% ifversion fpt or ghes or ghae or ghec %}- `suspend` - 有人挂起 {% data variables.product.prodname_github_app %} 安装。
- `unsuspend` - 有人取消挂起 {% data variables.product.prodname_github_app %} 安装。
{% endif %}- `new_permissions_accepted` - 有人接受 {% data variables.product.prodname_github_app %} 安装的新权限。 当 {% data variables.product.prodname_github_app %} 所有者请求新权限时,安装 {% data variables.product.prodname_github_app %} 的人必须接受新权限请求。
|
+| `action` | `字符串` | 执行的操作内容. 可以是以下选项之一:- `created` - 有人安装 {% data variables.product.prodname_github_app %}。
- `deleted` - 有人卸载 {% data variables.product.prodname_github_app %}
- `suspend` - 有人挂起 {% data variables.product.prodname_github_app %} 安装。
- `unsuspend` - 有人取消挂起 {% data variables.product.prodname_github_app %} 安装。
- `new_permissions_accepted` - 有人接受 {% data variables.product.prodname_github_app %} 安装的新权限。 当 {% data variables.product.prodname_github_app %} 所有者请求新权限时,安装 {% data variables.product.prodname_github_app %} 的人必须接受新权限请求。
|
| `仓库` | `数组` | 安装设施可访问的仓库对象数组。 |