Skip to content

Commit d5989e1

Browse files
authored
Merge pull request #18257 from github/repo-sync
repo sync
2 parents 35ed78e + 4ef1e55 commit d5989e1

File tree

17 files changed

+100
-108
lines changed

17 files changed

+100
-108
lines changed

translations/log/cn-resets.csv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,14 +344,14 @@ translations/zh-CN/data/reusables/dependabot/dependabot-alerts-dependency-graph-
344344
translations/zh-CN/data/reusables/dependabot/enterprise-enable-dependabot.md,broken liquid tags
345345
translations/zh-CN/data/reusables/dotcom_billing/downgrade-org-to-free.md,broken liquid tags
346346
translations/zh-CN/data/reusables/enterprise-accounts/emu-password-reset-session.md,broken liquid tags
347-
translations/zh-CN/data/reusables/enterprise-accounts/emu-short-summary.md,broken liquid tags
347+
translations/zh-CN/data/reusables/enterprise-accounts/emu-short-summary.md,rendering error
348348
translations/zh-CN/data/reusables/enterprise-licensing/about-license-sync.md,broken liquid tags
349349
translations/zh-CN/data/reusables/enterprise-licensing/you-can-sync-for-a-combined-view.md,broken liquid tags
350350
translations/zh-CN/data/reusables/enterprise_installation/hardware-considerations-all-platforms.md,broken liquid tags
351351
translations/zh-CN/data/reusables/enterprise_installation/hardware-rec-table.md,broken liquid tags
352352
translations/zh-CN/data/reusables/enterprise_installation/upgrade-hardware-requirements.md,broken liquid tags
353353
translations/zh-CN/data/reusables/enterprise_management_console/badge_indicator.md,broken liquid tags
354-
translations/zh-CN/data/reusables/gated-features/enterprise-accounts.md,broken liquid tags
354+
translations/zh-CN/data/reusables/gated-features/enterprise-accounts.md,rendering error
355355
translations/zh-CN/data/reusables/gated-features/packages.md,broken liquid tags
356356
translations/zh-CN/data/reusables/gated-features/secret-scanning.md,broken liquid tags
357357
translations/zh-CN/data/reusables/getting-started/actions.md,broken liquid tags
@@ -372,9 +372,9 @@ translations/zh-CN/data/reusables/repositories/deleted_forks_from_private_reposi
372372
translations/zh-CN/data/reusables/repositories/enable-security-alerts.md,broken liquid tags
373373
translations/zh-CN/data/reusables/repositories/github-reviews-security-advisories.md,broken liquid tags
374374
translations/zh-CN/data/reusables/repositories/select-marketplace-apps.md,broken liquid tags
375-
translations/zh-CN/data/reusables/saml/saml-session-oauth.md,broken liquid tags
375+
translations/zh-CN/data/reusables/saml/saml-session-oauth.md,rendering error
376376
translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md,Listed in localization-support#489
377-
translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md,broken liquid tags
377+
translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md,rendering error
378378
translations/zh-CN/data/reusables/scim/after-you-configure-saml.md,broken liquid tags
379379
translations/zh-CN/data/reusables/secret-scanning/enterprise-enable-secret-scanning.md,broken liquid tags
380380
translations/zh-CN/data/reusables/security-advisory/link-browsing-advisory-db.md,broken liquid tags

