diff --git a/translations/zh-CN/data/reusables/webhooks/app_desc.md b/translations/zh-CN/data/reusables/webhooks/app_desc.md index 9d6a876d5e51..1c2b7bac84dc 100644 --- a/translations/zh-CN/data/reusables/webhooks/app_desc.md +++ b/translations/zh-CN/data/reusables/webhooks/app_desc.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145065663" --- -`installation` | `object` | {% data variables.product.prodname_github_app %} 安装。 当为 {% data variables.product.prodname_github_app %} 配置事件并将其发送到时,Webhook 有效负载包含 `installation` 属性。 +`installation` | `object` | {% data variables.product.prodname_github_app %} 安装。当为 {% data variables.product.prodname_github_app %} 配置事件并将其发送到时,Webhook 有效负载包含 `installation` 属性。 diff --git a/translations/zh-CN/data/reusables/webhooks/authorization_event.md b/translations/zh-CN/data/reusables/webhooks/authorization_event.md index 739e0d2c99d3..9c4369aa54b4 100644 --- a/translations/zh-CN/data/reusables/webhooks/authorization_event.md +++ b/translations/zh-CN/data/reusables/webhooks/authorization_event.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145065662" --- -任何人都可以从 [GitHub 帐户设置页面](https://github.com/settings/apps/authorizations)撤销他们对 GitHub 应用的授权。 撤销对 GitHub 应用程序的授权不会卸载 GitHub 应用程序。 您应该编程 GitHub 应用程序,使其在收到此 web 挂钩后,不再代表已撤销令牌的人调用 API。 如果 GitHub 应用继续使用已撤销的访问令牌,它将收到 `401 Bad Credentials` 错误。 +任何人都可以从 [GitHub 帐户设置页面](https://github.com/settings/apps/authorizations)撤销他们对 GitHub 应用的授权。撤销对 GitHub 应用程序的授权不会卸载 GitHub 应用程序。您应该编程 GitHub 应用程序,使其在收到此 web 挂钩后,不再代表已撤销令牌的人调用 API。如果 GitHub 应用继续使用已撤销的访问令牌,它将收到 `401 Bad Credentials` 错误。 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 4c80bfa165bd..1965aadc3291 100644 --- a/translations/zh-CN/data/reusables/webhooks/check_run_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/check_run_properties.md @@ -8,13 +8,13 @@ ms.locfileid: "145065661" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 已执行的操作。 可以是以下选项之一: +`action`|`string` | 已执行的操作。可以是以下选项之一: `check_run`|`object` | [check_run](/rest/reference/checks#get-a-check-run)。 -`check_run[status]`|`string` | 检查运行的当前状态。 可以是 `queued`、`in_progress` 或 `completed`。 -`check_run[conclusion]`|`string` | 已完成检查运行的结果。 可以是 `success`、`failure`、`neutral`、`cancelled`、`timed_out`、`action_required` 或 `stale` 之一。 在检查运行有 `completed` 之前,此值将是 `null`。 +`check_run[status]`|`string` | 检查运行的当前状态。可以是 `queued`、`in_progress` 或 `completed`。 +`check_run[conclusion]`|`string` | 已完成检查运行的结果。可以是 `success`、`failure`、`neutral`、`cancelled`、`timed_out`、`action_required` 或 `stale` 之一。在检查运行有 `completed` 之前,此值将是 `null`。 `check_run[name]`|`string` | 检查运行的名称。 `check_run[check_suite][id]`|`integer` | 此检查运行所属检查套件的 ID。 -`check_run[check_suite][pull_requests]`|`array`| 匹配此检查套件的拉取请求数组。 如果它们具有相同的 `head_branch`,则拉取请求与检查套件匹配。

**注意:** -`check_run[check_suite][deployment]`|`object`| 部署到仓库环境。 仅当检查运行由引用环境的 {% data variables.product.prodname_actions %} 工作流作业创建时才会填充。 +`check_run[check_suite][pull_requests]`|`array`| 匹配此检查套件的拉取请求数组。如果它们具有相同的 `head_branch`,则拉取请求与检查套件匹配。

**注意:** +`check_run[check_suite][deployment]`|`object`| 部署到仓库环境。仅当检查运行由引用环境的 {% data variables.product.prodname_actions %} 工作流作业创建时才会填充。 `requested_action`|`object` | 用户请求的操作。 `requested_action[identifier]`|`string` | 用户请求的操作的集成器引用。 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 671b8ef865f4..dbd08b1f8189 100644 --- a/translations/zh-CN/data/reusables/webhooks/check_suite_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/check_suite_properties.md @@ -8,11 +8,11 @@ ms.locfileid: "147116191" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 已执行的操作。 可以是: +`action`|`string` | 已执行的操作。可以是: `check_suite`|`object` | [check_suite](/rest/reference/checks#suites)。 `check_suite[head_branch]`|`string` | 更改所在的头部分支的名称。 `check_suite[head_sha]`|`string` | 此检查套件的最新提交的 SHA。 -`check_suite[status]`|`string` | 检查套件中所有检查运行的摘要状态。 可以是 `queued`、`requested`、`in_progress` 或 `completed`。 -`check_suite[conclusion]`|`string`| 检查套件中所有检查运行的摘要结论。 可以是 `success`、`failure`、`neutral`、`cancelled`、`timed_out`、`action_required` 或 `stale`。 在检查运行有 `completed` 之前,此值将是 `null`。 +`check_suite[status]`|`string` | 检查套件中所有检查运行的摘要状态。可以是 `queued`、`requested`、`in_progress` 或 `completed`。 +`check_suite[conclusion]`|`string`| 检查套件中所有检查运行的摘要结论。可以是 `success`、`failure`、`neutral`、`cancelled`、`timed_out`、`action_required` 或 `stale`。在检查运行有 `completed` 之前,此值将是 `null`。 `check_suite[url]`|`string` | 指向检查套件 API 资源的 URL。 -`check_suite[pull_requests]`|`array`| 匹配此检查套件的拉取请求数组。 如果它们具有相同的 `head_branch`,则拉取请求与检查套件匹配。

**注意:** +`check_suite[pull_requests]`|`array`| 匹配此检查套件的拉取请求数组。如果它们具有相同的 `head_branch`,则拉取请求与检查套件匹配。

**注意:** diff --git a/translations/zh-CN/data/reusables/webhooks/code_scanning_alert_event_properties.md b/translations/zh-CN/data/reusables/webhooks/code_scanning_alert_event_properties.md index e5ca2c7deec6..dccba694fc9f 100644 --- a/translations/zh-CN/data/reusables/webhooks/code_scanning_alert_event_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/code_scanning_alert_event_properties.md @@ -8,7 +8,7 @@ ms.locfileid: "145084350" --- 密钥 | 类型 | 说明 ----|------|------------- -`action` | `string` | 执行的操作内容. 可以是以下选项之一:`created`、`reopened_by_user`、`closed_by_user`、`fixed`、`appeared_in_branch` 或 `reopened`。 +`action` | `string` | 执行的操作内容。可以是以下选项之一:`created`、`reopened_by_user`、`closed_by_user`、`fixed`、`appeared_in_branch` 或 `reopened`。 `alert` | `object` | 事件中涉及的代码扫描警报。 -`ref` | `string` | 代码扫描警报的 Git 引用。 当操作为 `reopened_by_user` 或 `closed_by_user` 时,事件由 `sender` 触发,此值将为空。 -`commit_oid` | `string` | 代码扫描警报的提交 SHA。 当操作为 `reopened_by_user` 或 `closed_by_user` 时,事件由 `sender` 触发,此值将为空。 +`ref` | `string` | 代码扫描警报的 Git 引用。当操作为 `reopened_by_user` 或 `closed_by_user` 时,事件由 `sender` 触发,此值将为空。 +`commit_oid` | `string` | 代码扫描警报的提交 SHA。当操作为 `reopened_by_user` 或 `closed_by_user` 时,事件由 `sender` 触发,此值将为空。 diff --git a/translations/zh-CN/data/reusables/webhooks/code_scanning_alert_event_short_desc.md b/translations/zh-CN/data/reusables/webhooks/code_scanning_alert_event_short_desc.md index 282d8d3f7b89..42e775dda9e5 100644 --- a/translations/zh-CN/data/reusables/webhooks/code_scanning_alert_event_short_desc.md +++ b/translations/zh-CN/data/reusables/webhooks/code_scanning_alert_event_short_desc.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145084349" --- -与仓库中的代码扫描警报相关的活动。 活动类型在有效负载对象的操作属性中指定。 有关详细信息,请参阅“[关于代码扫描](/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning)”。 +与仓库中的代码扫描警报相关的活动。活动类型在有效负载对象的操作属性中指定。有关详细信息,请参阅“[关于代码扫描](/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning)”。 diff --git a/translations/zh-CN/data/reusables/webhooks/commit_comment_properties.md b/translations/zh-CN/data/reusables/webhooks/commit_comment_properties.md index ab2c34ac70fb..bbfc1a56cc70 100644 --- a/translations/zh-CN/data/reusables/webhooks/commit_comment_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/commit_comment_properties.md @@ -8,5 +8,5 @@ ms.locfileid: "145084347" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 已执行的操作。 可以为 `created`。 +`action`|`string` | 已执行的操作。可以为 `created`。 `comment`|`object` | [提交注释](/rest/reference/commits#get-a-commit-comment)资源。 diff --git a/translations/zh-CN/data/reusables/webhooks/content_reference_short_desc.md b/translations/zh-CN/data/reusables/webhooks/content_reference_short_desc.md index 76fe0bb03ed8..94fdae0c4572 100644 --- a/translations/zh-CN/data/reusables/webhooks/content_reference_short_desc.md +++ b/translations/zh-CN/data/reusables/webhooks/content_reference_short_desc.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "147881986" --- -新的内容引用为 `created`。 当议题或拉取请求的正文或注释包含与配置的内容引用域匹配的 URL 时,将创建新的内容引用。 有关详细信息,请参阅“[使用内容附件](/apps/using-content-attachments/)”详细了解内容引用和附件。 +新的内容引用为 `created`。当议题或拉取请求的正文或注释包含与配置的内容引用域匹配的 URL 时,将创建新的内容引用。有关详细信息,请参阅“[使用内容附件](/apps/using-content-attachments/)”详细了解内容引用和附件。 diff --git a/translations/zh-CN/data/reusables/webhooks/create_properties.md b/translations/zh-CN/data/reusables/webhooks/create_properties.md index 18d8590a8a41..b1bb834a73f3 100644 --- a/translations/zh-CN/data/reusables/webhooks/create_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/create_properties.md @@ -9,6 +9,6 @@ ms.locfileid: "147066760" 密钥 | 类型 | 说明 ----|------|------------- `ref`|`string` | [`git ref`](/rest/reference/git#get-a-reference) 资源。 -`ref_type`|`string` | 在仓库中创建的 Git ref 对象的类型。 可以为 `branch` 或 `tag`。 +`ref_type`|`string` | 在仓库中创建的 Git ref 对象的类型。可以为 `branch` 或 `tag`。 `master_branch`|`string` | 存储库默认分支的名称(通常为 `main`)。 `description`|`string` | 仓库的当前描述。 diff --git a/translations/zh-CN/data/reusables/webhooks/create_short_desc.md b/translations/zh-CN/data/reusables/webhooks/create_short_desc.md index 2102ac09c2dd..f0f2360fd48d 100644 --- a/translations/zh-CN/data/reusables/webhooks/create_short_desc.md +++ b/translations/zh-CN/data/reusables/webhooks/create_short_desc.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145084342" --- -Git 分支或标签已创建。 有关详细信息,请参阅“[Git 数据库](/rest/reference/git#create-a-reference)”REST API。 +Git 分支或标签已创建。有关详细信息,请参阅“[Git 数据库](/rest/reference/git#create-a-reference)”REST API。 diff --git a/translations/zh-CN/data/reusables/webhooks/delete_properties.md b/translations/zh-CN/data/reusables/webhooks/delete_properties.md index 9d4ecd025d55..a71ef2872aac 100644 --- a/translations/zh-CN/data/reusables/webhooks/delete_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/delete_properties.md @@ -9,4 +9,4 @@ ms.locfileid: "147881962" 密钥 | 类型 | 说明 ----|------|------------- `ref`|`string` | [`git ref`](/rest/reference/git#get-a-reference) 资源。 -`ref_type`|`string` | 在存储库中删除的 Git 引用对象的类型。 可以为 `branch` 或 `tag`。 +`ref_type`|`string` | 在存储库中删除的 Git 引用对象的类型。可以为 `branch` 或 `tag`。 diff --git a/translations/zh-CN/data/reusables/webhooks/delete_short_desc.md b/translations/zh-CN/data/reusables/webhooks/delete_short_desc.md index 6699b9059121..eed1fb8a8e4a 100644 --- a/translations/zh-CN/data/reusables/webhooks/delete_short_desc.md +++ b/translations/zh-CN/data/reusables/webhooks/delete_short_desc.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/09/2022 ms.locfileid: "147875986" --- -Git 分支或标签已删除。 有关详细信息,请参阅“[Git 数据库](/rest/reference/git#delete-a-reference)”REST API。 +Git 分支或标签已删除。有关详细信息,请参阅“[Git 数据库](/rest/reference/git#delete-a-reference)”REST API。 diff --git a/translations/zh-CN/data/reusables/webhooks/deploy_key_properties.md b/translations/zh-CN/data/reusables/webhooks/deploy_key_properties.md index 060f2ebd9afc..7f8a629eca8f 100644 --- a/translations/zh-CN/data/reusables/webhooks/deploy_key_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/deploy_key_properties.md @@ -8,5 +8,5 @@ ms.locfileid: "145084331" --- 密钥 | 类型 | 说明 ----|------|------------- -`action` |`string` | 已执行的操作。 可以为 `created` 或 `deleted`。 +`action` |`string` | 已执行的操作。可以为 `created` 或 `deleted`。 `key` |`object` | [`deploy key`](/rest/reference/deployments#get-a-deploy-key) 资源。 diff --git a/translations/zh-CN/data/reusables/webhooks/enterprise_short_desc.md b/translations/zh-CN/data/reusables/webhooks/enterprise_short_desc.md index 534b1fbc6884..812213ca1d04 100644 --- a/translations/zh-CN/data/reusables/webhooks/enterprise_short_desc.md +++ b/translations/zh-CN/data/reusables/webhooks/enterprise_short_desc.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145084323" --- -站点或仓库管理员启用或禁用匿名 Git 读取权限。 有关详细信息,请参阅“[允许管理员启用对公共存储库的匿名 Git 读取访问](/enterprise/admin/user-management/allowing-admins-to-enable-anonymous-git-read-access-to-public-repositories)”。 此事件在事件 API 中不可用。 +站点或仓库管理员启用或禁用匿名 Git 读取权限。有关详细信息,请参阅“[允许管理员启用对公共存储库的匿名 Git 读取访问](/enterprise/admin/user-management/allowing-admins-to-enable-anonymous-git-read-access-to-public-repositories)”。此事件在事件 API 中不可用。 diff --git a/translations/zh-CN/data/reusables/webhooks/events_api_payload.md b/translations/zh-CN/data/reusables/webhooks/events_api_payload.md index 8ce9279b688a..e0af1830c84e 100644 --- a/translations/zh-CN/data/reusables/webhooks/events_api_payload.md +++ b/translations/zh-CN/data/reusables/webhooks/events_api_payload.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145084322" --- -[事件对象](#event-object-common-properties)包含所有事件的通用属性。 每个事件对象都包含 `payload` 属性,并且值对于每个事件类型而言都是唯一的。 此事件的 `payload` 对象描述如下。 +[事件对象](#event-object-common-properties)包含所有事件的通用属性。每个事件对象都包含 `payload` 属性,并且值对于每个事件类型而言都是唯一的。此事件的 `payload` 对象描述如下。 diff --git a/translations/zh-CN/data/reusables/webhooks/fork_short_desc.md b/translations/zh-CN/data/reusables/webhooks/fork_short_desc.md index a55a842e4e4b..78f76e67d31a 100644 --- a/translations/zh-CN/data/reusables/webhooks/fork_short_desc.md +++ b/translations/zh-CN/data/reusables/webhooks/fork_short_desc.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145164751" --- -用户复刻仓库。 有关详细信息,请参阅“[复刻](/rest/reference/repos#forks)”REST API。 +用户复刻仓库。有关详细信息,请参阅“[复刻](/rest/reference/repos#forks)”REST API。 diff --git a/translations/zh-CN/data/reusables/webhooks/gollum_properties.md b/translations/zh-CN/data/reusables/webhooks/gollum_properties.md index b7779a516996..b212bca1cbf9 100644 --- a/translations/zh-CN/data/reusables/webhooks/gollum_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/gollum_properties.md @@ -11,6 +11,6 @@ ms.locfileid: "145084318" `pages`|`array` | 已更新的页面。 `pages[][page_name]`|`string` | 页的名称。 `pages[][title]`|`string` | - 当前页标题。 -`pages[][action]`|`string` | - 在该页上执行的操作。 可以是 `created` 或 `edited`。 +`pages[][action]`|`string` | - 在该页上执行的操作。可以是 `created` 或 `edited`。 `pages[][sha]`|`string` | 页面的最新提交 SHA。 `pages[][html_url]`|`string` | 指向 HTML wiki 页面。 diff --git a/translations/zh-CN/data/reusables/webhooks/gollum_short_desc.md b/translations/zh-CN/data/reusables/webhooks/gollum_short_desc.md index 295b70376949..03c340f6f9b4 100644 --- a/translations/zh-CN/data/reusables/webhooks/gollum_short_desc.md +++ b/translations/zh-CN/data/reusables/webhooks/gollum_short_desc.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145084310" --- -创建或更新 wiki 页面。 有关详细信息,请参阅“[关于 Wikis](/communities/documenting-your-project-with-wikis/about-wikis)”。 +创建或更新 wiki 页面。有关详细信息,请参阅“[关于 Wikis](/communities/documenting-your-project-with-wikis/about-wikis)”。 diff --git a/translations/zh-CN/data/reusables/webhooks/installation_properties.md b/translations/zh-CN/data/reusables/webhooks/installation_properties.md index 68657b1de727..7fbc68cde9c1 100644 --- a/translations/zh-CN/data/reusables/webhooks/installation_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/installation_properties.md @@ -8,5 +8,5 @@ ms.locfileid: "145084309" --- 密钥 | 类型 | 说明 ----|------|------------ -`action` | `string` | 执行的操作内容. 可以是以下选项之一: +`action` | `string` | 执行的操作内容。可以是以下选项之一: `repositories` | `array` | 安装设施可访问的仓库对象数组。 diff --git a/translations/zh-CN/data/reusables/webhooks/installation_repositories_properties.md b/translations/zh-CN/data/reusables/webhooks/installation_repositories_properties.md index 917be6c8f463..fe1e59b8e4ee 100644 --- a/translations/zh-CN/data/reusables/webhooks/installation_repositories_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/installation_repositories_properties.md @@ -8,7 +8,7 @@ ms.locfileid: "145065657" --- 密钥 | 类型 | 说明 ----|------|------------ -`action` | `string` | 执行的操作内容. 可以为 `added` 或 `removed`。 -`repository_selection` | `string` | 安装所在仓库的选择。 可以为 `selected` 或 `all`。 +`action` | `string` | 执行的操作内容。可以为 `added` 或 `removed`。 +`repository_selection` | `string` | 安装所在仓库的选择。可以为 `selected` 或 `all`。 `repositories_added` | `array` | 已添加到安装中的仓库对象数组。 `repositories_removed` | `array` | 已从安装中删除的仓库对象数组。 diff --git a/translations/zh-CN/data/reusables/webhooks/issue_comment_webhook_properties.md b/translations/zh-CN/data/reusables/webhooks/issue_comment_webhook_properties.md index 0710a8369a10..33b5e9ffd172 100644 --- a/translations/zh-CN/data/reusables/webhooks/issue_comment_webhook_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/issue_comment_webhook_properties.md @@ -8,4 +8,4 @@ ms.locfileid: "145084305" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 在评论上执行的操作。 可以是 `created`、`edited` 或 `deleted` 之一。 +`action`|`string` | 在评论上执行的操作。可以是 `created`、`edited` 或 `deleted` 之一。 diff --git a/translations/zh-CN/data/reusables/webhooks/issue_event_api_properties.md b/translations/zh-CN/data/reusables/webhooks/issue_event_api_properties.md index 5f26008a8ce8..0bc101e23b35 100644 --- a/translations/zh-CN/data/reusables/webhooks/issue_event_api_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/issue_event_api_properties.md @@ -8,4 +8,4 @@ ms.locfileid: "145164698" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 执行的操作内容. 可以是 `opened`、`edited`、`closed`、`reopened`、`assigned`、`unassigned`、`labeled` 或 `unlabeled` 之一。 +`action`|`string` | 执行的操作内容。可以是 `opened`、`edited`、`closed`、`reopened`、`assigned`、`unassigned`、`labeled` 或 `unlabeled` 之一。 diff --git a/translations/zh-CN/data/reusables/webhooks/issue_webhook_properties.md b/translations/zh-CN/data/reusables/webhooks/issue_webhook_properties.md index 5c5816b0e8e1..17d52f8d837c 100644 --- a/translations/zh-CN/data/reusables/webhooks/issue_webhook_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/issue_webhook_properties.md @@ -8,4 +8,4 @@ ms.locfileid: "145084304" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 执行的操作内容. 可能是 `opened`、`edited`、`deleted`、`pinned`、`unpinned`、`closed`、`reopened`、`assigned`、`unassigned`、`labeled`、`unlabeled`、`locked`、`unlocked`、`transferred`、`milestoned` 或 `demilestoned` 之一。 +`action`|`string` | 执行的操作内容。可能是 `opened`、`edited`、`deleted`、`pinned`、`unpinned`、`closed`、`reopened`、`assigned`、`unassigned`、`labeled`、`unlabeled`、`locked`、`unlocked`、`transferred`、`milestoned` 或 `demilestoned` 之一。 diff --git a/translations/zh-CN/data/reusables/webhooks/member_event_api_properties.md b/translations/zh-CN/data/reusables/webhooks/member_event_api_properties.md index 6fe6dfca6909..2a9eace8f164 100644 --- a/translations/zh-CN/data/reusables/webhooks/member_event_api_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/member_event_api_properties.md @@ -8,4 +8,4 @@ ms.locfileid: "145084796" --- 密钥 | 类型 | 说明 ----|------|------------- -`action` | `string` | 执行的操作内容. 可以是 `added` 以指示用户接受了加入存储库的邀请。 +`action` | `string` | 执行的操作内容。可以是 `added` 以指示用户接受了加入存储库的邀请。 diff --git a/translations/zh-CN/data/reusables/webhooks/member_webhook_properties.md b/translations/zh-CN/data/reusables/webhooks/member_webhook_properties.md index 32b8774f27f5..59c402936b6f 100644 --- a/translations/zh-CN/data/reusables/webhooks/member_webhook_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/member_webhook_properties.md @@ -8,4 +8,4 @@ ms.locfileid: "145065643" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 执行的操作内容. 可以是以下选项之一: +`action`|`string` | 执行的操作内容。可以是以下选项之一: diff --git a/translations/zh-CN/data/reusables/webhooks/membership_properties.md b/translations/zh-CN/data/reusables/webhooks/membership_properties.md index 0f7c9fb253ab..72fe947d95a6 100644 --- a/translations/zh-CN/data/reusables/webhooks/membership_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/membership_properties.md @@ -8,7 +8,7 @@ ms.locfileid: "145084794" --- 密钥 | 类型 | 说明 ----|------|------------- -`action` |`string` | 执行的操作内容. 可以是 `added` 或 `removed`。 -`scope` |`string` | 成员的作用域。 目前只能是 `team`。 +`action` |`string` | 执行的操作内容。可以是 `added` 或 `removed`。 +`scope` |`string` | 成员的作用域。目前只能是 `team`。 `member` |`object` | 已添加或删除的[用户](/rest/reference/users)。 `team` |`object` | 成员身份的[团队](/rest/reference/teams)。 diff --git a/translations/zh-CN/data/reusables/webhooks/milestone_properties.md b/translations/zh-CN/data/reusables/webhooks/milestone_properties.md index fd1b448e5e3a..f9e47a341df7 100644 --- a/translations/zh-CN/data/reusables/webhooks/milestone_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/milestone_properties.md @@ -8,7 +8,7 @@ ms.locfileid: "145084793" --- 密钥 | 类型 | 说明 ----|------|------------- -`action` |`string` | 执行的操作内容. 可以是以下项之一:`created`、`closed`、`opened`(关闭的里程碑重新打开)、`edited` 或 `deleted`。 +`action` |`string` | 执行的操作内容。可以是以下项之一:`created`、`closed`、`opened`(关闭的里程碑重新打开)、`edited` 或 `deleted`。 `milestone` |`object` | 里程碑本身。 `changes`|`object`| 对里程碑的更改(如果操作为 `edited`)。 `changes[description][from]`|`string` | 先前版本的说明(如果操作为 `edited`)。 diff --git a/translations/zh-CN/data/reusables/webhooks/package_properties.md b/translations/zh-CN/data/reusables/webhooks/package_properties.md index ce8e7a422823..fbe38eb9014d 100644 --- a/translations/zh-CN/data/reusables/webhooks/package_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/package_properties.md @@ -8,5 +8,5 @@ ms.locfileid: "145084790" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 执行的操作内容. 可以是 `published` 或 `updated`。 +`action`|`string` | 执行的操作内容。可以是 `published` 或 `updated`。 `package` |`object` | 关于包的信息。 diff --git a/translations/zh-CN/data/reusables/webhooks/page_build_short_desc.md b/translations/zh-CN/data/reusables/webhooks/page_build_short_desc.md index 0384407dc69a..fdbacc9a8b1b 100644 --- a/translations/zh-CN/data/reusables/webhooks/page_build_short_desc.md +++ b/translations/zh-CN/data/reusables/webhooks/page_build_short_desc.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/12/2022 ms.locfileid: "145065638" --- -表示尝试构建一个 {% data variables.product.prodname_pages %} 站点,无论是否成功。 向 {% data variables.product.prodname_pages %} 启用的分支(项目页面的 `gh-pages`、用户和组织页面的默认分支)的推送将触发此事件。 +表示尝试构建一个 {% data variables.product.prodname_pages %} 站点,无论是否成功。向 {% data variables.product.prodname_pages %} 启用的分支(项目页面的 `gh-pages`、用户和组织页面的默认分支)的推送将触发此事件。 diff --git a/translations/zh-CN/data/reusables/webhooks/ping_short_desc.md b/translations/zh-CN/data/reusables/webhooks/ping_short_desc.md index c74ce85e20e7..2ffe92ff527c 100644 --- a/translations/zh-CN/data/reusables/webhooks/ping_short_desc.md +++ b/translations/zh-CN/data/reusables/webhooks/ping_short_desc.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/12/2022 ms.locfileid: "145065637" --- -当你创建新的 Webhook 时,我们将向你发送一个简单的 `ping` 事件,让你知道你已正确设置 Webhook。 此事件不会存储,因此无法通过[事件 API](/rest/reference/activity#ping-a-repository-webhook) 终结点进行检索。 +当你创建新的 Webhook 时,我们将向你发送一个简单的 `ping` 事件,让你知道你已正确设置 Webhook。此事件不会存储,因此无法通过[事件 API](/rest/reference/activity#ping-a-repository-webhook) 终结点进行检索。 diff --git a/translations/zh-CN/data/reusables/webhooks/project_card_properties.md b/translations/zh-CN/data/reusables/webhooks/project_card_properties.md index b311cd9dc1ce..8d2340ce4dc7 100644 --- a/translations/zh-CN/data/reusables/webhooks/project_card_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/project_card_properties.md @@ -8,8 +8,8 @@ ms.locfileid: "145084784" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 在项目卡上执行的操作。 可以是 `created`、`edited`、`moved`、`converted` 或 `deleted`。 +`action`|`string` | 在项目卡上执行的操作。可以是 `created`、`edited`、`moved`、`converted` 或 `deleted`。 `changes`|`object` | 如果操作为 `edited` 或 `converted`,则是对项目卡的更改。 `changes[note][from]` |`string` | 如果操作是 `edited` 或 `converted`,则为先前版本的说明。 -`after_id`|`integer` | 此卡现在所遵循的卡的 ID,如果操作为 "moved"。 如果它是列中的第一张卡,将为 `null`。 +`after_id`|`integer` | 此卡现在所遵循的卡的 ID,如果操作为 "moved"。如果它是列中的第一张卡,将为 `null`。 `project_card`|`object` | [项目卡](/rest/reference/projects#cards)本身。 diff --git a/translations/zh-CN/data/reusables/webhooks/project_column_properties.md b/translations/zh-CN/data/reusables/webhooks/project_column_properties.md index 6d390a9b4782..9fa4858ff320 100644 --- a/translations/zh-CN/data/reusables/webhooks/project_column_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/project_column_properties.md @@ -8,8 +8,8 @@ ms.locfileid: "145084783" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 在项目列上执行的操作。 可以是 `created`、`edited`、`moved` 或 `deleted` 其中之一。 +`action`|`string` | 在项目列上执行的操作。可以是 `created`、`edited`、`moved` 或 `deleted` 其中之一。 `changes`|`object` | 如果操作为 `edited`,则为对项目列的更改。 `changes[name][from]` |`string` | 如果操作为 `edited`,则为先前版本的名称。 -`after_id`|`integer` | 此列现在所遵循的列的 ID,如果操作为 "moved"。 如果是项目中的第一列,则为 `null`。 +`after_id`|`integer` | 此列现在所遵循的列的 ID,如果操作为 "moved"。如果是项目中的第一列,则为 `null`。 `project_column`|`object` | [项目列](/rest/reference/projects#columns)本身。 diff --git a/translations/zh-CN/data/reusables/webhooks/project_properties.md b/translations/zh-CN/data/reusables/webhooks/project_properties.md index 0e4bb6ec3a54..4fc082870b19 100644 --- a/translations/zh-CN/data/reusables/webhooks/project_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/project_properties.md @@ -8,7 +8,7 @@ ms.locfileid: "147876037" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 在项目上执行的操作。 可以是 `created`、`edited`、`closed`、`reopened` 或 `deleted` 的其中之一。 +`action`|`string` | 在项目上执行的操作。可以是 `created`、`edited`、`closed`、`reopened` 或 `deleted` 的其中之一。 `changes`|`object` | 对项目的更改(如果操作为 `edited`)。 `changes[name][from]` |`string` | 先前版本的名称(如果操作为 `edited`)。 `changes[body][from]` |`string` | 正文的先前版本(如果操作为 `edited`)。 diff --git a/translations/zh-CN/data/reusables/webhooks/public_short_desc.md b/translations/zh-CN/data/reusables/webhooks/public_short_desc.md index 411ec929cd0d..6ad94b02fb2f 100644 --- a/translations/zh-CN/data/reusables/webhooks/public_short_desc.md +++ b/translations/zh-CN/data/reusables/webhooks/public_short_desc.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145084781" --- -当私有仓库公开时。 毫无疑问:最好的 {% data variables.product.product_name %} 事件。 +当私有仓库公开时。毫无疑问:最好的 {% data variables.product.product_name %} 事件。 diff --git a/translations/zh-CN/data/reusables/webhooks/pull_request_event_api_properties.md b/translations/zh-CN/data/reusables/webhooks/pull_request_event_api_properties.md index c3d75e315de4..c48d2e669e9c 100644 --- a/translations/zh-CN/data/reusables/webhooks/pull_request_event_api_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/pull_request_event_api_properties.md @@ -8,4 +8,4 @@ ms.locfileid: "147876109" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 执行的操作内容. 可以是 `opened`、`edited`、`closed`、`reopened`、`assigned`、`unassigned`、`review_requested`、`review_request_removed`、`labeled`、`unlabeled` 和 `synchronize` 其中之一。 +`action`|`string` | 执行的操作内容。可以是 `opened`、`edited`、`closed`、`reopened`、`assigned`、`unassigned`、`review_requested`、`review_request_removed`、`labeled`、`unlabeled` 和 `synchronize` 其中之一。 diff --git a/translations/zh-CN/data/reusables/webhooks/pull_request_review_comment_event_api_properties.md b/translations/zh-CN/data/reusables/webhooks/pull_request_review_comment_event_api_properties.md index 2edbeaf6f318..24ae3f07e9a1 100644 --- a/translations/zh-CN/data/reusables/webhooks/pull_request_review_comment_event_api_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/pull_request_review_comment_event_api_properties.md @@ -8,4 +8,4 @@ ms.locfileid: "147876173" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 在评论上执行的操作。 可以为 `created`。 +`action`|`string` | 在评论上执行的操作。可以为 `created`。 diff --git a/translations/zh-CN/data/reusables/webhooks/pull_request_review_comment_webhook_properties.md b/translations/zh-CN/data/reusables/webhooks/pull_request_review_comment_webhook_properties.md index 0a1476df66dd..0b7991c55c3f 100644 --- a/translations/zh-CN/data/reusables/webhooks/pull_request_review_comment_webhook_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/pull_request_review_comment_webhook_properties.md @@ -8,4 +8,4 @@ ms.locfileid: "147880683" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 在评论上执行的操作。 可以是 `created`、`edited` 或 `deleted` 之一。 +`action`|`string` | 在评论上执行的操作。可以是 `created`、`edited` 或 `deleted` 之一。 diff --git a/translations/zh-CN/data/reusables/webhooks/pull_request_review_properties.md b/translations/zh-CN/data/reusables/webhooks/pull_request_review_properties.md index d4240d5e16bd..160e0c188ce7 100644 --- a/translations/zh-CN/data/reusables/webhooks/pull_request_review_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/pull_request_review_properties.md @@ -8,7 +8,7 @@ ms.locfileid: "147876172" --- 密钥 | 类型 | 说明 ----|------|------------ -`action` | `string` | 执行的操作内容. 可以是以下选项之一: +`action` | `string` | 执行的操作内容。可以是以下选项之一: `pull_request` | `object` | 与审查相关的[拉取请求](/rest/reference/pulls)。 `review` | `object` | 受影响的审查。 `changes[body][from]`|`string` | 如果操作为 `edited`,则为先前版本的正文。 diff --git a/translations/zh-CN/data/reusables/webhooks/pull_request_thread_properties.md b/translations/zh-CN/data/reusables/webhooks/pull_request_thread_properties.md index 74c0762cd3e2..a8e5457a0744 100644 --- a/translations/zh-CN/data/reusables/webhooks/pull_request_thread_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/pull_request_thread_properties.md @@ -8,6 +8,6 @@ ms.locfileid: "147883770" --- 密钥 | 类型 | 说明 ----|------|------------ -`action` | `string` | 执行的操作内容. 可以是以下选项之一: +`action` | `string` | 执行的操作内容。可以是以下选项之一: `pull_request` | `object` | 与线程相关的[拉取请求](/rest/reference/pulls)。 `thread` | `object` | 受影响的线程。 diff --git a/translations/zh-CN/data/reusables/webhooks/pull_request_webhook_properties.md b/translations/zh-CN/data/reusables/webhooks/pull_request_webhook_properties.md index cb88fbcd6bff..059120962a60 100644 --- a/translations/zh-CN/data/reusables/webhooks/pull_request_webhook_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/pull_request_webhook_properties.md @@ -8,4 +8,4 @@ ms.locfileid: "145084294" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 执行的操作内容. 可以是以下选项之一: +`action`|`string` | 执行的操作内容。可以是以下选项之一: diff --git a/translations/zh-CN/data/reusables/webhooks/pusher_type_desc.md b/translations/zh-CN/data/reusables/webhooks/pusher_type_desc.md index a7e45b6cb50d..b6fba90eb537 100644 --- a/translations/zh-CN/data/reusables/webhooks/pusher_type_desc.md +++ b/translations/zh-CN/data/reusables/webhooks/pusher_type_desc.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/09/2022 ms.locfileid: "147875980" --- -`pusher_type`|`string`| 事件的推送器类型。 可以是 `user` 或部署密钥。 +`pusher_type`|`string`| 事件的推送器类型。可以是 `user` 或部署密钥。 diff --git a/translations/zh-CN/data/reusables/webhooks/release_event_api_properties.md b/translations/zh-CN/data/reusables/webhooks/release_event_api_properties.md index f94c4e0faa51..83384eef7f6d 100644 --- a/translations/zh-CN/data/reusables/webhooks/release_event_api_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/release_event_api_properties.md @@ -8,4 +8,4 @@ ms.locfileid: "145067143" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 执行的操作内容. 可以为 `published`。 +`action`|`string` | 执行的操作内容。可以为 `published`。 diff --git a/translations/zh-CN/data/reusables/webhooks/release_webhook_properties.md b/translations/zh-CN/data/reusables/webhooks/release_webhook_properties.md index 6efe2f7667d4..148b00ea1c17 100644 --- a/translations/zh-CN/data/reusables/webhooks/release_webhook_properties.md +++ b/translations/zh-CN/data/reusables/webhooks/release_webhook_properties.md @@ -8,4 +8,4 @@ ms.locfileid: "145067138" --- 密钥 | 类型 | 说明 ----|------|------------- -`action`|`string` | 执行的操作内容. 可以是以下选项之一: