1
0
mirror of synced 2025-12-30 03:01:36 -05:00

New translation batch for cn (#30074)

* Add crowdin translations

* Run script/i18n/homogenize-frontmatter.js

* Run script/i18n/lint-translation-files.js --check rendering

* run script/i18n/reset-files-with-broken-liquid-tags.js --language=cn

* run script/i18n/reset-known-broken-translation-files.js

* Check in cn CSV report
This commit is contained in:
docubot
2022-08-18 16:33:51 -04:00
committed by GitHub
parent 96108dfc5d
commit cbe6f56aa6
143 changed files with 1007 additions and 301 deletions

View File

@@ -215,10 +215,9 @@ translations/zh-CN/content/developers/webhooks-and-events/webhooks/about-webhook
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/discussions/quickstart.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/github-global-campus-for-students/why-wasnt-my-application-to-global-campus-for-students-approved.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
translations/zh-CN/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-at-your-educational-institution/index.md,broken liquid tags
translations/zh-CN/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/why-wasnt-my-application-for-a-student-developer-pack-approved.md,broken liquid tags
translations/zh-CN/content/education/manage-coursework-with-github-classroom/integrate-github-classroom-with-an-ide/about-using-makecode-arcade-with-github-classroom.md,broken liquid tags
translations/zh-CN/content/education/manage-coursework-with-github-classroom/integrate-github-classroom-with-an-ide/using-github-codespaces-with-github-classroom.md,broken liquid tags
translations/zh-CN/content/education/manage-coursework-with-github-classroom/learn-with-github-classroom/view-autograding-results.md,broken liquid tags
@@ -381,9 +380,9 @@ translations/zh-CN/data/reusables/enterprise-accounts/emu-short-summary.md,rende
translations/zh-CN/data/reusables/enterprise-licensing/verified-domains-license-sync.md,broken liquid tags
translations/zh-CN/data/reusables/enterprise_installation/hardware-considerations-all-platforms.md,broken liquid tags
translations/zh-CN/data/reusables/enterprise_management_console/badge_indicator.md,broken liquid tags
translations/zh-CN/data/reusables/enterprise_user_management/consider-usernames-for-external-authentication.md,broken liquid tags
translations/zh-CN/data/reusables/enterprise_user_management/consider-usernames-for-external-authentication.md,rendering error
translations/zh-CN/data/reusables/gated-features/codespaces-classroom-articles.md,broken liquid tags
translations/zh-CN/data/reusables/gated-features/enterprise-accounts.md,broken liquid tags
translations/zh-CN/data/reusables/gated-features/enterprise-accounts.md,rendering error
translations/zh-CN/data/reusables/gated-features/packages.md,broken liquid tags
translations/zh-CN/data/reusables/gated-features/secret-scanning-partner.md,broken liquid tags
translations/zh-CN/data/reusables/gated-features/secret-scanning.md,broken liquid tags
@@ -404,9 +403,9 @@ translations/zh-CN/data/reusables/package_registry/packages-cluster-support.md,b
translations/zh-CN/data/reusables/repositories/deleted_forks_from_private_repositories_warning.md,broken liquid tags
translations/zh-CN/data/reusables/repositories/enable-security-alerts.md,broken liquid tags
translations/zh-CN/data/reusables/repositories/select-marketplace-apps.md,broken liquid tags
translations/zh-CN/data/reusables/saml/saml-session-oauth.md,broken liquid tags
translations/zh-CN/data/reusables/saml/saml-session-oauth.md,rendering error
translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md,Listed in localization-support#489
translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md,broken liquid tags
translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md,rendering error
translations/zh-CN/data/reusables/scim/after-you-configure-saml.md,broken liquid tags
translations/zh-CN/data/reusables/secret-scanning/enterprise-enable-secret-scanning.md,broken liquid tags
translations/zh-CN/data/reusables/secret-scanning/partner-program-link.md,broken liquid tags
1 file reason
215 translations/zh-CN/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md rendering error
216 translations/zh-CN/content/discussions/collaborating-with-your-community-using-discussions/about-discussions.md broken liquid tags
217 translations/zh-CN/content/discussions/quickstart.md broken liquid tags
218 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 translations/zh-CN/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/why-wasnt-my-application-to-global-campus-for-students-approved.md broken liquid tags
219 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
220 translations/zh-CN/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-at-your-educational-institution/index.md broken liquid tags
translations/zh-CN/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/why-wasnt-my-application-for-a-student-developer-pack-approved.md broken liquid tags
221 translations/zh-CN/content/education/manage-coursework-with-github-classroom/integrate-github-classroom-with-an-ide/about-using-makecode-arcade-with-github-classroom.md broken liquid tags
222 translations/zh-CN/content/education/manage-coursework-with-github-classroom/integrate-github-classroom-with-an-ide/using-github-codespaces-with-github-classroom.md broken liquid tags
223 translations/zh-CN/content/education/manage-coursework-with-github-classroom/learn-with-github-classroom/view-autograding-results.md broken liquid tags
380 translations/zh-CN/data/reusables/enterprise-licensing/verified-domains-license-sync.md broken liquid tags
381 translations/zh-CN/data/reusables/enterprise_installation/hardware-considerations-all-platforms.md broken liquid tags
382 translations/zh-CN/data/reusables/enterprise_management_console/badge_indicator.md broken liquid tags
383 translations/zh-CN/data/reusables/enterprise_user_management/consider-usernames-for-external-authentication.md broken liquid tags rendering error
384 translations/zh-CN/data/reusables/gated-features/codespaces-classroom-articles.md broken liquid tags
385 translations/zh-CN/data/reusables/gated-features/enterprise-accounts.md broken liquid tags rendering error
386 translations/zh-CN/data/reusables/gated-features/packages.md broken liquid tags
387 translations/zh-CN/data/reusables/gated-features/secret-scanning-partner.md broken liquid tags
388 translations/zh-CN/data/reusables/gated-features/secret-scanning.md broken liquid tags
403 translations/zh-CN/data/reusables/repositories/deleted_forks_from_private_repositories_warning.md broken liquid tags
404 translations/zh-CN/data/reusables/repositories/enable-security-alerts.md broken liquid tags
405 translations/zh-CN/data/reusables/repositories/select-marketplace-apps.md broken liquid tags
406 translations/zh-CN/data/reusables/saml/saml-session-oauth.md broken liquid tags rendering error
407 translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md Listed in localization-support#489
408 translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md broken liquid tags rendering error
409 translations/zh-CN/data/reusables/scim/after-you-configure-saml.md broken liquid tags
410 translations/zh-CN/data/reusables/secret-scanning/enterprise-enable-secret-scanning.md broken liquid tags
411 translations/zh-CN/data/reusables/secret-scanning/partner-program-link.md broken liquid tags

View File

@@ -66,7 +66,7 @@ shortTitle: 您的个人资料自述文件
- 该仓库为私有仓库。
- 仓库名称不再与您的用户名匹配。
您选择的方法取决于您的需求,但如果您不确定,我们建议您将仓库设为私有。 有关如何将仓库设为私有的步骤,请参阅[“更改仓库的可见性”](/github/administering-a-repository/setting-repository-visibility#changing-a-repositorys-visibility)
您选择的方法取决于您的需求,但如果您不确定,我们建议您将仓库设为私有。 For steps on how to make your repository private, see "[Changing a repository's visibility](/github/administering-a-repository/setting-repository-visibility#changing-a-repositorys-visibility)."
## 延伸阅读

View File

@@ -12,7 +12,7 @@ miniTocMaxHeadingLevel: 3
## 关于辅助功能设置
To accommodate your vision, hearing, motor, cognitive, or learning needs, you can customize the user interface for {% data variables.product.product_location %}.
To create an experience on {% ifversion fpt or ghec or ghes %}{% data variables.product.product_location %}{% elsif ghae %}{% data variables.product.product_name %}{% endif %} that fits your needs, you can customize the user interface. Accessibility settings can be essential for people with disabilities, but can be useful to anyone. For example, customization of keyboard shortcuts is essential to people who navigate using voice control, but can be useful to anyone when a keyboard shortcut for {% data variables.product.product_name %} clashes with another application shortcut.
## 管理辅助功能设置
@@ -20,7 +20,7 @@ You can decide whether you want to use some or all keyboard shortcuts on {% ifve
### Managing keyboard shortcuts
You can perform actions across the {% data variables.product.product_name %} website without using your mouse by using your keyboard instead. Keyboard shortcuts can be useful to save time for some people, but may interfere with accessibility if you don't intend to use the shortcuts.
You can perform actions across the {% data variables.product.product_name %} website by using your keyboard alone. Keyboard shortcuts can be useful to save time, but can be activated accidentally or interfere with assistive technology.
By default, all keyboard shortcuts are enabled on {% data variables.product.product_name %}. 更多信息请参阅“[键盘快捷键](/get-started/using-github/keyboard-shortcuts)”。
@@ -28,16 +28,17 @@ By default, all keyboard shortcuts are enabled on {% data variables.product.prod
{% data reusables.user-settings.accessibility_settings %}
1. Under "Keyboard shortcuts", manage settings for your keyboard shortcuts.
- Optionally, to disable or enable shortcut keys that don't use modifiers keys like <kbd>Control</kbd> or <kbd>Command</kbd>, under "General", deselect **Character keys**. If you disable character keys, you may still be able to trigger shortcuts for your web browser, and you can still trigger shortcuts for {% data variables.product.product_name %} that use a modifier key.
{%- ifversion command-palette %}
- Optionally, to customize the keyboard shortcuts for triggering the command palette, under "Command palette", use the drop-down menus to choose a keyboard shortcut. For more information, see "[{% data variables.product.company_short %} Command Palette](/get-started/using-github/github-command-palette)."
- To disable shortcut keys that don't use modifiers keys like <kbd>Control</kbd> or <kbd>Command</kbd>, under "General", deselect **Character keys**.
- If you disable character keys, you may still be able to trigger shortcuts for your web browser, and you can still trigger shortcuts for {% data variables.product.product_name %} that use a modifier key.
{%- ifversion command-palette %}
- To customize the keyboard shortcuts for triggering the command palette, under "Command palette", use the drop-down menus to choose a keyboard shortcut. For more information, see "[{% data variables.product.company_short %} Command Palette](/get-started/using-github/github-command-palette)."
{%- endif %}
{% ifversion motion-management %}
### Managing motion
You can control how {% data variables.product.product_name %} displays animated images.
You can control how {% data variables.product.product_name %} displays animated _.gif_ images.
By default, {% data variables.product.product_name %} syncs with your system-level preference for reduced motion. For more information, see the documentation or settings for your operating system.
@@ -45,6 +46,6 @@ By default, {% data variables.product.product_name %} syncs with your system-lev
{% data reusables.user-settings.accessibility_settings %}
1. Under "Motion", manage settings for motion.
- Optionally, to control how {% data variables.product.product_name %} displays animaged images, under "Autoplay animated images", select **Sync with system**, **Enabled**, or **Disabled**.
- To control how {% data variables.product.product_name %} displays animated images, under "Autoplay animated images", select **Sync with system**, **Enabled**, or **Disabled**.
{% endif %}

View File

@@ -32,6 +32,15 @@ shortTitle: 管理主题设置
1. 单击想要使用的主题。
- 如果您选择单个主题,请单击一个主题。
{%- ifversion ghes = 3.5 %}
{% note %}
**Note**: The light high contrast theme was unavailable in {% data variables.product.product_name %} 3.5.0, 3.5.1, 3.5.2, and 3.5.3. The theme is available in 3.5.4 and later. For more information about upgrades, contact your site administrator.
For more information about determining the version of {% data variables.product.product_name %} you're using, see "[About versions of {% data variables.product.prodname_docs %}](/get-started/learning-about-github/about-versions-of-github-docs#github-enterprise-server)."
{% endnote %}
{%- endif %}
{% ifversion fpt or ghes > 3.2 or ghae or ghec %}![Radio buttons for the choice of a single theme](/assets/images/help/settings/theme-choose-a-single-theme-highcontrast.png){% else %}![Radio buttons for the choice of a single theme](/assets/images/help/settings/theme-choose-a-single-theme.png){% endif %}
- 如果您选择遵循系统设置,请单击白天主题和夜间主题。

View File

@@ -433,7 +433,7 @@ runs:
有关 `entrypoint` 如何执行的更多信息,请参阅“[Dockerfile 对 {% data variables.product.prodname_actions %} 的支持](/actions/creating-actions/dockerfile-support-for-github-actions/#entrypoint)”。
### `post-entrypoint`
### `runs.post-entrypoint`
**可选** 允许您在 `runs.entrypoint` 操作完成后运行清理脚本。 {% data variables.product.prodname_actions %} 使用 `docker run` 来启动此操作。 因为 {% data variables.product.prodname_actions %} 使用同一基本映像在新容器内运行脚本,所以运行时状态与主 `entrypoint` 容器不同。 您可以在任一工作空间中访问所需的任何状态,`HOME` 或作为 `STATE_` 变量。 `post-entrypoint:` 操作始终默认运行,但您可以使用 [`runs.post-if`](#runspost-if) 覆盖该设置。
@@ -475,7 +475,7 @@ runs:
## `branding`
您可以使用颜色和 [Feather](https://feathericons.com/) 图标创建徽章,以个性化和识别操作。 徽章显示在 [{% data variables.product.prodname_marketplace %}](https://github.com/marketplace?type=actions) 中的操作名称旁边。
**Optional** You can use a color and [Feather](https://feathericons.com/) icon to create a badge to personalize and distinguish your action. 徽章显示在 [{% data variables.product.prodname_marketplace %}](https://github.com/marketplace?type=actions) 中的操作名称旁边。
### 示例:为操作配置品牌宣传

View File

@@ -457,6 +457,8 @@ jobs:
{% endif %}
| `runner.temp` | `字符串` | {% data reusables.actions.runner-temp-directory-description %}
| `runner.tool_cache` | `字符串` | {% ifversion ghae %}{% data reusables.actions.self-hosted-runners-software %} {% else %} {% data reusables.actions.runner-tool-cache-description %} {% endif %}
| `runner.debug` | `字符串` | {% data reusables.actions.runner-debug-description %}
{%- comment %}
`runner.workspace` 属性故意不记录。 与 `github.workspace`相比,这是一个早期的 Actions 属性,现在与用户无关。 它为兼容性而保留。 | `runner.workspace` | `string` | |
{%- endcomment %}
@@ -538,13 +540,13 @@ jobs:
对于具有矩阵的工作流程,`strategy` 上下文包含有关当前作业的矩阵执行策略的信息。
| 属性名称 | 类型 | 描述 |
| ----------------------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `strategy` | `对象` | 此上下文针对工作流程运行中的每项作业而改变。 您可以从工作流程中的任何作业或步骤访问此上下文。 此对象包含下面列出的所有属性。 |
| `strategy.fail-fast` | `字符串` | 为 `true` 时,如果矩阵中的任何作业失败,所有正在进行的作业都将被取消。 更多信息请参阅“[{% data variables.product.prodname_actions %} 的工作流程语法](/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast)”。 |
| `strategy.job-index` | `字符串` | 矩阵中当前作业的索引。 **注意:** 此数字是零基数字。 矩阵中第一个作业的索引是 `0`。 |
| `strategy.job-total` | `字符串` | 矩阵中的作业总数。 **注意:** 此数字 **不是**从零基数字。 例如,对于具有四个作业的矩阵,`job-total` 的值为 `4`。 |
| `strategy.max-parallel` | `字符串` | 使用 `matrix` 作业策略时可同时运行的最大作业数。 更多信息请参阅“[{% data variables.product.prodname_actions %} 的工作流程语法](/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategymax-parallel)”。 |
| 属性名称 | 类型 | 描述 |
| ----------------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `strategy` | `对象` | 此上下文针对工作流程运行中的每项作业而改变。 您可以从工作流程中的任何作业或步骤访问此上下文。 此对象包含下面列出的所有属性。 |
| `strategy.fail-fast` | `字符串` | 为 `true` 时,如果矩阵中的任何作业失败,所有正在进行的作业都将被取消。 For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast)." |
| `strategy.job-index` | `字符串` | 矩阵中当前作业的索引。 **注意:** 此数字是零基数字。 矩阵中第一个作业的索引是 `0` |
| `strategy.job-total` | `字符串` | 矩阵中的作业总数。 **注意:** 此数字 **不是**从零基数字。 例如,对于具有四个作业的矩阵,`job-total` 的值为 `4` |
| `strategy.max-parallel` | `字符串` | 使用 `matrix` 作业策略时可同时运行的最大作业数。 For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategymax-parallel)." |
### `strategy` 上下文的示例内容

View File

@@ -155,7 +155,7 @@ jobs:
{%- ifversion actions-runner-arch-envvars %}
| `RUNNER_ARCH` | {% data reusables.actions.runner-arch-description %}
{%- endif %}
| `RUNNER_NAME` | {% data reusables.actions.runner-name-description %} 例如 `Hosted Agent` | | `RUNNER_OS` | {% data reusables.actions.runner-os-description %} 例如 `Windows` | | `RUNNER_TEMP` | {% data reusables.actions.runner-temp-directory-description %} 例如 `D:\a\_temp` |
| `RUNNER_DEBUG` | {% data reusables.actions.runner-debug-description %} | | `RUNNER_NAME` | {% data reusables.actions.runner-name-description %} For example, `Hosted Agent` | | `RUNNER_OS` | {% data reusables.actions.runner-os-description %} For example, `Windows` | | `RUNNER_TEMP` | {% data reusables.actions.runner-temp-directory-description %} For example, `D:\a\_temp` |
{% ifversion not ghae %}| `RUNNER_TOOL_CACHE` | {% data reusables.actions.runner-tool-cache-description %} 例如 `C:\hostedtoolcache\windows` |{% endif %}
{% note %}

View File

@@ -125,14 +125,22 @@ env:
如果 `search` 包含 `item`,则返回 `true`。 如果 `search` 为数组,此函数在 `item` 为数组中的元素时返回 `true`。 如果 `search` 为字符串,此函数在 `item``search` 的子字符串时返回 `true`。 此函数不区分大小写。 抛出值到字符串。
#### 使用数组的示例
`contains(github.event.issue.labels.*.name, 'bug')` 返回与事件相关的议题是否带有标签 "bug"。
#### 使用字符串的示例
`contains('Hello world', 'llo')` 返回 `true`.
#### Example using an object filter
`contains(github.event.issue.labels.*.name, 'bug')` returns `true` if the issue related to the event has a label "bug".
For more information, see "[Object filters](#object-filters)."
#### Example matching an array of strings
Instead of writing `github.event_name == "push" || github.event_name == "pull_request"`, you can use `contains()` with `fromJson()` to check if an array of strings contains an `item`.
For example, `contains(fromJson('["push", "pull_request"]'), github.event_name)` returns `true` if `github.event_name` is "push" or "pull_request".
### startsWith
`startsWith( searchString, searchValue )`
@@ -221,7 +229,7 @@ jobs:
needs: job1
runs-on: ubuntu-latest
strategy:
matrix: ${{fromJSON(needs.job1.outputs.matrix)}}
matrix: ${{ fromJSON(needs.job1.outputs.matrix) }}
steps:
- run: build
```
@@ -235,7 +243,7 @@ jobs:
```yaml
name: print
on: push
env:
env:
continue: true
time: 3
jobs:

View File

@@ -121,7 +121,7 @@ jobs:
{% raw %}${{ runner.os }}-build-{% endraw %}
{% raw %}${{ runner.os }}-{% endraw %}
- if: {% raw %}${{ steps.cache-npm.outputs.cache-hit == 'false' }}{% endraw %}
- if: {% raw %}${{ steps.cache-npm.outputs.cache-hit != 'true' }}{% endraw %}
name: List the state of node modules
continue-on-error: true
run: npm list
@@ -172,12 +172,12 @@ npm-d5ea0750
### 使用 `cache` 操作的输出
您可以使用 `cache` 操作的输出来根据缓存命中或错过是否发生来执行某些操作。 如果存在缓存未命中(找不到指定 `key` 的缓存的完全匹配项),则 `cache-hit` 输出将设置为 `false`
您可以使用 `cache` 操作的输出来根据缓存命中或错过是否发生来执行某些操作。 When an exact match is found for a cache for the specified `key`, the `cache-hit` output is set to `true`.
在上面的示例工作流程中,有一个步骤列出了发生缓存未命中时 Node 模块的状态:
```yaml
- if: {% raw %}${{ steps.cache-npm.outputs.cache-hit == 'false' }}{% endraw %}
- if: {% raw %}${{ steps.cache-npm.outputs.cache-hit != 'true' }}{% endraw %}
name: List the state of node modules
continue-on-error: true
run: npm list

View File

@@ -20,9 +20,7 @@ After you purchase or start a trial of {% data variables.product.product_name %}
## Prerequisites
- Before you can deploy {% data variables.product.product_name %}, you must request access from your {% data variables.product.company_short %} account team. {% data variables.product.company_short %} will enable deployment of {% data variables.product.product_name %} for your Azure subscription. If you haven't already purchased {% data variables.product.product_name %}, you can contact {% data variables.contact.contact_enterprise_sales %} to check your eligibility for a trial.
- You must have permission to perform the `/register/action` operation for the resource provider in Azure. The permission is included in the `Contributor` and `Owner` roles. For more information, see [Azure resource providers and types](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types#register-resource-provider) in the Microsoft documentation.
You must have permission to perform the `/register/action` operation for the resource provider in Azure. The permission is included in the `Contributor` and `Owner` roles. For more information, see [Azure resource providers and types](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types#register-resource-provider) in the Microsoft documentation.
## Deploying {% data variables.product.product_name %} with the {% data variables.actions.azure_portal %}

View File

@@ -33,7 +33,8 @@ This article explains how site administrators can configure {% data variables.pr
## Review hardware requirements
{%- ifversion ghes %}
{%- ifversion ghes < 3.6 %}
The CPU and memory resources available to {% data variables.product.product_location %} determine the number of jobs that can be run concurrently without performance loss. {% data reusables.actions.minimum-hardware %}
@@ -41,6 +42,13 @@ The peak quantity of concurrent jobs running without performance loss depends on
{% endif %}
{%- ifversion ghes > 3.5 %}
The CPU and memory resources available to {% data variables.product.product_location %} determine the number of runners that can be configured without performance loss. {% data reusables.actions.minimum-hardware %}
The peak quantity of connected runners without performance loss depends on such factors as job duration, artifact usage, number of repositories running Actions, and how much other work your instance is doing not related to Actions. Internal testing at GitHub demonstrated the following performance targets for GitHub Enterprise Server on a range of CPU and memory configurations:
{% endif %}
{%- ifversion ghes = 3.2 %}
@@ -80,6 +88,23 @@ Maximum concurrency was measured using multiple repositories, job duration of ap
{%- endif %}
{%- ifversion ghes = 3.6 %}
{% data reusables.actions.hardware-requirements-3.6 %}
{% data variables.product.company_short %} measured maximum connected runners using multiple repositories, job duration of approximately 10 minutes, and 10 MB artifact uploads. You may experience different performance depending on the overall levels of activity on your instance.
{% note %}
**Notes:**
- Beginning with {% data variables.product.prodname_ghe_server %} 3.6, {% data variables.product.company_short %} documents connected runners as opposed to concurrent jobs. Connected runners represents the most runners you can connect and expect to utilize. It should also be noted that connecting more runners than you can expect to utilize can negatively impact performance.
- Beginning with {% data variables.product.prodname_ghe_server %} 3.5, {% data variables.product.company_short %}'s internal testing uses 3rd generation CPUs to better reflect a typical customer configuration. This change in CPU represents a small portion of the changes to performance targets in this version of {% data variables.product.prodname_ghe_server %}.
{% endnote %}
{%- endif %}
If you plan to enable {% data variables.product.prodname_actions %} for the users of an existing instance, review the levels of activity for users and automations on the instance and ensure that you have provisioned adequate CPU and memory for your users. For more information about monitoring the capacity and performance of {% data variables.product.prodname_ghe_server %}, see "[Monitoring your appliance](/admin/enterprise-management/monitoring-your-appliance)."
For more information about minimum hardware requirements for {% data variables.product.product_location %}, see the hardware considerations for your instance's platform.

View File

@@ -13,7 +13,7 @@ topics:
permissions: Enterprise owners can use a recovery code to access an enterprise account.
---
当身份验证配置错误或身份提供程序 (IdP) 问题阻止您使用 SSO 时,您可以使用恢复代码访问您的企业帐户。
You can use a recovery code to access your enterprise account when an authentication configuration error or an issue with your identity provider (IdP) prevents you from using SSO.
要以这种方式访问您的企业帐户,您必须以前下载并存储了企业的恢复代码。 更多信息请参阅“[下载企业帐户的单点登录恢复代码](/admin/identity-and-access-management/managing-recovery-codes-for-your-enterprise/downloading-your-enterprise-accounts-single-sign-on-recovery-codes)”。

View File

@@ -85,6 +85,12 @@ Enterprise owners can set up{% ifversion pause-audit-log-stream %}, pause,{% end
{% ifversion streaming-oidc-s3 %}
#### 使用 OpenID Connect 设置流式传输到 S3
{% note %}
**Note:** Streaming to Amazon S3 with OpenID Connect is currently in beta and subject to change.
{% endnote %}
1. 在 AWS 中,将 {% data variables.product.prodname_dotcom %} OIDC 提供商添加到 IAM。 有关更多信息,请参阅 AWS 文档中的[创建 OpenID Connect (OIDC) 身份提供程序](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc.html)。
- 对于提供程序 URL请使用 `https://oidc-configuration.audit-log.githubusercontent.com`

View File

@@ -75,11 +75,3 @@ Prior to migration, if a user has created a package in the {% data variables.pro
{% data reusables.enterprise-accounts.packages-tab %}
1. To the right of the number of packages to migrate, click **Re-run migration**. During the migration, {% data variables.product.product_name %} will display progress on this page.
1. If the migration fails again, start from step 1 and re-run the migration.
{% ifversion ghes %}
## Monitoring traffic to the registries
You can use visualize traffic to the Docker registry and {% data variables.product.prodname_container_registry %} from {% data variables.product.product_location %}'s monitor dashboard. The "GitHub Container Package Registry" graph can help you confirm that you've successfully migrated all images to the {% data variables.product.prodname_container_registry %}. In the graph, "v1" represents traffic to the Docker registry, and "v2" represents traffic to the {% data variables.product.prodname_container_registry %}. 更多信息请参阅“[访问监控仪表板](/admin/enterprise-management/monitoring-your-appliance/accessing-the-monitor-dashboard)”。
{% endif %}

View File

@@ -41,7 +41,7 @@ shortTitle: 安全设置策略
- 当您需要为企业进行双重身份验证时,不使用 2FA 的企业拥有的所有组织中的成员、外部协作者和帐单管理员(包括自动程序帐户)将从组织中删除,并失去对其仓库的访问权限。 他们还会失去对组织私有仓库的复刻的访问权限。 如果他们在从您的组织中删除后的三个月内为其帐户启用双重身份验证,您可以恢复其访问权限和设置。 更多信息请参阅“[恢复组织的前成员](/articles/reinstating-a-former-member-of-your-organization)”。
- 为其帐户禁用 2FA 的企业拥有的任何组织中的任何组织所有者、成员、帐单管理员或外部协作者在您启用所需的双重身份验证后将自动从组织中删除。
- 如果您是某个要求双重身份验证的企业的唯一所有者,则在不为企业禁用双重身份验证要求的情况下,您将无法为用户帐户禁用 2FA。
- If you're the sole owner of an enterprise that requires two-factor authentication, you won't be able to disable 2FA for your user account without disabling required two-factor authentication for the enterprise.
{% endwarning %}

View File

@@ -1,6 +1,7 @@
---
title: Viewing people in your enterprise
intro: 'To audit access to enterprise-owned resources or user license usage, enterprise owners can view every administrator and member of the enterprise.'
permissions: 'Enterprise owners can view the people in an enterprise.'
redirect_from:
- /github/setting-up-and-managing-your-enterprise-account/viewing-people-in-your-enterprise-account
- /articles/viewing-people-in-your-enterprise-account
@@ -21,6 +22,20 @@ To audit access to your enterprise's resources and manage license usage, you can
You can see all current enterprise members and enterprise administrators{% ifversion ghec %}, as well as pending invitations to become members and administrators{% endif %}. To make it easier to consume this information, you can search and filter the lists.
{% ifversion ghec %}
If {% data variables.product.prodname_github_connect %} is configured for your enterprise, when you filter a list of people in your enterprise, the following limitations apply.
- The filter for two-factor authentication (2FA) status does not show people who only have an account on a {% data variables.product.prodname_ghe_server %} instance.
- If you combine the filter for accounts on {% data variables.product.prodname_ghe_server %} instances with either the filter for organizations or 2FA status, you will not see any results.
For more information about {% data variables.product.prodname_github_connect %}, see the following articles.
- "[About {% data variables.product.prodname_github_connect %}](/enterprise-server/admin/configuration/configuring-github-connect/about-github-connect)" in the {% data variables.product.prodname_ghe_server %} documentation
- "[About {% data variables.product.prodname_github_connect %}](/github-ae@latest/admin/configuration/configuring-github-connect/about-github-connect)" in the {% data variables.product.prodname_ghe_managed %} documentation
{% endif %}
## Viewing enterprise administrators
You can view all the current enterprise owners{% ifversion ghec %} and billing managers{% endif %} for your enterprise.{% ifversion enterprise-membership-view-improvements %} You can see useful information about each administrator{% ifversion ghec %} and filter the list by role{% endif %}.{% endif %} You can find a specific person by searching for their username or display name.

View File

@@ -18,4 +18,4 @@ shortTitle: GitHub Copilot 的计费
{% data variables.product.prodname_copilot %} 订阅以月或年为周期提供。 如果您选择按月计费周期,则每个日历月将向您收取 $10 的费用。 如果您选择年度结算周期,则每年将向您收取 $100 的费用。 您可以随时修改结算周期,修改将从下一个结算周期开始时反映出来。
{% data variables.product.prodname_copilot %} 的免费订阅可供经过验证的学生以及 {% data variables.product.company_short %} 上常用开源存储库的维护者使用。 如果您符合开源维护者的条件,当您访问 {% data variables.product.prodname_copilot %} 订阅页面时,您将自动收到通知。 作为学生,如果您当前收到 {% data variables.product.prodname_student_pack %},则当您访问 {% data variables.product.prodname_copilot %} 订阅页面时,您还将获得免费订阅。 有关 {% data variables.product.prodname_student_pack %} 的详细信息,请参阅[申请学生开发包](/free-pro-team@latest/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/apply-for-a-student-developer-pack)”。
{% data variables.product.prodname_copilot %} 的免费订阅可供经过验证的学生以及 {% data variables.product.company_short %} 上常用开源存储库的维护者使用。 如果您符合开源维护者的条件,当您访问 {% data variables.product.prodname_copilot %} 订阅页面时,您将自动收到通知。 作为学生,如果您当前收到 {% data variables.product.prodname_student_pack %},则当您访问 {% data variables.product.prodname_copilot %} 订阅页面时,您还将获得免费订阅。 For more information about the {% data variables.product.prodname_student_pack %}, see "[Apply to {% data variables.product.prodname_global_campus %} as a student](/free-pro-team@latest/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/apply-to-github-global-campus-as-a-student)."

View File

@@ -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.008 USD per GB of storage per day 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.25 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.008 USD per GB per day 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.25 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 %}

View File

@@ -28,11 +28,11 @@ shortTitle: Discounted subscriptions
## Discounts for personal accounts
In addition to the unlimited public and private repositories for students and faculty with {% data variables.product.prodname_free_user %}, verified students can apply for the {% data variables.product.prodname_student_pack %} to receive additional benefits from {% data variables.product.prodname_dotcom %} partners. For more information, see "[Apply for a student developer pack](/free-pro-team@latest/education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-a-student-developer-pack)."
In addition to the unlimited public and private repositories for students and faculty with {% data variables.product.prodname_free_user %}, verified students can apply for the {% data variables.product.prodname_student_pack %} to receive additional benefits from {% data variables.product.prodname_dotcom %} partners. For more information, see "[Apply to {% data variables.product.prodname_global_campus %} as a student](/free-pro-team@latest/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/apply-to-github-global-campus-as-a-student)."
## Discounts for schools and universities
Verified academic faculty can apply for {% data variables.product.prodname_team %} for teaching or academic research. For more information, see "[Use {% data variables.product.prodname_dotcom %} in your classroom and research](/free-pro-team@latest/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research)." You can also request educational materials goodies for your students. For more information, visit [{% data variables.product.prodname_education %}](https://education.github.com/).
Verified academic faculty can apply for {% data variables.product.prodname_team %} for teaching or academic research. For more information, see "[{% data variables.product.prodname_global_campus %} for teachers](/free-pro-team@latest/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers)." You can also request educational materials goodies for your students. For more information, visit [{% data variables.product.prodname_education %}](https://education.github.com/).
## Discounts for nonprofits and libraries

View File

@@ -204,15 +204,14 @@ To dismiss {% ifversion delete-code-scanning-alerts %}or delete{% endif %} alert
![Filter alerts by rule](/assets/images/enterprise/3.1/help/repository/code-scanning-filter-by-rule.png)
{% endif %}{% endif %}
1. If you want to dismiss an alert, it's important to explore the alert first, so that you can choose the correct dismissal reason. Click the alert you'd like to explore.
![Open an alert from the summary list](/assets/images/help/repository/code-scanning-click-alert.png)
1. Review the alert, then click {% ifversion comment-dismissed-code-scanning-alert %}**Dismiss alert** and choose, or type, a reason for closing the alert.
![Screenshot of code scanning alert with dropdown to choose dismissal reason emphasized](/assets/images/help/repository/code-scanning-alert-drop-down-reason.png)
{% else %}**Dismiss** and choose a reason for closing the alert.
{%- ifversion comment-dismissed-code-scanning-alert %}
1. Review the alert, then click **Dismiss alert** and choose, or type, a reason for closing the alert.
![Screenshot of code scanning alert with dropdown to choose dismissal reason emphasized](/assets/images/help/repository/code-scanning-alert-dropdown-reason.png)
{%- else %}
1. Review the alert, then click **Dismiss** and choose a reason for closing the alert.
![Choosing a reason for dismissing an alert](/assets/images/help/repository/code-scanning-alert-close-drop-down.png)
{% endif %}
{%- endif %}
{% data reusables.code-scanning.choose-alert-dismissal-reason %}
{% data reusables.code-scanning.false-positive-fix-codeql %}

View File

@@ -118,7 +118,7 @@ topics:
关闭警报的另一种办法是忽略它。 您可以忽略您认为不需要修复的警报。 {% data reusables.code-scanning.close-alert-examples %} 如果您对仓库有写入权限,则 **Dismiss忽略**按钮在代码注释和警报摘要中可用。 单击 **Dismiss忽略**时,您将被提示选择关闭警报的原因。
{% ifversion comment-dismissed-code-scanning-alert %}
![用于强调选择解除原因的下拉列表代码扫描警报屏幕截图](/assets/images/help/repository/code-scanning-alert-drop-down-reason.png)
![用于强调选择解除原因的下拉列表代码扫描警报屏幕截图](/assets/images/help/repository/code-scanning-alert-dropdown-reason.png)
{% else %}
![选择忽略警报的原因](/assets/images/help/repository/code-scanning-alert-close-drop-down.png)
{% endif %}

View File

@@ -173,19 +173,28 @@ topics:
## 查看和更新已关闭的警报
{% tip %}
**提示:** 您只能重新打开以前已忽略的警报。 无法重新打开已修复的已关闭警报。
{% endtip %}
You can view all open alerts, and you can reopen alerts that have been previously dismissed. 无法重新打开已修复的已关闭警报。
{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-security %}
{% data reusables.repositories.sidebar-dependabot-alerts %}
1. 要仅查看已关闭的警报,请单击 **Closed已关闭**{% ifversion dependabot-bulk-alerts %} ![Screenshot showing the "Closed" option](/assets/images/help/repository/dependabot-alerts-closed-checkbox.png){% else %}
![Screenshot showing the "Closed" option](/assets/images/help/repository/dependabot-alerts-closed.png){% endif %}
1. 单击要查看或更新的警报。{% ifversion dependabot-bulk-alerts %} ![Screenshot showing a highlighted dependabot alert](/assets/images/help/repository/dependabot-alerts-select-closed-alert-checkbox.png){% else %}
![Screenshot showing a highlighted dependabot alert](/assets/images/help/repository/dependabot-alerts-select-closed-alert.png){% endif %}
2. (可选)如果警报已消除,并且您希望重新打开它,请单击 **Reopen重新打开**。 无法重新打开已修复的警报。 ![显示"重新打开"按钮的屏幕截图](/assets/images/help/repository/reopen-dismissed-alert.png)
1. 要仅查看已关闭的警报,请单击 **Closed已关闭**
{%- ifversion dependabot-bulk-alerts %}
![显示"已关闭"选项的屏幕截图](/assets/images/help/repository/dependabot-alerts-closed-checkbox.png)
{%- else %}
![显示"已关闭"选项的屏幕截图](/assets/images/help/repository/dependabot-alerts-closed.png)
{%- endif %}
1. Click the alert that you would like to view or update.
{%- ifversion dependabot-bulk-alerts %}
![显示突出显示的 dependabot 警报的屏幕截图](/assets/images/help/repository/dependabot-alerts-select-closed-alert-checkbox.png)
{%- else %}
![显示突出显示的 dependabot 警报的屏幕截图](/assets/images/help/repository/dependabot-alerts-select-closed-alert.png) {%- endif %}
2. (可选)如果警报已消除,并且您希望重新打开它,请单击 **Reopen重新打开**。 无法重新打开已修复的警报。
{% indented_data_reference reusables.enterprise.3-5-missing-feature spaces=3 %}
![显示"重新打开"按钮的屏幕截图](/assets/images/help/repository/reopen-dismissed-alert.png)
{% endif %}

View File

@@ -28,6 +28,8 @@ includeGuides:
- /code-security/secret-scanning/configuring-secret-scanning-for-your-repositories
- /code-security/secret-scanning/defining-custom-patterns-for-secret-scanning
- /code-security/secret-scanning/managing-alerts-from-secret-scanning
- /code-security/secret-scanning/protecting-pushes-with-secret-scanning
- /code-security/secret-scanning/pushing-a-branch-blocked-by-push-protection
- /code-security/secret-scanning/secret-scanning-patterns
- /code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/tracking-code-scanning-alerts-in-issues-using-task-lists
- /code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning

View File

@@ -21,5 +21,6 @@ children:
- /managing-alerts-from-secret-scanning
- /secret-scanning-patterns
- /protecting-pushes-with-secret-scanning
- /pushing-a-branch-blocked-by-push-protection
---

View File

@@ -13,7 +13,7 @@ topics:
- Advanced Security
- Alerts
- Repositories
shortTitle: 推送保护
shortTitle: Enable push protection
---
{% data reusables.secret-scanning.beta %}
@@ -30,11 +30,7 @@ If a contributor bypasses a push protection block for a secret, {% data variable
- adds the bypass event to the audit log.{% ifversion secret-scanning-push-protection-email %}
- sends an email alert to organization owners, security managers, and repository administrators, with a link to the related secret and the reason why it was allowed.{% endif %}
{% data variables.product.prodname_secret_scanning_caps %} 作为推送保护,当前会扫描存储库中查找由以下服务提供商颁发的机密。
{% data reusables.secret-scanning.secret-scanning-pattern-pair-matches %}
{% data reusables.secret-scanning.secret-list-private-push-protection %}
For information on the secrets and service providers supported for push protection, see "[{% data variables.product.prodname_secret_scanning_caps %} patterns](/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-push-protection)."
## 启用 {% data variables.product.prodname_secret_scanning %} 作为推送保护
@@ -58,32 +54,24 @@ If a contributor bypasses a push protection block for a secret, {% data variable
{% data reusables.repositories.navigate-to-ghas-settings %}
{% data reusables.advanced-security.secret-scanning-push-protection-repo %}
## Using secret scanning as a push protection from the command line
## 从命令行使用 {% data variables.product.prodname_secret_scanning %} 作为推送保护
当您尝试将受支持的密钥推送到启用了 {% data variables.product.prodname_secret_scanning %} 作为推送保护的存储库或组织时,{% data variables.product.prodname_dotcom %} 将阻止推送。 您可以从提交中删除机密,也可以按照提供的 URL 进行推送。
{% data reusables.secret-scanning.push-protection-command-line-choice %}
在命令行上一次最多会显示五个检测到的机密。 如果已在存储库中检测到特定机密,并且警报已存在,{% data variables.product.prodname_dotcom %} 不会阻止该机密。
![显示当用户尝试将密钥推送到存储库时推送被阻止的屏幕截图](/assets/images/help/repository/secret-scanning-push-protection-with-link.png)
如果需要从正在推送的分支上的最新提交(即 `HEAD`)以及包含该机密的任何早期提交中删除机密,您可以从 `HEAD` 中删除机密,然后在引入提交和已删除机密的 `HEAD` 的第一个版本之间压缩提交。
{% data reusables.secret-scanning.push-protection-remove-secret %} For more information about remediating blocked secrets, see "[Pushing a branch blocked by push protection](/code-security/secret-scanning/pushing-a-branch-blocked-by-push-protection#resolving-a-blocked-push-on-the-command-line)."
{% note %}
如果确认某个机密是真实的,并且打算稍后修复它,则应尽快修复。 例如,您可以撤销密钥,并从存储库的提交历史记录中删除密钥。 Real secrets that have been exposed must be revoked to avoid unauthorized access. You might consider first rotating the secret before revoking it. 更多信息请参阅“[从仓库中删除敏感数据](/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository)”。
**注意**
* 如果您的 git 配置支持推送到多个分支,而不仅仅是到默认分支,则您的推送可能会由于推送了其他和意外的引用而被阻止。 更多信息请参阅 Git 文档中的 [`push.default` 选项](https://git-scm.com/docs/git-config#Documentation/git-config.txt-pushdefault)。
* 如果在推送时 {% data variables.product.prodname_secret_scanning %} 超时,{% data variables.product.prodname_dotcom %} 仍将在推送后运行扫描。
{% endnote %}
{% data reusables.secret-scanning.push-protection-multiple-branch-note %}
### 允许推送被阻止的机密
如果 {% data variables.product.prodname_dotcom %} 阻止了您认为可以安全推送的机密,则可以允许该机密并说明应允许该机密的原因。
如果确认某个机密是真实的,并且打算稍后修复它,则应尽快修复。 例如,您可以撤销密钥,并从存储库的提交历史记录中删除密钥。 更多信息请参阅“[从仓库中删除敏感数据](/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository)”。
{% data reusables.secret-scanning.push-protection-allow-secrets-alerts %}
{% data reusables.secret-scanning.push-protection-allow-email %}
@@ -96,9 +84,7 @@ If a contributor bypasses a push protection block for a secret, {% data variable
{% ifversion secret-scanning-push-protection-web-ui %}
## 使用密钥扫描作为 Web UI 的推送保护
当您使用 Web UI 尝试将受支持的密钥提交到启用了机密扫描作为推送保护的存储库或组织时,{% data variables.product.prodname_dotcom %} 将阻止提交。 您将在页面顶部看到一个横幅,其中包含有关密钥位置的信息,并且密钥也将在文件中加下划线,以便您可以轻松找到它。
![显示由于机密扫描推送保护而在 Web UI 中阻止提交的屏幕截图](/assets/images/help/repository/secret-scanning-push-protection-web-ui-commit-blocked-banner.png)
{% data reusables.secret-scanning.push-protection-web-ui-choice %}
{% data variables.product.prodname_dotcom %} 将在 Web UI 中一次仅显示一个检测到的机密。 如果已在存储库中检测到特定机密,并且警报已存在,{% data variables.product.prodname_dotcom %} 不会阻止该机密。
@@ -108,7 +94,11 @@ If a contributor bypasses a push protection block for a secret, {% data variable
### 绕过密钥的推送保护
如果 {% data variables.product.prodname_dotcom %} 阻止了您认为可以安全推送的机密,则可以允许该机密并说明应允许该机密的原因。 如果确认某个机密是真实的,并且打算稍后修复它,则应尽快修复。
{% data reusables.secret-scanning.push-protection-remove-secret %} For more information about remediating blocked secrets, see "[Pushing a branch blocked by push protection](/code-security/secret-scanning/pushing-a-branch-blocked-by-push-protection#resolving-a-blocked-push-in-the-web-ui)."
如果确认某个机密是真实的,并且打算稍后修复它,则应尽快修复。 更多信息请参阅“[从仓库中删除敏感数据](/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository)”。
如果 {% data variables.product.prodname_dotcom %} 阻止了您认为可以安全推送的机密,则可以允许该机密并说明应允许该机密的原因。
{% data reusables.secret-scanning.push-protection-allow-secrets-alerts %}

View File

@@ -0,0 +1,56 @@
---
title: Pushing a branch blocked by push protection
intro: 'The push protection feature of {% data variables.product.prodname_secret_scanning %} proactively protects you against leaked secrets in your repositories. You can resolve blocked pushes and, once the detected secret is removed, you can push changes to your working branch from the command line or the web UI.'
product: '{% data reusables.gated-features.secret-scanning %}'
miniTocMaxHeadingLevel: 3
versions:
feature: secret-scanning-push-protection
type: how_to
topics:
- Secret scanning
- Advanced Security
- Alerts
- Repositories
shortTitle: Push a blocked branch
---
## About push protection for {% data variables.product.prodname_secret_scanning %}
The push protection feature of {% data variables.product.prodname_secret_scanning %} helps to prevent security leaks by scanning for secrets before you push changes to your repository. {% data reusables.secret-scanning.push-protection-overview %} For information on the secrets and service providers supported for push protection, see "[{% data variables.product.prodname_secret_scanning_caps %} patterns](/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-push-protection)."
{% data reusables.secret-scanning.push-protection-remove-secret %}
{% tip %}
**Tip** If {% data variables.product.prodname_dotcom %} blocks a secret that you believe is safe to push, you can allow the secret and specify the reason why it should be allowed. For more information about bypassing push protection for a secret, see "[Allowing a blocked secret to be pushed](/code-security/secret-scanning/protecting-pushes-with-secret-scanning#allowing-a-blocked-secret-to-be-pushed)" and "[Bypassing push protection for a secret](/code-security/secret-scanning/protecting-pushes-with-secret-scanning#bypassing-push-protection-for-a-secret)" for the command line and the web UI, respectively.
{% endtip %}
## Resolving a blocked push on the command line
{% data reusables.secret-scanning.push-protection-command-line-choice %}
{% data reusables.secret-scanning.push-protection-multiple-branch-note %}
If the blocked secret was introduced by the latest commit on your branch, you can follow the guidance below.
1. Remove the secret from your code.
1. Commit the changes, by using `git commit --amend`.
1. Push your changes with `git push`.
You can also remove the secret if the secret appears in an earlier commit in the Git history.
1. Use `git log` to determine which commit surfaced in the push error came first in history.
1. Start an interactive rebase with `git rebase -i <commit-id>~1`. <commit-id> is the id of the commit from step 1.
1. Identify your commit to edit by changing `pick` to `edit` on the first line of the text that appears in the editor.
1. Remove the secret from your code.
1. Commit the change with `git commit --amend`.
1. Run `git rebase --continue` to finish the rebase.
## Resolving a blocked commit in the web UI
{% data reusables.secret-scanning.push-protection-web-ui-choice %}
To resolve a blocked commit in the web UI, you need to remove the secret from the file, or use the **Bypass protection** dropdown to allow the secret. For more information about bypassing push protection from the web UI, see "[Protecting pushes with secret scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning#bypassing-push-protection-for-a-secret)."
If you confirm a secret is real, you need to remove the secret from the file. 删除机密后,页面顶部的横幅将更改,并告诉您现在可以提交更改。

View File

@@ -21,10 +21,11 @@ redirect_from:
{% ifversion fpt or ghec %}
## About {% data variables.product.prodname_secret_scanning %} patterns
{% data variables.product.product_name %} maintains two different sets of {% data variables.product.prodname_secret_scanning %} patterns:
{% data variables.product.product_name %} maintains these different sets of {% data variables.product.prodname_secret_scanning %} patterns:
1. **Partner patterns.** Used to detect potential secrets in all public repositories. For details, see "[Supported secrets for partner patterns](#supported-secrets-for-partner-patterns)."
2. **Advanced security patterns.** Used to detect potential secrets in repositories with {% data variables.product.prodname_secret_scanning %} enabled. {% ifversion ghec %} For details, see "[Supported secrets for advanced security](#supported-secrets-for-advanced-security)."{% endif %}
2. **Advanced security patterns.** Used to detect potential secrets in repositories with {% data variables.product.prodname_secret_scanning %} enabled. {% ifversion ghec %} For details, see "[Supported secrets for advanced security](#supported-secrets-for-advanced-security)."{% endif %}{% ifversion secret-scanning-push-protection %}
3. **Push protection patterns.** Used to detect potential secrets in repositories with {% data variables.product.prodname_secret_scanning %} as a push protection enabled. For details, see "[Supported secrets for push protection](#supported-secrets-for-push-protection)."{% endif %}
{% ifversion fpt %}
Organizations using {% data variables.product.prodname_ghe_cloud %} with {% data variables.product.prodname_GH_advanced_security %} can enable {% data variables.product.prodname_secret_scanning_GHAS %} on their repositories. For details of these patterns, see the [{% data variables.product.prodname_ghe_cloud %} documentation](/enterprise-cloud@latest/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security).
@@ -59,6 +60,16 @@ If you use the REST API for secret scanning, you can use the `Secret type` to re
{% data reusables.secret-scanning.partner-secret-list-private-repo %}
{% endif %}
{% ifversion secret-scanning-push-protection %}
## Supported secrets for push protection
{% data variables.product.prodname_secret_scanning_caps %} as a push protection currently scans repositories for secrets issued by the following service providers.
{% data reusables.secret-scanning.secret-scanning-pattern-pair-matches %}
{% data reusables.secret-scanning.secret-list-private-push-protection %}
{% endif %}
## Further reading
- "[Securing your repository](/code-security/getting-started/securing-your-repository)"

View File

@@ -96,7 +96,8 @@ The recommended formats explicitly define which versions are used for all direct
{% endif %}
{% ifversion github-actions-in-dependency-graph %}
[†] {% data variables.product.prodname_actions %} workflows must be located in the `.github/workflows/` directory of a repository to be recognized as manifests. Any actions or workflows referenced using the syntax `jobs[*].steps[*].uses` or `jobs.<job_id>.uses` will be parsed as dependencies. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/using-workflows/workflow-syntax-for-github-actions)."
[†] {% data reusables.enterprise.3-5-missing-feature %} {% data variables.product.prodname_actions %} workflows must be located in the `.github/workflows/` directory of a repository to be recognized as manifests. Any actions or workflows referenced using the syntax `jobs[*].steps[*].uses` or `jobs.<job_id>.uses` will be parsed as dependencies. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/using-workflows/workflow-syntax-for-github-actions)."
{% endif %}
[‡] If you list your Python dependencies within a `setup.py` file, we may not be able to parse and list every dependency in your project.

View File

@@ -13,6 +13,7 @@ children:
- /developing-in-a-codespace
- /using-source-control-in-your-codespace
- /using-github-codespaces-for-pull-requests
- /renaming-a-codespace
- /deleting-a-codespace
- /forwarding-ports-in-your-codespace
- /default-environment-variables-for-your-codespace

View File

@@ -0,0 +1,54 @@
---
title: Renaming a codespace
intro: 'You can use the {% data variables.product.prodname_cli %} to change the codespace display name to one of your choice.'
product: '{% data reusables.gated-features.codespaces %}'
versions:
fpt: '*'
ghec: '*'
type: how_to
topics:
- Codespaces
- Fundamentals
- Developer
shortTitle: Rename a codespace
---
## About renaming a codespace
Each codespace is assigned an auto-generated display name. If you have multiple codespaces, the display name helps you to differentiate between codespaces. For example: `literate space parakeet`. You can change the display name for your codespace.
To find the display name of a codespace:
- On {% data variables.product.product_name %}, view your list of codespaces at https://github.com/codespaces.
![Screenshot of the list of codespaces in GitHub](/assets/images/help/codespaces/codespaces-list-display-name.png)
- In the {% data variables.product.prodname_vscode %} desktop application, or the {% data variables.product.prodname_vscode_shortname %} web client, click the Remote Explorer. The display name is shown below the repository name. For example: `symmetrical space telegram` in the screenshot below.
![Screenshot of the Remote Explorer in VS Code](/assets/images/help/codespaces/codespaces-remote-explorer.png)
- In a terminal window on your local machine, use this {% data variables.product.prodname_cli %} command: `gh codespace list`.
### Permanent codespace names
In addition to the display name, when you create a codespace, a permanent name is also assigned to the codespace. The name is a combination of your {% data variables.product.company_short %} handle, the repository name, and some random characters. 例如: `octocat-myrepo-gmc7`。 You can't change this name.
To find the permanent name of a codespace:
* On {% data variables.product.product_name %}, the permanent name is shown in a pop-up when you hover over the **Open in browser** option on https://github.com/codespaces.
![Screenshot of the codespace name shown on hover over](/assets/images/help/codespaces/find-codespace-name-github.png)
* In a codespace, use this command in the terminal: `echo $CODESPACE_NAME`.
* In a terminal window on your local machine, use this {% data variables.product.prodname_cli %} command: `gh codespace list`.
## Renaming a codespace
Changing the display name of a codespace can be useful if you have multiple codespaces that you will be using for an extended period. An appropriate name helps you identify a codespace that you use for a particular purpose. You can change the display name for your codespace by using the {% data variables.product.prodname_cli %}.
To rename a codespace, use the `gh codespace edit` subcommand:
```shell
gh codespace edit -c <em>permanent name of the codespace</em> -d <em>new display name</em>
```
In this example, replace `permanent name of the codespace` with the permanent name of the codespace. Replace `new display name` with the desired display name.

View File

@@ -26,7 +26,7 @@ topics:
您可以使用页面支持的标准标记或使用 MediaWiki 语法在 wiki 中创建链接。 例如:
- 如果您的页面使用 Markdown 渲染,则链接语法为 `[链接文本](wiki 页面的完整 URL)`
- 使用 MediaWiki 语法,链接语法为 `[[链接文本|wiki 页面的名称]]`
- With MediaWiki syntax, the link syntax is `[[nameofwikipage|Link Text]]`.
## 添加图像

View File

@@ -59,7 +59,7 @@ shortTitle: 参与指南
如果您觉得难以着手,以下是参与指南的一些良好示例:
- Atom 编辑器[参与指南](https://github.com/atom/atom/blob/master/CONTRIBUTING.md)。
- Ruby on Rails [参与指南](https://github.com/rails/rails/blob/master/CONTRIBUTING.md)。
- Ruby on Rails [参与指南](https://github.com/rails/rails/blob/main/CONTRIBUTING.md)。
- Open Government [参与指南](https://github.com/opengovernment/opengovernment/blob/master/CONTRIBUTING.md)。
## 延伸阅读

View File

@@ -42,4 +42,4 @@ To report an abusive repository: Go to your {% data variables.product.prodname_c
## 延伸阅读
- "[关于 {% data variables.product.prodname_community_exchange %}](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/about-github-community-exchange)"
- ""[关于 {% data variables.product.prodname_community_exchange %}](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/about-github-community-exchange)""

View File

@@ -1,6 +1,8 @@
---
title: 关于 GitHub Community Exchange
intro: 'Learn the skills you need to contribute to open source projects and grow your own portfolio, with {% data variables.product.prodname_community_exchange %}.'
redirect_from:
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/about-github-community-exchange
versions:
fpt: '*'
shortTitle: About Community Exchange

View File

@@ -0,0 +1,40 @@
---
title: About GitHub Global Campus for students
intro: '{% data variables.product.prodname_education %} 让学生免费使用 {% data variables.product.prodname_dotcom %} 合作伙伴的各种开发工具,为他们提供真实的体验。'
redirect_from:
- /education/teach-and-learn-with-github-education/about-github-education-for-students
- /github/teaching-and-learning-with-github-education/about-github-education-for-students
- /articles/about-github-education-for-students
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/about-github-education-for-students
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/about-github-education-for-students
versions:
fpt: '*'
shortTitle: 适合学生
---
将 {% data variables.product.prodname_dotcom %} 用于学校项目是一种与别人协作的实用方式,可创建展示真实世界的作品集。
拥有 {% data variables.product.prodname_dotcom %} 帐户的每个人都可通过 {% data variables.product.prodname_free_user %} 在无限的公共和私有仓库中协作。 As a student, you can also apply for {% data variables.product.prodname_education %} student benefits. Your {% data variables.product.prodname_education %} student benefits and resources are all included in {% data variables.product.prodname_global_campus %}, a portal that allows you to access your education benefits, all in one place. For more information, see "[Apply to GitHub Global Campus as a student](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/apply-to-github-global-campus-as-a-student)" and [{% data variables.product.prodname_education %}](https://education.github.com/).
Before applying for Global Campus, check if your learning community is already partnered with us as a {% data variables.product.prodname_campus_program %} school. 更多信息请参阅“[关于 {% data variables.product.prodname_campus_program %}](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/about-github-campus-program)”。
If you're a member of a school club, a teacher can apply for {% data variables.product.prodname_global_campus %} so your team can collaborate using {% data variables.product.prodname_team %}, which allows unlimited users and private repositories, for free. For more information, see "[Apply to {% data variables.product.prodname_global_campus %} as a teacher](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers/apply-to-github-global-campus-as-a-teacher)."
Once you are a verified {% data variables.product.prodname_global_campus %} student, you can access {% data variables.product.prodname_global_campus %} anytime by going to the [{% data variables.product.prodname_education %} website](https://education.github.com).
![{% data variables.product.prodname_global_campus %} portal for students](/assets/images/help/education/global-campus-portal-students.png)
## {% data variables.product.prodname_global_campus %} features for students
{% data variables.product.prodname_global_campus %} is a portal from which you can access your {% data variables.product.prodname_education %} benefits and resources, all in one place. On the {% data variables.product.prodname_global_campus %} portal, students can:
- Connect with a local Campus Expert. For more information on campus experts, see "[About Campus Experts](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-at-your-educational-institution/about-campus-experts)."
- Explore and claim offers for free industry tools from the [Student Developer Pack](https://education.github.com/pack).
- See upcoming in-person and virtual events for students, curated by {% data variables.product.prodname_education %} and student leaders.
- View assignments from [GitHub Classroom](https://classroom.github.com/) with upcoming due dates.
- Stay in the know on what the community is interested in by rewatching recent [Campus TV](https://www.twitch.tv/githubeducation) episodes. Campus TV is created by {% data variables.product.prodname_dotcom %} and student community leaders and can be watched live or on demand.
- Discover student-created repositories from GitHub Community Exchange. For more information, see "[About GitHub Community Exchange](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/about-github-community-exchange)."
## 延伸阅读
- "[About {% data variables.product.prodname_global_campus %} for teachers](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers/about-github-global-campus-for-teachers)"
- "[关于 {% data variables.product.prodname_community_exchange %}](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/about-github-community-exchange)"

View File

@@ -1,21 +1,22 @@
---
title: 申请学生开发包
intro: '作为学生,可以申请 {% data variables.product.prodname_student_pack %},其中包括 {% data variables.product.prodname_dotcom %} 合作伙伴的特惠和福利。'
title: Apply to GitHub Global Campus as a student
intro: 'As a student, you can apply to join {% data variables.product.prodname_global_campus %} and receive access to the student resources and benefits offered by {% data variables.product.prodname_education %}'
redirect_from:
- /education/teach-and-learn-with-github-education/apply-for-a-student-developer-pack
- /github/teaching-and-learning-with-github-education/applying-for-a-student-developer-pack
- /articles/applying-for-a-student-developer-pack
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-a-student-developer-pack
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/apply-for-a-student-developer-pack
versions:
fpt: '*'
shortTitle: 申请学生包
shortTitle: Apply to Global Campus
---
{% data reusables.education.about-github-education-link %}
## 要求
要获得申请 {% data variables.product.prodname_student_pack %} 的资格,必须:
To be eligible for {% data variables.product.prodname_global_campus %}, including {% data variables.product.prodname_student_pack %} and other benefits, you must:
- 现正攻读学位或文凭授予课程,如高中、初中、大专、大学、自主学习或类似教育机构
- 具有学校发放的可验证电子邮件地址,或者上传能证明您目前学生身份的文档
- 拥有 [{% data variables.product.prodname_dotcom %} 个人帐户](/articles/signing-up-for-a-new-github-account)
@@ -31,9 +32,9 @@ shortTitle: 申请学生包
{% endnote %}
有关续订 {% data variables.product.prodname_student_pack %} 的信息,请参阅“[到期和续订](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-a-student-developer-pack/#expiration-and-renewals)”。
For information about renewing your {% data variables.product.prodname_global_campus %} access, see "[Expiration and renewals](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/apply-to-github-global-campus-as-a-student/#expiration-and-renewals)."
## 申请 {% data variables.product.prodname_student_pack %}
## Applying to {% data variables.product.prodname_global_campus %}
{% data reusables.education.benefits-page %}
3. 在 "Which best describes your academic status?"(哪一项最准确描述了您的学业身份?)下,选择 **Student学生**。 ![选择学籍](/assets/images/help/education/academic-status-student.png)
@@ -45,7 +46,7 @@ shortTitle: 申请学生包
## 到期和续订
在您的 {% data variables.product.prodname_student_pack %} 访问权限到期后,如果您仍有资格,您可以重新申请,但有些合作伙伴可能不提供续订服务。 合作伙伴的大多数计时特惠在您设置后便开始。 要重新申请,只需返回 https://education.github.com点击您的个人资料图片然后点击 **Reverify your academic affiliation重新验证您的学术关系**
Once your {% data variables.product.prodname_global_campus %} access expires, you may reapply if you're still eligible, although some of our partner offers for {% data variables.product.prodname_student_pack %} cannot renew. 合作伙伴的大多数计时特惠在您设置后便开始。 要重新申请,只需返回 https://education.github.com点击您的个人资料图片然后点击 **Reverify your academic affiliation重新验证您的学术关系**
![用于重新验证学术关系的菜单选项](/assets/images/help/education/reverify-academic-affiliation.png)

View File

@@ -1,17 +1,18 @@
---
title: 使用 GitHub 做功课
title: GitHub Global Campus for students
intro: '作为学生,使用 {% data variables.product.prodname_dotcom %} 在您的学校项目上协作,并构建真实世界的体验。'
redirect_from:
- /education/teach-and-learn-with-github-education/use-github-for-your-schoolwork
- /github/teaching-and-learning-with-github-education/using-github-for-your-schoolwork
- /articles/using-github-for-your-schoolwork
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork
versions:
fpt: '*'
children:
- /about-github-education-for-students
- /apply-for-a-student-developer-pack
- /why-wasnt-my-application-for-a-student-developer-pack-approved
- /about-github-global-campus-for-students
- /apply-to-github-global-campus-as-a-student
- /why-wasnt-my-application-to-global-campus-for-students-approved
- /about-github-community-exchange
shortTitle: 用于功课
shortTitle: About Global Campus for students
---

View File

@@ -1,6 +1,6 @@
---
title: Why wasn't my application for a student developer pack approved?
intro: 'Review common reasons that applications for the {% data variables.product.prodname_student_pack %} are not approved and learn tips for reapplying successfully.'
title: Why wasn't my application to Global Campus for students approved?
intro: 'Review common reasons that applications for {% data variables.product.prodname_global_campus %} are not approved and learn tips for reapplying successfully.'
redirect_from:
- /education/teach-and-learn-with-github-education/why-wasnt-my-application-for-a-student-developer-pack-approved
- /github/teaching-and-learning-with-github-education/why-wasnt-my-application-for-a-student-developer-pack-approved
@@ -8,6 +8,7 @@ redirect_from:
- /articles/why-wasn-t-my-application-for-a-student-developer-pack-approved
- /articles/why-wasnt-my-application-for-a-student-developer-pack-approved
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/why-wasnt-my-application-for-a-student-developer-pack-approved
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/why-wasnt-my-application-for-a-student-developer-pack-approved
versions:
fpt: '*'
shortTitle: Application not approved
@@ -69,4 +70,4 @@ Your instructor may still apply for a {% data variables.product.prodname_educati
## Further reading
- "[How to get the GitHub Student Developer Pack without a student ID](https://github.blog/2019-07-30-how-to-get-the-github-student-developer-pack-without-a-student-id/)" on {% data variables.product.prodname_blog %}
- "[Apply for a student developer pack](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-a-student-developer-pack)"
- "[Apply to {% data variables.product.prodname_global_campus %} as a student](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/apply-to-github-global-campus-as-a-student)"

View File

@@ -0,0 +1,35 @@
---
title: About GitHub Global Campus for teachers
intro: '{% data variables.product.prodname_global_campus %} offers teachers a central place to access tools and resources for working more effectively inside and outside of the classroom.'
redirect_from:
- /education/teach-and-learn-with-github-education/about-github-education-for-educators-and-researchers
- /github/teaching-and-learning-with-github-education/about-github-education-for-educators-and-researchers
- /articles/about-github-education-for-educators-and-researchers
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/about-github-education-for-educators-and-researchers
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/about-github-education-for-educators-and-researchers
versions:
fpt: '*'
shortTitle: For teachers
---
As a faculty member at an accredited educational institution, you can apply for {% data variables.product.prodname_global_campus %}, which includes {% data variables.product.prodname_education %} benefits and resources. For more information, see "[Apply to {% data variables.product.prodname_global_campus %} as a teacher](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers/apply-to-github-global-campus-as-a-teacher)."
{% data variables.product.prodname_global_campus %} is a portal that allows the GitHub Education Community to access their education benefits, all in one place. Once you are a verified {% data variables.product.prodname_global_campus %} teacher, you can access {% data variables.product.prodname_global_campus %} anytime by going to the [{% data variables.product.prodname_education %} website](https://education.github.com).
![{% data variables.product.prodname_global_campus %} portal for teachers](/assets/images/help/education/global-campus-portal-teachers.png)
在申请个人折扣之前,请检查您的学习社区是否已作为 {% data variables.product.prodname_campus_program %} 学校与我们合作。 更多信息请参阅“[关于 {% data variables.product.prodname_campus_program %}](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/about-github-campus-program)”。
## {% data variables.product.prodname_global_campus %} features for teachers
{% data variables.product.prodname_global_campus %} is a portal from which you can access your {% data variables.product.prodname_education %} benefits and resources, all in one place. On the {% data variables.product.prodname_global_campus %} portal, teachers of all levels can:
{% data reusables.education.apply-for-team %}
- View an overview of your active [{% data variables.product.prodname_classroom %}](https://classroom.github.com), including recent assignments and your class's progress at a glance, as well as links to {% data variables.product.prodname_classroom %}.
- View and interact with [{% data variables.product.prodname_discussions %}](https://github.com/orgs/community/discussions/categories/github-education) posted by your peers from around the world to discuss current trends in technology education, and see the latest posts from our [{% data variables.product.prodname_education %} blog](https://github.blog/category/education/).
- See student events curated by {% data variables.product.prodname_education %} and student leaders.
- Stay in the know on what the student community is interested in by rewatching recent [Campus TV](https://www.twitch.tv/githubeducation) episodes. Campus TV is created by {% data variables.product.prodname_dotcom %} and student community leaders and can be watched live or on demand.
- Request a {% data variables.product.prodname_dotcom %} swag bag with educational materials and goodies for your students.
## 延伸阅读
- "[关于学生版 {% data variables.product.prodname_global_campus %}](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/about-github-global-campus-for-students)"

View File

@@ -1,6 +1,6 @@
---
title: 申请教育者或研究人员折扣
intro: '如果您是教育者或研究人员,可以为组织申请免费获取 {% data variables.product.prodname_team %}'
title: Apply to GitHub Global Campus as a teacher
intro: 'If you''re a teacher, you can apply to join {% data variables.product.prodname_global_campus %} and receive access to the resources and benefits of {% data variables.product.prodname_education %}.'
redirect_from:
- /education/teach-and-learn-with-github-education/apply-for-an-educator-or-researcher-discount
- /github/teaching-and-learning-with-github-education/applying-for-an-educator-or-researcher-discount
@@ -10,12 +10,13 @@ redirect_from:
- /articles/applying-for-a-discount-for-your-first-robotics-team
- /articles/applying-for-an-educator-or-researcher-discount
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-an-educator-or-researcher-discount
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/apply-for-an-educator-or-researcher-discount
versions:
fpt: '*'
shortTitle: 申请折扣
shortTitle: Apply to Global Campus
---
## 关于教育者和研究人员折扣
## About teacher discounts
{% data reusables.education.about-github-education-link %}
@@ -23,7 +24,7 @@ shortTitle: 申请折扣
有关在 {% data variables.product.product_name %} 上创建个人帐户的更多信息,请参阅“[注册新 {% data variables.product.prodname_dotcom %} 帐户](/github/getting-started-with-github/signing-up-for-a-new-github-account)”。
## 申请教育者或研究人员折扣
## Applying to {% data variables.product.prodname_global_campus %}
{% data reusables.education.benefits-page %}
{% data reusables.education.click-get-teacher-benefits %}
@@ -35,7 +36,7 @@ shortTitle: 申请折扣
## 延伸阅读
- "[为什么我的教育者或研究人员折扣申请未获得批准?](/articles/why-wasn-t-my-application-for-an-educator-or-researcher-discount-approved)"
- "[Why wasn't my application to Global Campus for teachers approved?](/articles/why-wasn-t-my-application-for-an-educator-or-researcher-discount-approved)"
- [{% data variables.product.prodname_education %}](https://education.github.com)
- [{% data variables.product.prodname_classroom %} 视频](https://classroom.github.com/videos)
- [{% data variables.product.prodname_education_community %}]({% data variables.product.prodname_education_forum_link %})

View File

@@ -0,0 +1,17 @@
---
title: GitHub Global Campus for teachers
intro: 'As a teacher, use {% data variables.product.prodname_dotcom %} to collaborate on your work in a classroom, student or research group, and more.'
redirect_from:
- /education/teach-and-learn-with-github-education/use-github-in-your-classroom-and-research
- /github/teaching-and-learning-with-github-education/using-github-in-your-classroom-and-research
- /articles/using-github-in-your-classroom-and-research
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research
versions:
fpt: '*'
children:
- /about-github-global-campus-for-teachers
- /apply-to-github-global-campus-as-a-teacher
- why-wasnt-my-application-to-global-campus-for-teachers-approved
shortTitle: 'About Global Campus for teachers'
---

View File

@@ -1,6 +1,6 @@
---
title: 为什么我的教育工作者或研究人员折扣申请未获得批准?
intro: 查看申请教育工作者或研究人员折扣未获批准的常见原因,并了解成功重新申请的窍门。
title: Why wasn't my application to Global Campus for teachers approved?
intro: 'Review common reasons that applications for {% data variables.product.prodname_global_campus %} are not approved and learn tips for reapplying successfully.'
redirect_from:
- /education/teach-and-learn-with-github-education/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved
- /github/teaching-and-learning-with-github-education/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved
@@ -8,6 +8,7 @@ redirect_from:
- /articles/why-wasn-t-my-application-for-an-educator-or-researcher-discount-approved
- /articles/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved
versions:
fpt: '*'
shortTitle: 申请未被批准
@@ -41,8 +42,8 @@ shortTitle: 申请未被批准
## 非学生申请学生开发包
教育工作者或研究人员没有资格获得 [{% data variables.product.prodname_student_pack %}](https://education.github.com/pack)随附的合作伙伴优惠。 当您重新申请时,确保选择 **Faculty教职工**来描述您的学术地位。
Teachers are not eligible for the partner offers that come with the [{% data variables.product.prodname_student_pack %}](https://education.github.com/pack). 当您重新申请时,确保选择 **Faculty教职工**来描述您的学术地位。
## 延伸阅读
- [申请教育工作者或研究人员折扣](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-an-educator-or-researcher-discount)
- "[Apply to {% data variables.product.prodname_global_campus %} as a teacher](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers/apply-to-github-global-campus-as-a-teacher)"

View File

@@ -10,7 +10,7 @@ versions:
fpt: '*'
children:
- /use-github-at-your-educational-institution
- /use-github-for-your-schoolwork
- /use-github-in-your-classroom-and-research
- /github-global-campus-for-students
- /github-global-campus-for-teachers
---

View File

@@ -1,22 +0,0 @@
---
title: About Campus Advisors
intro: 'As an instructor or mentor, learn to use {% data variables.product.prodname_dotcom %} at your school with Campus Advisors training and support.'
redirect_from:
- /education/teach-and-learn-with-github-education/about-campus-advisors
- /github/teaching-and-learning-with-github-education/about-campus-advisors
- /articles/about-campus-advisors
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/about-campus-advisors
versions:
fpt: '*'
---
Professors, teachers and mentors can use the Campus Advisors online training to master Git and {% data variables.product.prodname_dotcom %} and learn best practices for teaching students with {% data variables.product.prodname_dotcom %}. For more information, see "[Campus Advisors](https://education.github.com/teachers/advisors)."
{% note %}
**Note:** As an instructor, you can't create accounts on {% data variables.product.product_location %} for your students. Students must create their own accounts on {% data variables.product.product_location %}.
{% endnote %}
Teachers can manage a course on software development with {% data variables.product.prodname_education %}. {% data variables.product.prodname_classroom %} allows you to distribute code, provide feedback, and manage coursework using {% data variables.product.product_name %}. For more information, see "[Manage coursework with {% data variables.product.prodname_classroom %}](/education/manage-coursework-with-github-classroom)."
If you're a student or academic faculty and your school isn't partnered with {% data variables.product.prodname_dotcom %} as a {% data variables.product.prodname_campus_program %} school, then you can still individually apply for discounts to use {% data variables.product.prodname_dotcom %}. For more information, see "[Use {% data variables.product.prodname_dotcom %} for your schoolwork](/education/teach-and-learn-with-github-education/use-github-for-your-schoolwork)" or "[Use {% data variables.product.prodname_dotcom %} in your classroom and research](/education/teach-and-learn-with-github-education/use-github-in-your-classroom-and-research/)."

View File

@@ -12,4 +12,4 @@ versions:
作为 {% data variables.product.prodname_dotcom %} Campus Expert学习公共演讲技能、技术写作、社区领导和软件开发技能。
要详细了解学生领导者和教师的培训计划,请参阅 "[{% data variables.product.prodname_dotcom %} Campus Experts](https://education.github.com/students/experts)" 和 "[Campus Advisors](https://education.github.com/teachers/advisors)"。
To learn more about training programs for student leaders, see "[{% data variables.product.prodname_dotcom %} Campus Experts](https://education.github.com/students/experts)."

View File

@@ -7,6 +7,7 @@ redirect_from:
- /articles/about-github-education
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/about-github-education
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/about-github-campus-program
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-at-your-educational-institution/about-campus-advisors
versions:
fpt: '*'
shortTitle: GitHub Campus Program
@@ -15,7 +16,7 @@ shortTitle: GitHub Campus Program
- No-cost access to {% data variables.product.prodname_ghe_cloud %} and {% data variables.product.prodname_ghe_server %} for all of your technical and academic departments
- 50,000 {% data variables.product.prodname_actions %} minutes and 50 GB {% data variables.product.prodname_registry %} storage
- Teacher training to master Git and {% data variables.product.prodname_dotcom %} with our [Campus Advisor program](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/about-campus-advisors)
- Teacher training to master Git and {% data variables.product.prodname_dotcom %}
- Exclusive access to new features, GitHub Education-specific swag, and free developer tools from {% data variables.product.prodname_dotcom %} partners
- Automated access to premium {% data variables.product.prodname_education %} features, like the {% data variables.product.prodname_student_pack %}

View File

@@ -10,7 +10,6 @@ versions:
children:
- /about-github-campus-program
- /about-campus-experts
- /about-campus-advisors
shortTitle: At your institution
---

View File

@@ -1,25 +0,0 @@
---
title: 关于学生版 GitHub Education
intro: '{% data variables.product.prodname_education %} 让学生免费使用 {% data variables.product.prodname_dotcom %} 合作伙伴的各种开发工具,为他们提供真实的体验。'
redirect_from:
- /education/teach-and-learn-with-github-education/about-github-education-for-students
- /github/teaching-and-learning-with-github-education/about-github-education-for-students
- /articles/about-github-education-for-students
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/about-github-education-for-students
versions:
fpt: '*'
shortTitle: 适合学生
---
{% data reusables.education.about-github-education-link %}
将 {% data variables.product.prodname_dotcom %} 用于学校项目是一种与别人协作的实用方式,可创建展示真实世界的作品集。
拥有 {% data variables.product.prodname_dotcom %} 帐户的每个人都可通过 {% data variables.product.prodname_free_user %} 在无限的公共和私有仓库中协作。 作为学生,您还可以申请 GitHub 学生福利。 更多信息请参阅“[申请学生开发包](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-a-student-developer-pack)”和 [{% data variables.product.prodname_education %}](https://education.github.com/)。
如果您是 FIRST 机器人俱乐部的成员,您的辅导员可以申请教育者折扣,这样您的团队可以免费使用 {% data variables.product.prodname_team %}(允许无限的用户和私有仓库) 进行协作。 更多信息请参阅“[申请教育者或研究人员折扣](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-an-educator-or-researcher-discount)”。
## 延伸阅读
- "[关于教育者和研究人员版 {% data variables.product.prodname_education %}](/articles/about-github-education-for-educators-and-researchers)"
- "[关于 {% data variables.product.prodname_community_exchange %}](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/about-github-community-exchange)"

View File

@@ -1,33 +0,0 @@
---
title: 关于适用于教育者和研究人员的 GitHub Education
intro: '{% data variables.product.prodname_education %} 提供各种工具帮助教育者和研究人员在课堂内外更有效地工作。'
redirect_from:
- /education/teach-and-learn-with-github-education/about-github-education-for-educators-and-researchers
- /github/teaching-and-learning-with-github-education/about-github-education-for-educators-and-researchers
- /articles/about-github-education-for-educators-and-researchers
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/about-github-education-for-educators-and-researchers
versions:
fpt: '*'
shortTitle: 教育工作者和研究人员
---
{% data reusables.education.about-github-education-link %}
## 适用于教育者的 {% data variables.product.prodname_education %}
利用 {% data variables.product.prodname_education %} 适用于各级教育者的工具和服务,您可以:
- 使用 [{% data variables.product.prodname_classroom %}](https://classroom.github.com) 分发代码、向学生提供反馈以及收集 {% data variables.product.prodname_dotcom %} 中的作业。
- 加入我们的 [{% data variables.product.prodname_education_community %}](https://github.com/orgs/community/discussions/categories/github-education),以与全球各地的同行讨论技术教育的当前趋势。
- [申请 {% data variables.product.prodname_dotcom %} swag 包](https://github.com/orgs/community/discussions/13),其中包括学生用教育资料和重要工具。
{% data reusables.education.apply-for-team %}
## 适用于研究人员的 {% data variables.product.prodname_education %}
利用 {% data variables.product.prodname_education %} 适用于研究人员的工具和服务,您可以:
- 在 {% data variables.product.prodname_dotcom %} 上与世界各地的其他人协作处理研究工作。
- [了解](https://education.github.com/stories)全球各地的学术机构如何使用 {% data variables.product.prodname_dotcom %} 进行研究。
{% data reusables.education.apply-for-team %}
## 延伸阅读
- "[关于学生版 {% data variables.product.prodname_education %}](/articles/about-github-education-for-students)"

View File

@@ -1,16 +0,0 @@
---
title: 在课堂上和研究中使用 GitHub
intro: '作为教育工作者或研究人员,使用 {% data variables.product.prodname_dotcom %} 在课堂上、学生或研究小组中协作完成您的工作等等。'
redirect_from:
- /education/teach-and-learn-with-github-education/use-github-in-your-classroom-and-research
- /github/teaching-and-learning-with-github-education/using-github-in-your-classroom-and-research
- /articles/using-github-in-your-classroom-and-research
versions:
fpt: '*'
children:
- /about-github-education-for-educators-and-researchers
- /apply-for-an-educator-or-researcher-discount
- /why-wasnt-my-application-for-an-educator-or-researcher-discount-approved
shortTitle: 课堂和研究
---

View File

@@ -13,14 +13,15 @@ shortTitle: 指南
- [注册新 {% data variables.product.prodname_dotcom %} 帐户](/github/getting-started-with-github/signing-up-for-a-new-github-account)
- [Git 和 {% data variables.product.prodname_dotcom %} 快速入门 ](/github/getting-started-with-github/quickstart)
- [关于学生版 GitHub Education](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/about-github-education-for-students)
- [申请教育者或研究人员折扣](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-an-educator-or-researcher-discount)
- [申请学生开发包](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-a-student-developer-pack)
- [About {% data variables.product.prodname_global_campus %} for students](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/about-github-global-campus-for-students)
- [Apply to {% data variables.product.prodname_global_campus %} as a teacher](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers/apply-to-github-global-campus-as-a-teacher)
- [Apply to {% data variables.product.prodname_global_campus %} as a student](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/apply-to-github-global-campus-as-a-student)
## 使用 {% data variables.product.company_short %} 运行软件开发课程
使用 {% data variables.product.prodname_classroom %} 管理课堂,分配和检查学生的工作,并且教授新一代软件开发人员。
- [About {% data variables.product.prodname_global_campus %} for teachers](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers/about-github-global-campus-for-teachers)
- [设置 {% data variables.product.prodname_classroom %} 的基本知识 ](/education/manage-coursework-with-github-classroom/basics-of-setting-up-github-classroom)
- [管理教室](/education/manage-coursework-with-github-classroom/manage-classrooms)
- [使用 Git 和 {% data variables.product.company_short %} 起始作业](/education/manage-coursework-with-github-classroom/use-the-git-and-github-starter-assignment)
@@ -35,7 +36,7 @@ shortTitle: 指南
将 {% data variables.product.prodname_dotcom %} 并入您的教育,并使用与专业人士相同的工具。
- [Git 和 {% data variables.product.prodname_dotcom %} 学习资源](/github/getting-started-with-github/git-and-github-learning-resources)
- [使用 {% data variables.product.prodname_dotcom %} 做功课](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork)
- [{% data variables.product.prodname_global_campus %} for students](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students)
- [试用 {% data variables.product.prodname_desktop %}](/desktop)
- [试用 {% data variables.product.prodname_cli %}](/github/getting-started-with-github/github-cli)
@@ -44,7 +45,6 @@ shortTitle: 指南
参与社区,从 {% data variables.product.company_short %} 获得培训,并学习或教授新技能。
- [{% data variables.product.prodname_education_community %}]({% data variables.product.prodname_education_forum_link %})
- [About {% data variables.product.prodname_global_campus %} for students](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/about-github-global-campus-for-students)
- [关于 Campus Experts](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/about-campus-experts)
- [关于 Campus Advisors](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/about-campus-advisors)
- [关于 {% data variables.product.prodname_community_exchange %}](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/about-github-community-exchange)
- [Contribute with GitHub Community Exchange](/education/contribute-with-github-community-exchange)

View File

@@ -6,16 +6,16 @@ introLinks:
quickstart: /education/quickstart
featuredLinks:
guides:
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-a-student-developer-pack
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-an-educator-or-researcher-discount
- education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/apply-to-github-global-campus-as-a-student
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers/apply-to-github-global-campus-as-a-teacher
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-at-your-educational-institution
guideCards:
- /github/getting-started-with-github/signing-up-for-a-new-github-account
- /github/getting-started-with-github/git-and-github-learning-resources
- /education/manage-coursework-with-github-classroom/basics-of-setting-up-github-classroom
popular:
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students
- /education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers
- /desktop
- /github/getting-started-with-github/github-cli
- /education/manage-coursework-with-github-classroom/teach-with-github-classroom

View File

@@ -29,7 +29,7 @@ The {% data variables.product.prodname_codespaces %} Education benefit gives ver
{% data reusables.classroom.free-limited-codespaces-for-verified-teachers-beta-note %}
To become a verified teacher, you need to be approved for an educator or teacher benefit. For more information, see "[Applying for an educator or teacher benefit](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/apply-for-an-educator-or-researcher-discount#applying-for-an-educator-or-researcher-discount)."
To become a verified teacher, you need to be approved for an educator or teacher benefit. For more information, see "[Apply to {% data variables.product.prodname_global_campus %} as a teacher](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers/apply-to-github-global-campus-as-a-teacher)."
After you have confirmation that you are a verified teacher, visit [{% data variables.product.prodname_global_campus %} for Teachers](https://education.github.com/globalcampus/teacher) to upgrade the organization to GitHub Team. For more information, see [GitHub's products](/get-started/learning-about-github/githubs-products#github-team).

View File

@@ -151,6 +151,6 @@ redirect_from:
## 延伸阅读
- "[在课堂和研究中使用 {% data variables.product.prodname_dotcom %}](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research)"
- [{% data variables.product.prodname_global_campus %} for teachers](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers)
- "[将学习管理系统连接到 {% data variables.product.prodname_classroom %}](/education/manage-coursework-with-github-classroom/connect-a-learning-management-system-to-github-classroom)"
- {% data variables.product.prodname_education %} 社区中的[在小组作业中使用现有团队吗?](https://education.github.community/t/using-existing-teams-in-group-assignments/6999)

View File

@@ -130,5 +130,5 @@ shortTitle: 个人作业
## 延伸阅读
- "[在课堂和研究中使用 {% data variables.product.prodname_dotcom %}](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research)"
- "[{% data variables.product.prodname_global_campus %} for teachers](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers)"
- "[将学习管理系统连接到 {% data variables.product.prodname_classroom %}](/education/manage-coursework-with-github-classroom/connect-a-learning-management-system-to-github-classroom)"

View File

@@ -100,5 +100,5 @@ Git 和 {% data variables.product.company_short %} 起始作业只适用于个
## 延伸阅读
- "[在课堂和研究中使用 {% data variables.product.prodname_dotcom %}](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research)"
- "[{% data variables.product.prodname_global_campus %} for teachers](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers)"
- "[将学习管理系统连接到 {% data variables.product.prodname_classroom %}](/education/manage-coursework-with-github-classroom/connect-a-learning-management-system-to-github-classroom)"

View File

@@ -15,7 +15,7 @@ shortTitle: 快速入门
{% tip %}
**提示**:如果您是学生,想利用学术折扣,请参阅“[申请学生开发包](/github/teaching-and-learning-with-github-education/applying-for-a-student-developer-pack)”。
**Tip**: If you're a student and you'd like to take advantage of an academic discount, see "[Apply to {% data variables.product.prodname_global_campus %} as a student](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/apply-to-github-global-campus-as-a-student)."
{% endtip %}
@@ -35,9 +35,9 @@ shortTitle: 快速入门
更多信息请参阅“[{% data variables.product.prodname_dotcom %} 帐户的类型](/github/getting-started-with-github/types-of-github-accounts)”。
## 申请教育者折扣
## Applying for teacher benefits
接下来,您将注册从 {% data variables.product.company_short %} 获得服务折扣。 {% data reusables.education.educator-requirements %}
Next, you'll sign up for teacher benefits and resources from {% data variables.product.company_short %} by applying to {% data variables.product.prodname_global_campus %}, a portal that allows you to access your education benefits all in one place. {% data reusables.education.educator-requirements %}
{% tip %}
@@ -53,6 +53,8 @@ shortTitle: 快速入门
{% data reusables.education.plan-to-use-github %}
{% data reusables.education.submit-application %}
Once you are a verified {% data variables.product.prodname_global_campus %} educator, you can access {% data variables.product.prodname_global_campus %} anytime by going to the [{% data variables.product.prodname_education %} website](https://education.github.com).
## 设置 {% data variables.product.prodname_classroom %}
通过个人帐户和组织帐户便可开始使用 {% data variables.product.prodname_classroom %}。 {% data variables.product.prodname_classroom %} 免费使用。 您可以跟踪和管理作业,自动对工作进行评分,并为学生提供反馈。

View File

@@ -27,7 +27,6 @@ introLinks:
featuredLinks:
guides:
- /github/getting-started-with-github/githubs-products
- /github/getting-started-with-github/create-a-repo
- /get-started/onboarding/getting-started-with-your-github-account
- /get-started/onboarding/getting-started-with-github-team
- /get-started/onboarding/getting-started-with-github-enterprise-cloud
@@ -39,9 +38,7 @@ featuredLinks:
- /github/getting-started-with-github/set-up-git
- /get-started/learning-about-github/about-versions-of-github-docs
- /github/getting-started-with-github/github-glossary
- /github/getting-started-with-github/fork-a-repo
- /github/getting-started-with-github/keyboard-shortcuts
- /github/getting-started-with-github/saving-repositories-with-stars
guideCards:
- /github/getting-started-with-github/types-of-github-accounts
- /github/getting-started-with-github/finding-ways-to-contribute-to-open-source-on-github

View File

@@ -31,6 +31,8 @@ You can create notes within columns to serve as task reminders, references to is
To create a {% data variables.projects.projects_v1_board %} for your organization, you must be an organization member. Organization owners and people with {% data variables.projects.projects_v1_board %} admin permissions can customize access to the {% data variables.projects.projects_v1_board %}.
{% ifversion classic-project-visibility-permissions %}{% data reusables.projects.owners-can-limit-visibility-permissions %}{% endif %}
If an organization-owned {% data variables.projects.projects_v1_board %} includes issues or pull requests from a repository that you don't have permission to view, the card will be redacted. For more information, see "[{% data variables.product.prodname_project_v1_caps %} permissions for an organization](/articles/project-board-permissions-for-an-organization)."
The activity view shows the {% data variables.projects.projects_v1_board %}'s recent history, such as cards someone created or moved between columns. 要访问活动视图,请单击 **Menu菜单**并向下滚动。

View File

@@ -17,11 +17,14 @@ allowTitleToDifferFromFilename: true
{% data reusables.project-management.project-board-visibility %}
{% tip %}
{% note %}
**Tip:** When you make your {% data variables.projects.projects_v1_board %} {% ifversion ghae %}internal{% else %}public{% endif %}, organization members are given read access by default. You can give specific organization members write or admin permissions by giving access to teams they're on or by adding them to the {% data variables.projects.projects_v1_board %} as a collaborator. For more information, see "[{% data variables.product.prodname_project_v1_caps %} permissions for an organization](/articles/project-board-permissions-for-an-organization)."
**{% ifversion classic-project-visibility-permissions %}Notes{% else %}Note{% endif %}:** {% ifversion classic-project-visibility-permissions %}
{% endtip %}
* {% data reusables.projects.owners-can-limit-visibility-permissions %}
* {% endif %}When you make your {% data variables.projects.projects_v1_board %} {% ifversion ghae %}internal{% else %}public{% endif %}, organization members are given read access by default. You can give specific organization members write or admin permissions by giving access to teams they're on or by adding them to the {% data variables.projects.projects_v1_board %} as a collaborator. For more information, see "[{% data variables.product.prodname_project_v1_caps %} permissions for an organization](/articles/project-board-permissions-for-an-organization)."
{% endnote %}
1. 导航到您要设为{% ifversion ghae %}内部{% else %}公共{% endif %}或私有的项目板。
{% data reusables.project-management.click-menu %}

View File

@@ -57,6 +57,14 @@ You can also configure workflow automations to keep your {% data variables.proje
{% data reusables.projects.classic-project-creation %}
{% ifversion classic-project-visibility-permissions %}
{% note %}
**注意:**{% data reusables.projects.owners-can-limit-visibility-permissions %}
{% endnote %}
{% endif %}
{% data reusables.profile.access_org %}
{% data reusables.user-settings.access_org %}
{% data reusables.organizations.organization-wide-project %}{% ifversion projects-v2 %}

View File

@@ -305,7 +305,7 @@ gh api graphql -f query='
}
}
}
}
}'
```
{% endcli %}

View File

@@ -39,6 +39,8 @@ For example, if an organization owner has given all organization members read pe
## {% data variables.projects.projects_v1_board_caps %} visibility
{% ifversion classic-project-visibility-permissions %}{% data reusables.projects.owners-can-limit-visibility-permissions %}{% endif %}
{% data reusables.project-management.project-board-visibility %} You can change the {% data variables.projects.projects_v1_board %}'s visibility from private to {% ifversion ghae %}internal{% else %}public{% endif %} and back again. For more information, see "[Changing {% data variables.product.prodname_project_v1 %} visibility](/articles/changing-project-board-visibility)."
## 延伸阅读

View File

@@ -1,19 +1,19 @@
---
title: Allowing project visibility changes in your organization
intro: Organization owners can allow members with admin permissions to adjust the visibility of projects in their organization.
intro: 'Organization owners can allow members with admin permissions to adjust the visibility of {% data variables.projects.projects_v2_and_v1 %} in their organization.'
versions:
feature: projects-v2
feature: classic-project-visibility-permissions-or-projects-v2
topics:
- Organizations
- Projects
shortTitle: Project visibility permissions
allowTitleToDifferFromFilename: true
permissions: Organization owners can allow project visibility changes for an organization.
permissions: 'Organization owners can allow {% data variables.projects.project_v2_and_v1 %} visibility changes for an organization.'
---
You can restrict who has the ability to change the visibility of projects in your organization, such as restricting members from changing a project from private to public.
You can restrict who has the ability to change the visibility of {% data variables.projects.projects_v2_and_v1 %} in your organization, such as restricting members from changing {% data variables.projects.projects_v2_and_v1 %} from private to public.
You can limit the ability to change project visibility to just organization owners, or you can allow anyone with admin permissions on a project to change the visibility.
You can limit the ability to change {% data variables.projects.project_v2_and_v1 %} visibility to just organization owners, or you can allow anyone granted admin permissions to change the visibility.
{% data reusables.profile.access_org %}
{% data reusables.profile.org_settings %}
@@ -23,4 +23,8 @@ You can limit the ability to change project visibility to just organization owne
## 延伸阅读
- "[Managing visibility of your projects](/issues/planning-and-tracking-with-projects/managing-your-project/managing-visibility-of-your-projects)"
{% ifversion projects-v2 %}
- "[Managing visibility of your {% data variables.projects.projects_v2 %}](/issues/planning-and-tracking-with-projects/managing-your-project/managing-visibility-of-your-projects)"
{%- endif %}{%- ifversion projects-v1 %}
- "[Changing {% data variables.product.prodname_project_v1 %} visibility](/issues/organizing-your-work-with-project-boards/managing-project-boards/changing-project-board-visibility)"
{% endif %}

View File

@@ -232,6 +232,8 @@ Your NuGet package may fail to push if the `RepositoryUrl` in *.csproj* is not s
If you're using a nuspec file, ensure that it has a `repository` element with the required `type` and `url` attributes.
If you're using a `GITHUB_TOKEN` to authenticate to a {% data variables.product.prodname_registry %} registry within a {% data variables.product.prodname_actions %} workflow, the token cannot access private repository-based packages in a different repository other than where the workflow is running in. To access packages associated with other repositories, instead generate a PAT with the `read:packages` scope and pass this token in as a secret.
## Further reading
- "[Deleting and restoring a package](/packages/learn-github-packages/deleting-and-restoring-a-package)"

View File

@@ -16,22 +16,36 @@ topics:
- Pull requests
---
## Merge your commits
{% data reusables.pull_requests.default_merge_option %}
## 压缩与合并拉取请求提交
## Squash and merge your commits
{% data reusables.pull_requests.squash_and_merge_summary %}
### 合并压缩合并的消息
{% ifversion default-merge-squash-commit-message %}
在压缩与合并时,{% data variables.product.prodname_dotcom %} 生成默认提交消息,您可以进行编辑。 Depending on how the repository is configured and the number of commits in the pull request, not including merge commits, this message may include the pull request title, pull request description, or information about the commits.
{% else %}
在压缩与合并时,{% data variables.product.prodname_dotcom %} 生成默认提交消息,您可以进行编辑。 默认消息取决于拉取请求中的提交次数,不包括合并提交。
| 提交数 | 摘要 | 描述 |
| ---- | -------------------- | ------------------- |
| 一个提交 | 单个提交的提交消息标题,后接拉取请求编号 | 单个提交的提交消息正文 |
| 多个提交 | 拉取请求标题,后接拉取请求编号 | 按日期顺序列出所有被压缩提交的提交消息 |
{% endif %}
{% ifversion fpt or ghec or ghes > 3.5 or ghae-issue-7042 %}
| 提交数 | 摘要 | 描述 |
| ---- | -------------------- | ------------------- |
| 一个提交 | 单个提交的提交消息标题,后接拉取请求编号 | 单个提交的提交消息正文 |
| 多个提交 | 拉取请求标题,后接拉取请求编号 | 按日期顺序列出所有被压缩提交的提交消息 |
{% ifversion default-merge-squash-commit-message %}
People with maintainer or admin access to a repository can configure their repository's default merge message for all squashed commits to use the pull request title, the pull request title and commit details, or the pull request title and description. For more information, see "[Configure commit squashing](/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-squashing-for-pull-requests)".{% endif %}
{% ifversion ghes = 3.6 %}
对存储库具有管理员访问权限的人员可以将存储库配置为使用拉取请求的标题作为所有压缩提交的默认合并消息。 更多信息请参阅“[配置提交压缩](/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-squashing-for-pull-requests)”。
{% endif %}
@@ -43,7 +57,7 @@ topics:
由于此提交仅位于基础分支而不是头部分支上,因此两个分支的共同原型保持不变。 如果您继续使用头部分支,则在两个分支之间创建新的拉取请求,该拉取请求将包含自共同原型以来的所有提交,其中包括你在之前的拉取请求中压缩与合并的提交。 如果没有冲突,您可以安全地合并这些提交。 但是,此工作流会增大合并冲突的可能性。 如果您继续压缩与合并长运行头部分支的拉取请求,则必须反复解决相同的冲突。
## 变基与合并拉取请求提交
## Rebase and merge your commits
{% data reusables.pull_requests.rebase_and_merge_summary %}

View File

@@ -27,7 +27,7 @@ shortTitle: 对 PR 的评论
也可以采用单独行注释的形式或者作为[拉取请求审查](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)的一部分,在拉取请求的 **Files changed已更改文件**选项卡上对文件的特定部分做出评论。 添加行注释是讨论有关实现的问题或向作者提供反馈的好方法。
有关向拉取请求审查添加行注释的更多信息,请参阅“[审查拉取请求中提议的更改](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request)”。
For more information on adding line comments to a pull request review, see "[Reviewing proposed changes in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request)."
{% note %}

View File

@@ -0,0 +1,30 @@
---
title: Configuring commit merging for pull requests
intro: 'You can enforce, allow, or disable merging with a merge commit for all pull request merges on {% data variables.product.product_location %} in your repository.'
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Repositories
shortTitle: Configure commit merging
---
{% data reusables.pull_requests.configure_pull_request_merges_intro %}
{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-settings %}
1. Under {% ifversion fpt or ghec or ghes > 3.5 or ghae-issue-6069 %}"Pull Requests"{% else %}"Merge button"{% endif %}, select **Allow merge commits**. This allows contributors to merge a pull request with a full history of commits.{% ifversion default-merge-squash-commit-message %} ![Screenshot of Pull Request settings with allow merge commits checkbox emphasized](/assets/images/help/repository/allow-merge-commits.png){% endif %}{% ifversion ghes = 3.6 %} ![Screenshot of Pull Request settings with allow merge commits checkbox emphasized](/assets/images/help/repository/allow-merge-commits-no-dropdown.png){% endif %}
{% ifversion ghes < 3.6 %}
![allow_standard_merge_commits](/assets/images/help/repository/pr-merge-full-commits.png){% endif %}
{% ifversion default-merge-squash-commit-message %}
1. Optionally, under **Allow merge commits**, use the dropdown to choose the format of the commit message presented to contributors when merging. The default message includes the pull request number and title. For example, `Merge pull request #123 from patch-1`. You can also choose to use just the pull request title, or the pull request title and description. ![Screenshot of emphasized default commit message dropdown](/assets/images/help/repository/default-commit-message-dropdown.png)
{% endif %}
如果选择多种合并方法,则协作者可以选择在合并拉取请求时要使用的合并提交类型。 {% data reusables.repositories.squash-and-rebase-linear-commit-history %}
## 延伸阅读
- "[关于拉取请求合并](/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges)"
- "[合并拉取请求](/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request)"

View File

@@ -19,4 +19,10 @@ shortTitle: 配置提交变基
{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-settings %}
3. 在 {% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6069 %}“拉取请求”{% else %}“合并按钮”{% endif %} 下,选择 **Allow rebase merging允许变基合并**。 这将允许贡献者通过将其个人提交变基到基本分支来合并拉取请求。 如果您还选择了另一种合并方法,则贡献者在合并拉取请求时能够选择合并提交的类型。 {% data reusables.repositories.squash-and-rebase-linear-commit-hisitory %} ![拉取请求变基提交](/assets/images/help/repository/pr-merge-rebase.png)
3. 在 {% ifversion fpt or ghec or ghes > 3.5 or ghae-issue-6069 %}“拉取请求”{% else %}“合并按钮”{% endif %} 下,选择 **Allow rebase merging允许变基合并**。 这将允许贡献者通过将其个人提交变基到基本分支来合并拉取请求。
{% ifversion default-merge-squash-commit-message %}
![Screenshot of Pull Request settings with allow rebase merging checkbox emphasized](/assets/images/help/repository/allow-rebase-merging.png){% endif %}{% ifversion ghes = 3.6 %} ![Screenshot of Pull Request settings with allow rebase merging checkbox emphasized](/assets/images/help/repository/allow-rebase-merging-no-dropdown.png){% endif %}
{% ifversion ghes < 3.6 %}
![拉取请求变基提交](/assets/images/help/repository/pr-merge-rebase.png){% endif %}
如果您还选择了另一种合并方法,则贡献者在合并拉取请求时能够选择合并提交的类型。 {% data reusables.repositories.squash-and-rebase-linear-commit-history %}

View File

@@ -21,11 +21,14 @@ shortTitle: 配置提交压缩
{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-settings %}
3. 在 {% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6069 %}"拉取请求"{% else %}"合并按钮"{% endif %} 下,可以选择 **Allow merge commits允许合并提交**。 这将允许贡献者合并具有完整提交历史记录的拉取请求。 ![allow_standard_merge_commits](/assets/images/help/repository/pr-merge-full-commits.png)
4. 在 {% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6069 %}“拉取请求”{% else %}“合并按钮”{% endif %} 下,选择 **Allow squash merging允许压缩合并**。 这将允许贡献者通过将所有提交压缩到单个提交中来合并拉取请求。 压缩消息如果包含多个提交,则自动默认为拉取请求的标题。 {% ifversion fpt or ghec or ghes > 3.5 or ghae-issue-7042 %}如果要将拉取请求的标题用作所有压缩提交的默认合并消息,而不考虑拉取请求中的提交次数,请选择 **Default to PR title for squash merge commits默认为压缩合并提交的 PR 标题)**。 ![Pull request squashed commits](/assets/images/help/repository/pr-merge-squash.png){% else %}
![Pull request squashed commits](/assets/images/enterprise/3.5/repository/pr-merge-squash.png){% endif %}
1. 在 {% ifversion fpt or ghec or ghes > 3.5 or ghae-issue-6069 %}拉取请求{% else %}合并按钮{% endif %} 下,选择 **Allow squash merging允许压缩合并**。 这将允许贡献者通过将所有提交压缩到单个提交中来合并拉取请求。 The default commit message presented to contributors when merging is the commit title and message if the pull request contains only 1 commit, or the pull request title and list of commits if the pull request contains 2 or more commits. {% ifversion ghes = 3.6 %} To always use the title of the pull request regardless of the number of commits in the pull request select **Default to PR title for squash merge commits**.{% endif %}{% ifversion default-merge-squash-commit-message %} ![Pull request squashed commits](/assets/images/help/repository/allow-squash-merging.png){% endif %}{% ifversion ghes = 3.6 %} ![Screenshot of Pull Request settings with allow merge commits checkbox emphasized](/assets/images/help/repository/allow-squash-merging-no-dropdown.png){% endif %}
{% ifversion ghes < 3.6 %}
![拉取请求压缩提交](/assets/images/enterprise/3.5/repository/pr-merge-squash.png){% endif %}
{% ifversion default-merge-squash-commit-message %}
1. Optionally, under **Allow squash merging**, use the dropdown to choose the format of the default squash commit message presented to contributors when merging. The default message uses the commit title and message if the pull request contains only 1 commit, or the pull request title and list of commits if the pull request contains 2 or more commits. You can also choose to use just the pull request title, the pull request title and commit details, or the pull request title and description. ![Screenshot of emphasized default squash message dropdown](/assets/images/help/repository/default-squash-message-dropdown.png)
{% endif %}
如果选择多种合并方法,则协作者可以选择在合并拉取请求时要使用的合并提交类型。 {% data reusables.repositories.squash-and-rebase-linear-commit-hisitory %}
如果选择多种合并方法,则协作者可以选择在合并拉取请求时要使用的合并提交类型。 {% data reusables.repositories.squash-and-rebase-linear-commit-history %}
## 延伸阅读

View File

@@ -13,6 +13,7 @@ topics:
- Repositories
children:
- /about-merge-methods-on-github
- /configuring-commit-merging-for-pull-requests
- /configuring-commit-squashing-for-pull-requests
- /configuring-commit-rebasing-for-pull-requests
- /managing-a-merge-queue

View File

@@ -16,6 +16,8 @@ permissions: People with maintainer permissions can enable or disable the settin
如果启用该设置以始终建议更新存储库中的拉取请求分支,则当拉取请求的头部分支与基本分支不符时,具有写入权限的人员将始终能够在拉取请求页面上更新头部分支。 如果未启用,则仅当基本分支要求分支在合并之前保持最新并且分支不是最新时,才可以使用更新功能。 更多信息请参阅“[使拉取请求与基本分支保持同步](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/keeping-your-pull-request-in-sync-with-the-base-branch)”。
{% data reusables.enterprise.3-5-missing-feature %}
## 管理更新请求分支的建议
{% data reusables.repositories.navigate-to-repo %}

View File

@@ -9,6 +9,7 @@ redirect_from:
- /github/managing-files-in-a-repository/adding-a-file-to-a-repository-using-the-command-line
- /github/managing-files-in-a-repository/managing-files-on-github/adding-a-file-to-a-repository
- /github/managing-files-in-a-repository/managing-files-using-the-command-line/adding-a-file-to-a-repository-using-the-command-line
- /github/managing-large-files/about-large-files-on-github
versions:
fpt: '*'
ghes: '*'
@@ -21,7 +22,7 @@ shortTitle: 添加文件
## 将文件添加到 {% data variables.product.product_name %} 上的存储库
通过浏览器添加到仓库的文件大小限于每个文件 {% data variables.large_files.max_github_browser_size %}。 较大的文件可通过命令行添加,最大每个 {% data variables.large_files.max_github_size %}。 更多信息请参阅“[使用命令行添加文件到仓库](#adding-a-file-to-a-repository-using-the-command-line)”。
通过浏览器添加到仓库的文件大小限于每个文件 {% data variables.large_files.max_github_browser_size %}。 较大的文件可通过命令行添加,最大每个 {% data variables.large_files.max_github_size %}。 更多信息请参阅“[使用命令行添加文件到仓库](#adding-a-file-to-a-repository-using-the-command-line)”。 To add files larger than {% data variables.large_files.max_github_size %}, you must use {% data variables.large_files.product_name_long %}. For more information, see "[About large files on {% data variables.product.product_name %}](/repositories/working-with-files/managing-large-files/about-large-files-on-github)."
{% tip %}

View File

@@ -0,0 +1,7 @@
#Issue 7720
#Organization owners can restrict public classic projects /OR/ Projects V2
versions:
fpt: '*'
ghec: '*'
ghes: '>3.6'
ghae: 'issue-7720'

View File

@@ -0,0 +1,7 @@
#Issue 7720
#Organization owners can restrict public classic projects.
versions:
fpt: '*'
ghec: '*'
ghes: '>3.6'
ghae: 'issue-7720'

View File

@@ -0,0 +1,7 @@
#Reference: issue #7597
#Admin can control default PR merge/ squash commit messages
versions:
fpt: '*'
ghec: '*'
ghes: '>=3.7'
ghae: 'issue-7597'

View File

@@ -61,6 +61,8 @@ secret_scanning:
- '{% ifversion not fpt %}/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning{% endif %}'
- '{% ifversion not fpt %}/code-security/secret-scanning/managing-alerts-from-secret-scanning{% endif %}'
- '{% ifversion not fpt %}/code-security/secret-scanning/secret-scanning-patterns{% endif %}'
- '{% ifversion secret-scanning-push-protection %}/code-security/secret-scanning/protecting-pushes-with-secret-scanning{% endif %}'
- '{% ifversion secret-scanning-push-protection %}/code-security/secret-scanning/pushing-a-branch-blocked-by-push-protection{% endif %}'
#Security overview feature available in GHEC and GHES 3.2+, so other articles hidden to hide the learning path in other versions
security_alerts:
title: '探索和管理安全警报'

View File

@@ -273,6 +273,7 @@ sections:
- 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 reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'
deprecations:
- heading: Deprecation of GitHub Enterprise Server 2.21

View File

@@ -26,3 +26,4 @@ sections:
- 对 GitHub Connect 启用“用户可以搜索 GitHub.com”后私有和内部仓库中的议题不包括在 GitHub.com 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -14,3 +14,4 @@ sections:
- 对 GitHub Connect 启用“用户可以搜索 GitHub.com”后私有和内部仓库中的议题不包括在 GitHub.com 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -42,3 +42,4 @@ sections:
- 当“用户可以搜索 GitHub.com”与 {% data variables.product.prodname_github_connect %} 一起启用时,私有和内部存储库中的议题不会包含在 {% data variables.product.prodname_dotcom_the_website %} 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -21,3 +21,4 @@ sections:
- When "Users can search GitHub.com" is enabled with {% data variables.product.prodname_github_connect %}, issues in private and internal repositories are not included in {% data variables.product.prodname_dotcom_the_website %} 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 reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -26,3 +26,4 @@ sections:
- 当“用户可以搜索 GitHub.com”与 {% data variables.product.prodname_github_connect %} 一起启用时,私有和内部存储库中的议题不会包含在 {% data variables.product.prodname_dotcom_the_website %} 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -21,3 +21,4 @@ sections:
- 当“用户可以搜索 GitHub.com”与 {% data variables.product.prodname_github_connect %} 一起启用时,私有和内部存储库中的议题不会包含在 {% data variables.product.prodname_dotcom_the_website %} 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -17,3 +17,4 @@ sections:
- 当“用户可以搜索 GitHub.com”与 {% data variables.product.prodname_github_connect %} 一起启用时,私有和内部存储库中的议题不会包含在 {% data variables.product.prodname_dotcom_the_website %} 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -15,3 +15,12 @@ sections:
- The `ghe-set-password` command-line utility starts required services automatically when the instance is booted in recovery mode.
- Metrics for `aqueduct` background processes are gathered for Collectd forwarding and display in the Management Console.
- The location of the database migration and configuration run log, `/data/user/common/ghe-config.log`, is now displayed on the page that details a migration in progress.
known_issues:
- 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
- 当“用户可以搜索 GitHub.com”与 {% data variables.product.prodname_github_connect %} 一起启用时,私有和内部存储库中的议题不会包含在 {% data variables.product.prodname_dotcom_the_website %} 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -0,0 +1,9 @@
date: '2022-08-11'
sections:
security_fixes:
- |
**CRITICAL**: GitHub Enterprise Server's Elasticsearch container used a version of OpenJDK 8 that was vulnerable to an integer truncation issue when processing malicious XSLT stylesheets. The vulnerability is tracked as [CVE-2022-34169](https://github.com/advisories/GHSA-9339-86wc-4qgf).
- |
**HIGH**: Previously installed apps on user accounts were automatically granted permission to access an organization on scoped access tokens after the user account was transformed into an organization account. This vulnerability was reported via the [GitHub Bug Bounty program](https://bounty.github.com).
bugs:
- When a custom dormancy threshold was set for the instance, suspending all dormant users did not reliably respect the threshold. For more information about dormancy, see "[Managing dormant users](/admin/user-management/managing-users-in-your-enterprise/managing-dormant-users)."

View File

@@ -21,3 +21,4 @@ sections:
- 对 GitHub Connect 启用“用户可以搜索 GitHub.com”后私有和内部仓库中的议题不包括在 GitHub.com 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -28,3 +28,4 @@ sections:
- 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 reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -28,3 +28,4 @@ sections:
- 对 GitHub Connect 启用“用户可以搜索 GitHub.com”后私有和内部仓库中的议题不包括在 GitHub.com 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -26,3 +26,4 @@ sections:
- 对 GitHub Connect 启用“用户可以搜索 GitHub.com”后私有和内部仓库中的议题不包括在 GitHub.com 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -12,3 +12,4 @@ sections:
- 对 GitHub Connect 启用“用户可以搜索 GitHub.com”后私有和内部仓库中的议题不包括在 GitHub.com 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -21,3 +21,4 @@ sections:
- 对 GitHub Connect 启用“用户可以搜索 GitHub.com”后私有和内部仓库中的议题不包括在 GitHub.com 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -24,3 +24,4 @@ sections:
- 对 GitHub Connect 启用“用户可以搜索 GitHub.com”后私有和内部仓库中的议题不包括在 GitHub.com 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -18,3 +18,4 @@ sections:
- 对 GitHub Connect 启用“用户可以搜索 GitHub.com”后私有和内部仓库中的议题不包括在 GitHub.com 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -253,7 +253,7 @@ sections:
- 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]'
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'
deprecations:
- heading: Deprecation of GitHub Enterprise Server 2.22
notes:

View File

@@ -15,3 +15,4 @@ sections:
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data variables.product.prodname_actions %} 存储设置在选择“Force Path Style强制路径样式”时无法验证和保存在 {% data variables.enterprise.management_console %} 中而必须使用“ghe-actions-precheck”命令行实用程序进行配置。'
- '由于当前 Linux 内核中存在错误,{% data variables.product.prodname_ghe_server %} 在 Azure 上安装并预配了 32 个以上 CPU 内核的 3.3 实例将无法启动。[更新时间2022 年 4 月 8 日]'
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -19,3 +19,4 @@ sections:
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data variables.product.prodname_actions %} 存储设置在选择“Force Path Style强制路径样式”时无法验证和保存在 {% data variables.enterprise.management_console %} 中而必须使用“ghe-actions-precheck”命令行实用程序进行配置。'
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -17,3 +17,14 @@ sections:
- The `ghe-set-password` command-line utility starts required services automatically when the instance is booted in recovery mode.
- Metrics for `aqueduct` background processes are gathered for Collectd forwarding and display in the Management Console.
- The location of the database migration and configuration run log, `/data/user/common/ghe-config.log`, is now displayed on the page that details a migration in progress.
known_issues:
- 升级到 {% data variables.product.prodname_ghe_server %} 3.3 后,{% data variables.product.prodname_actions %} 可能无法自动启动。要解决此问题,请通过 SSH 连接到设备并运行“ghe-actions-start”命令。
- 在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。
- 自定义防火墙规则在升级过程中被删除。
- Git LFS 跟踪的文件[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories) 被错误地直接添加到仓库。
- 如果议题包含文件路径长于 255 个字符的同一仓库中 blob 的永久链接,则议题无法关闭。
- 当“用户可以搜索 GitHub.com”与 {% data variables.product.prodname_github_connect %} 一起启用时,私有和内部存储库中的议题不会包含在 {% data variables.product.prodname_dotcom_the_website %} 搜索结果中。
- '{% data variables.product.prodname_registry %} npm 注册表不再返回元数据响应的时间值。这样做是为了大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。'
- 特定于处理预接收挂钩的资源限制可能会导致某些预接收挂钩失败。
- '{% data variables.product.prodname_actions %} 存储设置在选择“Force Path Style强制路径样式”时无法验证和保存在 {% data variables.enterprise.management_console %} 中而必须使用“ghe-actions-precheck”命令行实用程序进行配置。'
- '{% data reusables.release-notes.ghas-3.4-secret-scanning-known-issue %}'

View File

@@ -0,0 +1,11 @@
date: '2022-08-11'
sections:
security_fixes:
- |
**CRITICAL**: GitHub Enterprise Server's Elasticsearch container used a version of OpenJDK 8 that was vulnerable to an integer truncation issue when processing malicious XSLT stylesheets. The vulnerability is tracked as [CVE-2022-34169](https://github.com/advisories/GHSA-9339-86wc-4qgf).
- |
**HIGH**: Previously installed apps on user accounts were automatically granted permission to access an organization on scoped access tokens after the user account was transformed into an organization account. This vulnerability was reported via the [GitHub Bug Bounty program](https://bounty.github.com).
bugs:
- When a custom dormancy threshold was set for the instance, suspending all dormant users did not reliably respect the threshold. For more information about dormancy, see "[Managing dormant users](/admin/user-management/managing-users-in-your-enterprise/managing-dormant-users)."
changes:
- 'The enterprise audit log now includes more user-generated events, such as `project.create`. The REST API also returns additional user-generated events, such as `repo.create`. For more information, see "[Accessing the audit log for your enterprise](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/accessing-the-audit-log-for-your-enterprise)" and "[Using the audit log API for your enterprise](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/using-the-audit-log-api-for-your-enterprise#querying-the-audit-log-rest-api)."'

Some files were not shown because too many files have changed in this diff Show More