translations/zh-CN/content/actions/learn-github-actions/contexts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ jobs:
192192
| `github.event_path` | `字符串` | 运行器上包含完整事件 web 挂钩负载的文件的路径。 |
193193
| `github.graphql_url` | `字符串` | {% data variables.product.prodname_dotcom %} GraphQL API 的 URL。 |
194194
| `github.head_ref` | `字符串` | 工作流程运行中拉取请求的 `head_ref` 或来源分支。 此属性仅在触发工作流程运行的事件为 `pull_request``pull_request_target` 时才可用。 |
195-
| `github.job` | `字符串` | 当前作业的 [`job_id`](/actions/reference/workflow-syntax-for-github-actions#jobsjob_id) |
195+
| `github.job` | `字符串` | 当前作业的 [`job_id`](/actions/reference/workflow-syntax-for-github-actions#jobsjob_id)<br /> Note: This context property is set by the Actions runner, and is only available within the execution `steps` of a job. Otherwise, the value of this property will be `null`. |
196196
| `github.ref` | `字符串` | 触发工作流程的分支或标记参考。 对于分支,格式为 `refs/heads/<branch_name>`,对于标记是 `refs/tags/<tag_name>`|
197197
{%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5338 %}
198198
| `github.ref_name` | `string` | {% data reusables.actions.ref_name-description %} | | `github.ref_protected` | `string` | {% data reusables.actions.ref_protected-description %} | | `github.ref_type` | `string` | {% data reusables.actions.ref_type-description %}
@@ -201,7 +201,7 @@ jobs:
201201
{%- ifversion fpt or ghec or ghes > 3.5 or ghae-issue-4722 %}
202202
| `github.run_attempt` | `string` | 在存储库中运行的特定工作流程的每次尝试的唯一编号。 对于工作流程运行的第一次尝试,此数字从 1 开始,并随着每次重新运行而递增。 |
203203
{%- endif %}
204-
| `github.server_url` | `string` | GitHub 服务器的 URL。 例如:`https://github.com`| | `github.sha` | `string` | 触发工作流运行的提交 SHA。 | | `github.token` | `string` | 用于代表存储库上安装的 GitHub 应用进行身份验证的令牌。 这在功能上等同于 `GITHUB_TOKEN` 密码。 更多信息请参阅“[自动令牌身份验证](/actions/security-guides/automatic-token-authentication)”。 | | `github.workflow` | `string` | 工作流程的名称。 如果工作流程文件未指定 `name`,此属性的值将是仓库中工作流程文件的完整路径。 | | `github.workspace` | `string` | 运行器上步骤的默认工作目录,以及使用[`检出`](https://github.com/actions/checkout)操作时存储库的默认位置。 |
204+
| `github.server_url` | `string` | GitHub 服务器的 URL。 例如:`https://github.com`| | `github.sha` | `string` | 触发工作流运行的提交 SHA。 | | `github.token` | `string` | 用于代表存储库上安装的 GitHub 应用进行身份验证的令牌。 这在功能上等同于 `GITHUB_TOKEN` 密码。 更多信息请参阅“[自动令牌身份验证](/actions/security-guides/automatic-token-authentication)”。 <br /> Note: This context property is set by the Actions runner, and is only available within the execution `steps` of a job. Otherwise, the value of this property will be `null`. | | `github.workflow` | `string` | 工作流程的名称。 如果工作流程文件未指定 `name`,此属性的值将是仓库中工作流程文件的完整路径。 | | `github.workspace` | `string` | 运行器上步骤的默认工作目录,以及使用[`检出`](https://github.com/actions/checkout)操作时存储库的默认位置。 |
205205

206206
### `github` 上下文的示例内容
207207

translations/zh-CN/content/authentication/managing-commit-signature-verification/about-commit-signature-verification.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ Commits and tags have the following verification statuses, depending on whether
3636
| **Unverified** | The commit is signed but the signature could not be verified.
3737
| No verification status | The commit is not signed.
3838

39+
### Signature verification for rebase and merge
40+
{% data reusables.pull_requests.rebase_and_merge_verification %}
41+
42+
For more information, see "[Rebasing and merging your commits](/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/about-merge-methods-on-github#rebasing-and-merging-your-commits)."
43+
3944
### Statuses with vigilant mode enabled
4045

4146
{% data reusables.identity-and-permissions.vigilant-mode-verification-statuses %}

translations/zh-CN/content/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ A time-based one-time password (TOTP) application automatically generates an aut
5252
{% data reusables.user-settings.access_settings %}
5353
{% data reusables.user-settings.security %}
5454
{% data reusables.two_fa.enable-two-factor-authentication %}
55-
{%- ifversion fpt or ghes > 3.1 %}
55+
{%- ifversion fpt or ghec or ghes > 3.1 %}
5656
5. Under "Two-factor authentication", select **Set up using an app** and click **Continue**.
5757
6. Under "Authentication verification", do one of the following:
5858
- Scan the QR code with your mobile device's app. After scanning, the app displays a six-digit code that you can enter on {% data variables.product.product_name %}.

translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The recommended formats explicitly define which versions are used for all direct
7272
{%- if github-actions-in-dependency-graph %}
7373
| {% data variables.product.prodname_actions %} workflows<sup>[1]</sup> | YAML | `.yml`, `.yaml` | `.yml`, `.yaml` |
7474
{%- endif %}
75-
{%- ifversion fpt or ghes > 3.2 or ghae %}
75+
{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
7676
| Go modules | Go | `go.sum` | `go.mod`, `go.sum` |
7777
{%- elsif ghes = 3.2 %}
7878
| Go modules | Go | `go.mod` | `go.mod` |

translations/zh-CN/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/common-validation-errors-when-creating-issue-forms.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ body:
311311
body:
312312
- attributes:
313313
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
314-
preview_only: false
315314
```
316315

317316
可以通过添加键 `type` ,并使用有效的输入类型作为值来修复该错误。 有关可用的 `body` 输入类型及其语法,请参阅“[{% data variables.product.prodname_dotcom %} 表单架构的语法](/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema#keys)”。
@@ -321,7 +320,6 @@ body:
321320
- type: markdown
322321
attributes:
323322
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
324-
preview_only: false
325323
```
326324

327325
## Body[i]: `x` 不是有效的输入类型
@@ -337,7 +335,6 @@ body:
337335
- type: x
338336
attributes:
339337
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
340-
preview_only: false
341338
```
342339

343340
可以通过将 `x` 更改为有效类型之一来修复该错误。
@@ -347,7 +344,6 @@ body:
347344
- type: markdown
348345
attributes:
349346
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
350-
preview_only: false
351347
```
352348

353349
## Body[i]:缺少必需的属性键 `value`
@@ -363,7 +359,6 @@ body:
363359
- type: markdown
364360
attributes:
365361
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
366-
preview_only: false
367362
- type: markdown
368363
```
369364

@@ -374,7 +369,6 @@ body:
374369
- type: markdown
375370
attributes:
376371
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
377-
preview_only: false
378372
- type: markdown
379373
attributes:
380374
value: "This is working now!"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ shortTitle: GitHub Campus Program
1919
- Exclusive access to new features, GitHub Education-specific swag, and free developer tools from {% data variables.product.prodname_dotcom %} partners
2020
- Automated access to premium {% data variables.product.prodname_education %} features, like the {% data variables.product.prodname_student_pack %}
2121

22-
To read about how GitHub is used by educators, see [GitHub Education stories.](https://education.github.com/stories)
22+
To read about how GitHub is used by educators, see [GitHub Education stories](https://education.github.com/stories).
2323

2424
## {% data variables.product.prodname_campus_program %} terms and conditions
2525

@@ -32,7 +32,7 @@ To read about how GitHub is used by educators, see [GitHub Education stories.](h
3232
- New organizations in your enterprise are automatically added to your enterprise account. To add organizations that existed before your school joined the {% data variables.product.prodname_campus_program %}, please contact [GitHub Education Support](https://support.github.com/contact/education). For more information about administrating your enterprise, see the [enterprise administrators documentation](/admin). New organizations in your enterprise are automatically added to your enterprise account. To add organizations that existed before your school joined the {% data variables.product.prodname_campus_program %}, please contact GitHub Education Support.
3333

3434

35-
To read more about {% data variables.product.prodname_dotcom %}'s privacy practices, see ["Global Privacy Practices"](/github/site-policy/global-privacy-practices)
35+
To read more about {% data variables.product.prodname_dotcom %}'s privacy practices, see ["Global Privacy Practices"](/github/site-policy/global-privacy-practices).
3636

3737
## {% data variables.product.prodname_campus_program %} Application Eligibility
3838

translations/zh-CN/content/get-started/quickstart/fork-a-repo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ gh repo fork <em>repository</em> --clone=true
154154

155155
6. 键入 `git remote add upstream`,然后粘贴您在第 3 步中复制的 URL 并按 **Enter** 键。 它将如下所示:
156156
```shell
157-
$ git remote add upstream https://{% data variables.command_line.codeblock %}/YOUR_USERNAME/Spoon-Knife.git
157+
$ git remote add upstream https://{% data variables.command_line.codeblock %}/ORIGINAL_OWNER/Spoon-Knife.git
158158
```
159159

160160
7. 要验证为复刻指定的新上游仓库,请再次键入 `git remote -v`。 您应该看到复刻的 URL 为 `origin`,原始仓库的 URL 为 `upstream`

translations/zh-CN/content/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,27 @@ graph TD;
4949
<pre>
5050
```geojson
5151
{
52-
"type": "Polygon",
53-
"coordinates": [
54-
[
55-
[-90,30],
56-
[-90,35],
57-
[-90,35],
58-
[-85,35],
59-
[-85,30]
60-
]
52+
"type": "FeatureCollection",
53+
"features": [
54+
{
55+
"type": "Feature",
56+
"id": 1,
57+
"properties": {
58+
"ID": 0
59+
},
60+
"geometry": {
61+
"type": "Polygon",
62+
"coordinates": [
63+
[
64+
[-90,35],
65+
[-90,30],
66+
[-85,30],
67+
[-85,35],
68+
[-90,35]
69+
]
70+
]
71+
}
72+
}
6173
]
6274
}
6375
```

translations/zh-CN/content/graphql/guides/using-global-node-ids.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ topics:
1212
- API
1313
---
1414

15-
您可以使用 REST API 或 GraphQL API 访问 GitHub 中的大多数对象(用户、议题、拉取请求等)。 使用[最近更新](https://developer.github.com/changes/2017-12-19-graphql-node-id/),可以在 REST API 中找到许多对象的 **global node ID(全局节点 ID)**,并将这些 ID 用于 GraphQL 操作。
15+
您可以使用 REST API 或 GraphQL API 访问 GitHub 中的大多数对象(用户、议题、拉取请求等)。 You can find the **global node ID** of many objects from within the REST API and use these IDs in your GraphQL operations. For more information, see "[Preview GraphQL API v4 Node IDs in REST API v3 resources](https://developer.github.com/changes/2017-12-19-graphql-node-id/)."
1616

1717
{% note %}
1818

0 commit comments

Comments
 (0)