diff --git a/assets/images/help/repository/actions-delete-artifact.png b/assets/images/help/repository/actions-delete-artifact.png deleted file mode 100644 index 9fccec5420..0000000000 Binary files a/assets/images/help/repository/actions-delete-artifact.png and /dev/null differ diff --git a/assets/images/help/repository/actions-failed-pester-test.png b/assets/images/help/repository/actions-failed-pester-test.png deleted file mode 100644 index 3c5841b3bc..0000000000 Binary files a/assets/images/help/repository/actions-failed-pester-test.png and /dev/null differ diff --git a/assets/images/help/repository/artifact-drop-down.png b/assets/images/help/repository/artifact-drop-down.png deleted file mode 100644 index cf525a781d..0000000000 Binary files a/assets/images/help/repository/artifact-drop-down.png and /dev/null differ diff --git a/assets/images/help/repository/cancel-check-suite.png b/assets/images/help/repository/cancel-check-suite.png deleted file mode 100644 index 547df04ec0..0000000000 Binary files a/assets/images/help/repository/cancel-check-suite.png and /dev/null differ diff --git a/assets/images/help/repository/copy-link-button-updated.png b/assets/images/help/repository/copy-link-button-updated.png deleted file mode 100644 index 6ac8492169..0000000000 Binary files a/assets/images/help/repository/copy-link-button-updated.png and /dev/null differ diff --git a/assets/images/help/repository/enable-secret-scanning-ghe.png b/assets/images/help/repository/enable-secret-scanning-ghe.png deleted file mode 100644 index 2598de0eb2..0000000000 Binary files a/assets/images/help/repository/enable-secret-scanning-ghe.png and /dev/null differ diff --git a/assets/images/help/repository/javascript-action-workflow-run-updated.png b/assets/images/help/repository/javascript-action-workflow-run-updated.png deleted file mode 100644 index 5f2adcd41d..0000000000 Binary files a/assets/images/help/repository/javascript-action-workflow-run-updated.png and /dev/null differ diff --git a/assets/images/help/repository/javascript-action-workflow-run.png b/assets/images/help/repository/javascript-action-workflow-run.png deleted file mode 100644 index d40a7aedaf..0000000000 Binary files a/assets/images/help/repository/javascript-action-workflow-run.png and /dev/null differ diff --git a/assets/images/help/repository/passing-data-between-jobs-in-a-workflow.png b/assets/images/help/repository/passing-data-between-jobs-in-a-workflow.png deleted file mode 100644 index 52dafcc90c..0000000000 Binary files a/assets/images/help/repository/passing-data-between-jobs-in-a-workflow.png and /dev/null differ diff --git a/lib/search/lunr-search.js b/lib/search/lunr-search.js index 725072ffa3..c85eb0cb2f 100644 --- a/lib/search/lunr-search.js +++ b/lib/search/lunr-search.js @@ -48,6 +48,7 @@ export default async function loadLunrResults({ version, language, query, limit if (!lunrIndexes.has(indexName) || !lunrRecords.has(indexName)) { lunrIndexes.set(indexName, await loadLunrIndex(indexName)) lunrRecords.set(indexName, await loadLunrRecords(indexName)) + statsd.increment('middleware.lunr_cold_index', 1, [`index:${indexName}`]) statsd.gauge('memory_heap_used', process.memoryUsage().heapUsed, ['event:lunr-index']) } const index = lunrIndexes.get(indexName) diff --git a/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/permission-levels-for-a-user-account-repository.md b/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/permission-levels-for-a-user-account-repository.md index d6b0243b88..1256bd8af5 100644 --- a/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/permission-levels-for-a-user-account-repository.md +++ b/translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/permission-levels-for-a-user-account-repository.md @@ -49,7 +49,7 @@ shortTitle: 权限用户仓库 | 自定义仓库的社交媒体预览 | "[自定义仓库的社交媒体预览](/github/administering-a-repository/customizing-your-repositorys-social-media-preview)" | | 从仓库创建模板 | "[创建模板仓库](/github/creating-cloning-and-archiving-repositories/creating-a-template-repository)" |{% ifversion fpt or ghes or ghae-issue-4864 or ghec %} | 控制对易受攻击依赖项的 {% data variables.product.prodname_dependabot_alerts %} 访问 | "[管理仓库的安全和分析设置](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts)" |{% endif %}{% ifversion fpt or ghec %} -| 忽略仓库中的 {% data variables.product.prodname_dependabot_alerts %} | "[Viewing {% data variables.product.prodname_dependabot_alerts %} for vulnerable dependencies](/github/managing-security-vulnerabilities/viewing-and-updating-vulnerable-dependencies-in-your-repository)" | +| 忽略仓库中的 {% data variables.product.prodname_dependabot_alerts %} | "[查看漏洞依赖项的 {% data variables.product.prodname_dependabot_alerts %}](/github/managing-security-vulnerabilities/viewing-and-updating-vulnerable-dependencies-in-your-repository)" | | 管理私有仓库的数据使用 | “[管理私有仓库的数据使用设置](/get-started/privacy-on-github/managing-data-use-settings-for-your-private-repository)” {% endif %} | 定义仓库的代码所有者 | "[关于代码所有者](/github/creating-cloning-and-archiving-repositories/about-code-owners)" | diff --git a/translations/zh-CN/content/actions/hosting-your-own-runners/adding-self-hosted-runners.md b/translations/zh-CN/content/actions/hosting-your-own-runners/adding-self-hosted-runners.md index 142aec4a27..7d166ec2fd 100644 --- a/translations/zh-CN/content/actions/hosting-your-own-runners/adding-self-hosted-runners.md +++ b/translations/zh-CN/content/actions/hosting-your-own-runners/adding-self-hosted-runners.md @@ -49,14 +49,13 @@ You can add self-hosted runners to a single repository. To add a self-hosted run {% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5091 %} {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -{% data reusables.actions.settings-sidebar-actions %} -{% data reusables.actions.settings-sidebar-actions-runners-updated %} +{% data reusables.repositories.settings-sidebar-actions-runners %} 1. Click **New self-hosted runner**. {% data reusables.actions.self-hosted-runner-configure %} {% elsif ghae or ghes < 3.4 %} {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -{% data reusables.actions.settings-sidebar-actions-runners %} +{% data reusables.repositories.settings-sidebar-actions-runners %} 1. Under {% ifversion ghes > 3.1 or ghae or ghec %}"Runners"{% else %}"Self-hosted runners"{% endif %}, click **Add runner**. {% data reusables.actions.self-hosted-runner-configure %} {% endif %} @@ -71,14 +70,13 @@ You can add self-hosted runners at the organization level, where they can be use {% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5091 %} {% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.org_settings %} -{% data reusables.actions.settings-sidebar-actions %} -{% data reusables.actions.settings-sidebar-actions-runners-updated %} +{% data reusables.organizations.settings-sidebar-actions-runners %} 1. Click **New runner**. {% data reusables.actions.self-hosted-runner-configure %} {% elsif ghae or ghes < 3.4 %} {% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.org_settings %} -{% data reusables.actions.settings-sidebar-actions-runners %} +{% data reusables.organizations.settings-sidebar-actions-runners %} 1. Under {% ifversion ghes > 3.1 or ghae %}"Runners", click **Add new**, then click **New runner**.{% elsif ghes < 3.2 %}"Self-hosted runners", click **Add runner**."{% endif %} {% data reusables.actions.self-hosted-runner-configure %} {% endif %} diff --git a/translations/zh-CN/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md b/translations/zh-CN/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md index 8a73bdeabc..f266529000 100644 --- a/translations/zh-CN/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md +++ b/translations/zh-CN/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md @@ -49,7 +49,7 @@ shortTitle: 管理对运行器的访问 {% ifversion ghec or ghes > 3.3 or ghae-issue-5091 %} {% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.org_settings %} -{% data reusables.actions.settings-sidebar-actions-runner-groups %} +{% data reusables.organizations.settings-sidebar-actions-runner-groups %} 1. 在“Runner groups(运行器组)”部分,单击 **New runner group(新运行器组)**。 1. 为运行器组输入名称。 {% data reusables.actions.runner-group-assign-policy-repo %} @@ -66,7 +66,7 @@ shortTitle: 管理对运行器的访问 {% elsif ghae or ghes < 3.4 %} {% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.org_settings %} -{% data reusables.actions.settings-sidebar-actions-runners %} +{% data reusables.organizations.settings-sidebar-actions-runner-groups %} 1. 在 {% ifversion ghes > 3.1 or ghae %}“Runners(运行器)”{% elsif ghes < 3.2 %}“Self-hosted runners(自托管运行器)”{% endif %} 下,单击 **Add new(新增)**,然后单击 **New group(新建组)**。 ![添加运行器组](/assets/images/help/settings/actions-org-add-runner-group.png) diff --git a/translations/zh-CN/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md b/translations/zh-CN/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md index 95f3f2a9f3..6c596084ba 100644 --- a/translations/zh-CN/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md +++ b/translations/zh-CN/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md @@ -23,7 +23,7 @@ shortTitle: Monitor & troubleshoot {% data reusables.actions.self-hosted-runner-management-permissions-required %} {% data reusables.actions.self-hosted-runner-navigate-repo-and-org %} -{% data reusables.actions.settings-sidebar-actions-runners %} +{% data reusables.organizations.settings-sidebar-actions-runners %} 1. Under {% ifversion fpt or ghes > 3.1 or ghae or ghec %}"Runners"{% else %}"Self-hosted runners"{% endif %}, you can view a list of registered runners, including the runner's name, labels, and status. The status can be one of the following: diff --git a/translations/zh-CN/content/actions/hosting-your-own-runners/removing-self-hosted-runners.md b/translations/zh-CN/content/actions/hosting-your-own-runners/removing-self-hosted-runners.md index 290c9ade3e..0a8b105f95 100644 --- a/translations/zh-CN/content/actions/hosting-your-own-runners/removing-self-hosted-runners.md +++ b/translations/zh-CN/content/actions/hosting-your-own-runners/removing-self-hosted-runners.md @@ -32,14 +32,13 @@ shortTitle: 删除自托管的运行器 {% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5091 %} {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -{% data reusables.actions.settings-sidebar-actions %} -{% data reusables.actions.settings-sidebar-actions-runners-updated %} +{% data reusables.repositories.settings-sidebar-actions-runners %} {% data reusables.actions.settings-sidebar-actions-runner-selection %} {% data reusables.actions.self-hosted-runner-removing-a-runner-updated %} {% elsif ghae or ghes < 3.4 %} {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -{% data reusables.actions.settings-sidebar-actions-runners %} +{% data reusables.repositories.settings-sidebar-actions-runners %} {% data reusables.actions.self-hosted-runner-removing-a-runner %} {% endif %} @@ -59,14 +58,13 @@ shortTitle: 删除自托管的运行器 {% ifversion fpt or ghes > 3.3 or ghec %} {% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.org_settings %} -{% data reusables.actions.settings-sidebar-actions %} -{% data reusables.actions.settings-sidebar-actions-runners-updated %} +{% data reusables.organizations.settings-sidebar-actions-runners %} {% data reusables.actions.settings-sidebar-actions-runner-selection %} {% data reusables.actions.self-hosted-runner-removing-a-runner-updated %} {% elsif ghes < 3.4 or ghae %} {% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.org_settings %} -{% data reusables.actions.settings-sidebar-actions-runners %} +{% data reusables.organizations.settings-sidebar-actions-runners %} {% data reusables.actions.self-hosted-runner-removing-a-runner %} {% endif %} diff --git a/translations/zh-CN/content/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github.md b/translations/zh-CN/content/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github.md index 0bcaf8834d..6514b61968 100644 --- a/translations/zh-CN/content/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github.md +++ b/translations/zh-CN/content/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github.md @@ -25,7 +25,7 @@ shortTitle: 为开源做贡献 如果您一直活跃在 {% data variables.product.product_location %} 上,可以根据您过去的参与、标星以及在 [Explore](https://github.com/explore) 中的其他活动,为您的项目找到个性化的建议和合适的第一个议题。 您还可以注册 Explore 通讯以根据您的兴趣接收相关电子邮件,了解参与 {% data variables.product.product_name %} 的机会。 要注册,请参阅 [Explore 电子邮件通讯](https://github.com/explore/subscribe)。 -Keep up with recent activity from repositories you watch and people{% if for-you-feed %}, and organizations{% endif %} you follow with your personal dashboard. 更多信息请参阅“[关于个人仪表板](/articles/about-your-personal-dashboard)”。 +使用个人仪表板及时了解您关注的存储库和人员{% if for-you-feed %} 以及组织{% endif %} 的最近活动。 更多信息请参阅“[关于个人仪表板](/articles/about-your-personal-dashboard)”。 {% data reusables.support.ask-and-answer-forum %} diff --git a/translations/zh-CN/content/get-started/exploring-projects-on-github/following-people.md b/translations/zh-CN/content/get-started/exploring-projects-on-github/following-people.md index c246251c45..6ea399d0f9 100644 --- a/translations/zh-CN/content/get-started/exploring-projects-on-github/following-people.md +++ b/translations/zh-CN/content/get-started/exploring-projects-on-github/following-people.md @@ -17,7 +17,7 @@ topics: ## 关于 {% data variables.product.product_name %} 上的关注者 -When you follow people, you'll see their public activity on your personal dashboard.{% ifversion fpt or ghec %} If someone you follow stars a public repository, {% data variables.product.product_name %} may recommend the repository to you.{% endif %} For more information, see "[About your personal dashboard](/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/about-your-personal-dashboard#staying-updated-with-activity-from-the-community)." +关注用户后,您会在个人信息中心看到他们的公开活动。{% ifversion fpt or ghec %} 如果您关注的人将某个公共存储库标星, {% data variables.product.product_name %} 可能会向您推荐该存储库。{% endif %} 更多信息请参阅“[关于个人仪表板](/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/about-your-personal-dashboard#staying-updated-with-activity-from-the-community)”。 如果您不希望在 {% data variables.product.product_name %} 上看到某人的公开活动,则可以取消关注他们。 diff --git a/translations/zh-CN/content/get-started/exploring-projects-on-github/saving-repositories-with-stars.md b/translations/zh-CN/content/get-started/exploring-projects-on-github/saving-repositories-with-stars.md index cc01657f66..6af2c9f107 100644 --- a/translations/zh-CN/content/get-started/exploring-projects-on-github/saving-repositories-with-stars.md +++ b/translations/zh-CN/content/get-started/exploring-projects-on-github/saving-repositories-with-stars.md @@ -26,7 +26,7 @@ shortTitle: 保存有星标的仓库 标星操作便于以后再次找到仓库或主题。 您可以到 {% data variables.explore.your_stars_page %} 查看已经加星标的所有仓库和主题。 {% ifversion fpt or ghec %} -您可以对仓库和主题加星标以在 {% data variables.product.product_name %} 上发现类似的项目。 When you star repositories or topics, {% data variables.product.product_name %} may recommend related content on your personal dashboard. For more information, see "[Finding ways to contribute to open source on {% data variables.product.prodname_dotcom %}](/github/getting-started-with-github/finding-ways-to-contribute-to-open-source-on-github)" and "[About your personal dashboard](/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/about-your-personal-dashboard#staying-updated-with-activity-from-the-community)." +您可以对仓库和主题加星标以在 {% data variables.product.product_name %} 上发现类似的项目。 当您为存储库或主题添加星标时, {% data variables.product.product_name %} 可能会在您的个人仪表板上推荐相关内容。 更多信息请参阅“[查找参与 {% data variables.product.prodname_dotcom %} 上的开源项目的方法](/github/getting-started-with-github/finding-ways-to-contribute-to-open-source-on-github)”和“[关于个人仪表板](/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/about-your-personal-dashboard#staying-updated-with-activity-from-the-community)”。 {% endif %} 对仓库加星标也可表示赞赏仓库维护员的工作。 许多 {% data variables.product.prodname_dotcom %} 的仓库评级取决于仓库拥有的星标数。 此外,[Explore](https://github.com/explore) 也会根据星标数显示最受欢迎的仓库。 diff --git a/translations/zh-CN/content/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization.md b/translations/zh-CN/content/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization.md index 54362fb17b..0ebe9c47fe 100644 --- a/translations/zh-CN/content/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization.md +++ b/translations/zh-CN/content/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization.md @@ -20,5 +20,5 @@ shortTitle: 配置保留期 {% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.org_settings %} -{% data reusables.organizations.settings-sidebar-actions %} +{% data reusables.organizations.settings-sidebar-actions-general %} {% data reusables.actions.change-retention-period-for-artifacts-logs %} diff --git a/translations/zh-CN/content/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization.md b/translations/zh-CN/content/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization.md index aebc747e0c..f9af05af31 100644 --- a/translations/zh-CN/content/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization.md +++ b/translations/zh-CN/content/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization.md @@ -39,7 +39,7 @@ shortTitle: 禁用或限制操作 {% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} -{% data reusables.organizations.settings-sidebar-actions %} +{% data reusables.organizations.settings-sidebar-actions-general %} 1. 在 **Policies(策略)**下,选择一个选项。 ![设置此组织的操作策略](/assets/images/help/organizations/actions-policy.png) 1. 单击 **Save(保存)**。 @@ -49,7 +49,7 @@ shortTitle: 禁用或限制操作 {% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} -{% data reusables.organizations.settings-sidebar-actions %} +{% data reusables.organizations.settings-sidebar-actions-general %} 1. 在 **Policies(策略)**下,选择 **Allow select actions(允许选择操作)**并将所需操作添加到列表中。 {%- ifversion ghes %} ![添加操作到允许列表](/assets/images/help/organizations/actions-policy-allow-list.png) @@ -67,7 +67,7 @@ shortTitle: 禁用或限制操作 {% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} -{% data reusables.organizations.settings-sidebar-actions %} +{% data reusables.organizations.settings-sidebar-actions-general %} {% data reusables.actions.workflows-from-public-fork-setting %} {% data reusables.actions.workflow-run-approve-link %} @@ -86,7 +86,7 @@ shortTitle: 禁用或限制操作 {% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} -{% data reusables.organizations.settings-sidebar-actions %} +{% data reusables.organizations.settings-sidebar-actions-general %} {% data reusables.actions.private-repository-forks-configure %} {% endif %} @@ -104,7 +104,7 @@ shortTitle: 禁用或限制操作 {% data reusables.profile.access_profile %} {% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} -{% data reusables.organizations.settings-sidebar-actions %} +{% data reusables.organizations.settings-sidebar-actions-general %} 1. 在 **Workflow permissions(工作流程权限)**下,选择您是否想要 `GITHUB_TOKENN` 读写所有范围限, 或者只读`内容`范围。 ![为此组织设置 GITHUB_TOKENN 权限](/assets/images/help/settings/actions-workflow-permissions-organization.png) 1. 单击 **Save(保存)**以应用设置。 {% endif %} diff --git a/translations/zh-CN/content/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md b/translations/zh-CN/content/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md index 882efc96de..0d4bc0e3b9 100644 --- a/translations/zh-CN/content/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md +++ b/translations/zh-CN/content/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md @@ -38,7 +38,7 @@ shortTitle: 配置发布源 {% ifversion fpt %} -{% data variables.product.prodname_pages %} 站点将始终使用 {% data variables.product.prodname_actions %} 工作流程运行进行部署,即使您已将 {% data variables.product.prodname_pages %} 站点配置为使用其他 CI 工具构建也是如此。 大多数外部 CI 工作流程通过将构建输出提交到仓库的 `gh-pages` 分支来“部署”到 GitHub Pages,并且通常包含一个 `.nojekyll` 文件。 发生这种情况时, {% data variables.product.prodname_actions %} 工作流程将检测分支不需要构建步骤的状态,并且仅执行将站点部署到 {% data variables.product.prodname_pages %} 服务器所需的步骤。 +{% data variables.product.prodname_pages %} 站点将始终使用 {% data variables.product.prodname_actions %} 工作流程运行进行部署,即使您已将 {% data variables.product.prodname_pages %} 站点配置为使用其他 CI 工具构建也是如此。 大多数外部 CI 工作流程通过将构建输出提交到仓库的 `gh-pages` 分支来“部署”到 GitHub Pages,并且通常包含一个 `.nojekyll` 文件。 When this happens, the {% data variables.product.prodname_actions %} workflow will detect the state that the branch does not need a build step, and will execute only the steps necessary to deploy the site to {% data variables.product.prodname_pages %} servers. 若要查找构建或部署的潜在错误,可以通过查看仓库的工作流程运行来检查 {% data variables.product.prodname_pages %} 站点的工作流程运行情况。 更多信息请参阅“[查看工作流程运行历史记录](/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history)”。 有关如何在出现错误时重新运行工作流程的详细信息,请参阅”[重新运行工作流程和作业](/actions/managing-workflow-runs/re-running-workflows-and-jobs)“。 diff --git a/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks.md b/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks.md index 81b982920e..fd1f477fa8 100644 --- a/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks.md +++ b/translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks.md @@ -33,7 +33,7 @@ topics: - 检查 - 状态 -_Checks_ are different from _statuses_ in that they provide line annotations, more detailed messaging, and are only available for use with {% data variables.product.prodname_github_apps %}. +_检查_与_状态_的不同之处在于它们提供行注解、更详细的信息,并且只适用于 {% data variables.product.prodname_github_apps %}。 组织所有者和能够推送到仓库的用户可使用 {% data variables.product.product_name %} 的 API 创建检查和状态。 更多信息请参阅“[检查](/rest/reference/checks)”和“[状态](/rest/reference/commits#commit-statuses)”。 @@ -45,7 +45,7 @@ _Checks_ are different from _statuses_ in that they provide line annotations, mo {% note %} -**Note:** The **Checks** tab only gets populated for pull requests if you set up _checks_, not _statuses_, for the repository. +**注意:** 仅当您为存储库设置了_检查_(而不是_状态_)时,才会为拉取请求填充 **Checks(检查)**选项卡。 {% endnote %} diff --git a/translations/zh-CN/content/repositories/creating-and-managing-repositories/renaming-a-repository.md b/translations/zh-CN/content/repositories/creating-and-managing-repositories/renaming-a-repository.md index 177965c8ab..756893dbf6 100644 --- a/translations/zh-CN/content/repositories/creating-and-managing-repositories/renaming-a-repository.md +++ b/translations/zh-CN/content/repositories/creating-and-managing-repositories/renaming-a-repository.md @@ -39,7 +39,7 @@ $ git remote set-url origin new_url {% note %} -**Note:** {% data variables.product.prodname_dotcom %} will not redirect calls to an action hosted by a renamed repository. Any workflow that uses that action will fail with the error `repository not found`. Instead, create a new repository and action with the new name and archive the old repository. 更多信息请参阅“[存档仓库](/repositories/archiving-a-github-repository/archiving-repositories)”。 +**注意:** {% data variables.product.prodname_dotcom %} 不会将调用重定向到由重命名的存储库托管的操作。 使用该操作的任何工作流程都将失败,并出现错误 `repository not found(存储库未找到)`。 而是创建一个新存储库并使用新名称执行操作,并将旧存储库存档。 更多信息请参阅“[存档仓库](/repositories/archiving-a-github-repository/archiving-repositories)”。 {% endnote %} diff --git a/translations/zh-CN/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository.md b/translations/zh-CN/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository.md index 9766d90ead..99dbc4c2e5 100644 --- a/translations/zh-CN/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository.md +++ b/translations/zh-CN/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository.md @@ -44,7 +44,7 @@ shortTitle: 管理 GitHub Actions 设置 {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -{% data reusables.repositories.settings-sidebar-actions %} +{% data reusables.repositories.settings-sidebar-actions-general %} 1. 在 **Actions permissions(操作权限)**下,选择一个选项。 ![设置此组织的操作策略](/assets/images/help/repository/actions-policy.png) @@ -57,7 +57,7 @@ shortTitle: 管理 GitHub Actions 设置 {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -{% data reusables.repositories.settings-sidebar-actions %} +{% data reusables.repositories.settings-sidebar-actions-general %} 1. 在 **Actions permissions(操作权限)**下,选择 **Allow select actions(允许选择操作)**并将所需操作添加到列表中。 {%- ifversion ghes %} @@ -77,7 +77,7 @@ shortTitle: 管理 GitHub Actions 设置 {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -{% data reusables.repositories.settings-sidebar-actions %} +{% data reusables.repositories.settings-sidebar-actions-general %} {% data reusables.actions.workflows-from-public-fork-setting %} {% data reusables.actions.workflow-run-approve-link %} @@ -95,7 +95,7 @@ shortTitle: 管理 GitHub Actions 设置 {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -{% data reusables.repositories.settings-sidebar-actions %} +{% data reusables.repositories.settings-sidebar-actions-general %} {% data reusables.actions.private-repository-forks-configure %} {% ifversion fpt or ghes > 3.1 or ghae or ghec %} @@ -111,7 +111,7 @@ shortTitle: 管理 GitHub Actions 设置 {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -{% data reusables.repositories.settings-sidebar-actions %} +{% data reusables.repositories.settings-sidebar-actions-general %} 1. 在 **Workflow permissions(工作流程权限)**下,选择您是否想要 `GITHUB_TOKENN` 读写所有范围限, 或者只读`内容`范围。 ![为此仓库设置 GITHUB_TOKENN 权限](/assets/images/help/settings/actions-workflow-permissions-repository.png) @@ -128,7 +128,7 @@ shortTitle: 管理 GitHub Actions 设置 1. 在 {% data variables.product.prodname_dotcom %} 上,导航到内部仓库的主页面。 1. 在仓库名称下,单击 {% octicon "gear" aria-label="The gear icon" %}**Settings(设置)**。 -{% data reusables.repositories.settings-sidebar-actions %} +{% data reusables.repositories.settings-sidebar-actions-general %} 1. 在 **Access(访问)**下,选择以下访问设置之一: {% ifversion ghes > 3.4 or ghae-issue-6090 or ghec %}![Set the access to Actions components](/assets/images/help/settings/actions-access-settings.png){% else %}![Set the access to Actions components](/assets/images/enterprise/3.4/actions-access-settings.png){% endif %} @@ -151,5 +151,5 @@ shortTitle: 管理 GitHub Actions 设置 {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} -{% data reusables.repositories.settings-sidebar-actions %} +{% data reusables.repositories.settings-sidebar-actions-general %} {% data reusables.actions.change-retention-period-for-artifacts-logs %} diff --git a/translations/zh-CN/content/site-policy/github-terms/github-terms-for-additional-products-and-features.md b/translations/zh-CN/content/site-policy/github-terms/github-terms-for-additional-products-and-features.md index 048bf84336..4f8878d95d 100644 --- a/translations/zh-CN/content/site-policy/github-terms/github-terms-for-additional-products-and-features.md +++ b/translations/zh-CN/content/site-policy/github-terms/github-terms-for-additional-products-and-features.md @@ -37,8 +37,23 @@ GitHub Actions 使您能够直接在您的 GitHub 仓库中创建自定义软件 - 任何给我们的服务器带来负担的活动,如果这种负担与提供给用户的收益不成比例(例如,不要将 Action 用作内容交付网络或作为无服务器应用程序的一部分,但收益低负担也低的 Action 可能没问题);或 - 如果使用 GitHub 托管的运行器,与使用 GitHub Actions 的仓库相关的软件项目创建、测试、部署或发布无关的任何其他活动。 -为防止违反这些限制和滥用 GitHub Actions,GitHub 可能会监视您对 GitHub Actions 的使用。 滥用 GitHub Actions 可能导致作业终止、使用 GitHub Actions 的权限受到限制,或者禁用以违反这些条款的方式运行 Actions 的仓库。 +为防止违反这些限制和滥用 GitHub Actions,GitHub 可能会监视您对 GitHub Actions 的使用。 Misuse of GitHub Actions may result in termination of jobs, restrictions in your ability to use GitHub Actions, disabling of repositories created to run Actions in a way that violates these Terms, or in some cases, suspension or termination of your GitHub account. +*Use for Development and Testing* + +You may only access and use GitHub Actions to develop and test your application(s). Only one licensed user may access a virtual machine provided by Actions at any time. + +*Authorized Developer* + +You appoint GitHub as your authorized developer with respect to Apple software included in Actions. GitHub is responsible for complying with the terms for any such software included in Actions and will keep confidential any confidential information of Apple accessed as part of Actions. + +*Third Party Repository Service Access* + +If you grant GitHub access to your third-party repository service account(s), you authorize GitHub to scan the account(s), including the contents of your Public and Private Repositories, for purposes of providing GitHub Actions. + +*Self-Hosted Runners on GitHub Actions* + +If you use self-hosted runners, you have the ability to turn off automatic updates but GitHub reserves the right to override your choice for critical security updates. ## Advanced Security GitHub 根据高级安全许可证向客户提供额外的安全功能。 这些功能包括代码扫描、秘密扫描和依赖项审查。 [Advanced Security 文档](/github/getting-started-with-github/about-github-advanced-security)提供更多详细信息。 diff --git a/translations/zh-CN/data/reusables/actions/change-retention-period-for-artifacts-logs.md b/translations/zh-CN/data/reusables/actions/change-retention-period-for-artifacts-logs.md index f254fa4827..d338e781c7 100644 --- a/translations/zh-CN/data/reusables/actions/change-retention-period-for-artifacts-logs.md +++ b/translations/zh-CN/data/reusables/actions/change-retention-period-for-artifacts-logs.md @@ -1,2 +1,2 @@ -1. 在 **Artifact and log retention duration(构建和日志保留期)**下输入值。 +1. Under **Artifact and log retention**, enter a new value. 1. 单击 **Save(保存)**以应用更改。 diff --git a/translations/zh-CN/data/reusables/actions/self-hosted-runner-groups-navigate-to-repo-org-enterprise.md b/translations/zh-CN/data/reusables/actions/self-hosted-runner-groups-navigate-to-repo-org-enterprise.md index 471c62ea06..4819bd92eb 100644 --- a/translations/zh-CN/data/reusables/actions/self-hosted-runner-groups-navigate-to-repo-org-enterprise.md +++ b/translations/zh-CN/data/reusables/actions/self-hosted-runner-groups-navigate-to-repo-org-enterprise.md @@ -1,17 +1,20 @@ {% ifversion fpt %} 1. Navigate to the main page of the repository or organization where your self-hosted runner groups are located. 2. Click {% octicon "gear" aria-label="The Settings gear" %} **Settings**. -3. 在左侧边栏中,单击 **Actions(操作)**。 -4. Click **Runner groups**. +{% data reusables.organizations.settings-sidebar-actions-runner-groups %} {% elsif ghec or ghes or ghae %} 1. Navigate to where your self-hosted runner groups are located: - * **In an organization**: navigate to the main page and click {% octicon "gear" aria-label="The Settings gear" %} **Settings**.{% ifversion ghec %} - * **If using an enterprise account**: navigate to your enterprise account by clicking your profile photo in the top-right corner of {% data variables.product.prodname_dotcom_the_website %}, then clicking **Your enterprises**, then clicking the enterprise.{% elsif ghes or ghae %} - * **如果使用企业级运行器**: - 1. 在任何页面的右上角,单击 {% octicon "rocket" aria-label="The rocket ship" %}。 - 2. 在左边栏中,单击 **Enterprise overview(企业概览)**。 - 3. In the enterprise sidebar, click {% octicon "law" aria-label="The law icon" %} **Policies**.{% endif %} + * **In an organization**: navigate to the main page and click {% octicon "gear" aria-label="The Settings gear" %} **Settings**. + * **If using an enterprise-level group**: + +{% indented_data_reference reusables.enterprise-accounts.access-enterprise spaces=5 %} 2. Navigate to the "Runner groups" settings: - * **In an organization**: Click **Actions** in the left sidebar, then click {% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5091 %}**Runner groups**{% elsif ghae or ghes < 3.4 %}**Runners**{% endif %} below it.{% ifversion ghec or ghes or ghae %} - * {% ifversion ghec %}**If using an enterprise account**:{% elsif ghes or ghae %}**If using an enterprise-level runner**:{% endif %} Click **Actions** under "{% octicon "law" aria-label="The law icon" %} Policies", then click the {% ifversion ghec or ghes > 3.3 or ghae-issue-5091 %}**Runners groups**{% elsif ghae or ghes < 3.4 %}**Runners**{% endif %} tab.{% endif %} + * **In an organization**: + +{% indented_data_reference reusables.actions.settings-ui.settings-actions-runner-groups spaces=5 %} + * **If using an enterprise-level group**: + +{% indented_data_reference reusables.enterprise-accounts.policies-tab spaces=5 %} +{% indented_data_reference reusables.enterprise-accounts.actions-tab spaces=5 %} +{% indented_data_reference reusables.enterprise-accounts.actions-runner-groups-tab spaces=5 %} {% endif %} diff --git a/translations/zh-CN/data/reusables/actions/self-hosted-runner-navigate-to-org-enterprise.md b/translations/zh-CN/data/reusables/actions/self-hosted-runner-navigate-to-org-enterprise.md index afba356154..53206f68d4 100644 --- a/translations/zh-CN/data/reusables/actions/self-hosted-runner-navigate-to-org-enterprise.md +++ b/translations/zh-CN/data/reusables/actions/self-hosted-runner-navigate-to-org-enterprise.md @@ -1,17 +1,20 @@ {% ifversion fpt %} -1. Navigate to the main page of the organization where your self-hosted runner group is registered. +1. Navigate to the main page of the organization where your self-hosted runner is registered. 2. Click {% octicon "gear" aria-label="The Settings gear" %} **Settings**. -3. 在左侧边栏中,单击 **Actions(操作)**。 -4. Click **Runners**. +{% data reusables.organizations.settings-sidebar-actions-runners %} {% elsif ghec or ghes or ghae %} 1. 导航到自托管运行器注册的位置: * **In an organization**: navigate to the main page and click {% octicon "gear" aria-label="The Settings gear" %} **Settings**. - * {% ifversion ghec %}**If using an enterprise account**: navigate to your enterprise account by clicking your profile photo in the top-right corner of {% data variables.product.prodname_dotcom_the_website %}, then clicking **Your enterprises**, then clicking the enterprise.{% elsif ghes or ghae %}**If using an enterprise-level runner**: + * **如果使用企业级运行器**: - 1. 在任何页面的右上角,单击 {% octicon "rocket" aria-label="The rocket ship" %}。 - 1. 在左边栏中,单击 **Enterprise overview(企业概览)**。 - 1. In the enterprise sidebar, {% octicon "law" aria-label="The law icon" %} **Policies**.{% endif %} +{% indented_data_reference reusables.enterprise-accounts.access-enterprise spaces=5 %} 1. 导航到 {% data variables.product.prodname_actions %} 设置: - * **In an organization**: Click **Actions** in the left sidebar{% ifversion fpt or ghec or ghes > 3.1 or ghae %}, then click **Runners**{% endif %}. - * {% ifversion ghec %}**如果使用企业帐户**{% elsif ghes or ghae %}**如果使用企业级运行器**{% endif %}:在“{% octicon "law" aria-label="The law icon" %} Policies(政策)”下单击 **Actions(操作)**{% ifversion fpt or ghec or ghes > 3.1 or ghae %},然后单击 **Runners(运行器)**选项卡{% endif %}。 + * **In an organization**: + +{% indented_data_reference reusables.actions.settings-ui.settings-actions-runners spaces=5 %} + * **如果使用企业级运行器**: + +{% indented_data_reference reusables.enterprise-accounts.policies-tab spaces=5 %} +{% indented_data_reference reusables.enterprise-accounts.actions-tab spaces=5 %} +{% indented_data_reference reusables.enterprise-accounts.actions-runners-tab spaces=5 %} {% endif %} diff --git a/translations/zh-CN/data/reusables/actions/self-hosted-runner-navigate-to-repo-org-enterprise.md b/translations/zh-CN/data/reusables/actions/self-hosted-runner-navigate-to-repo-org-enterprise.md index e6f040fe5c..39eb7c9d57 100644 --- a/translations/zh-CN/data/reusables/actions/self-hosted-runner-navigate-to-repo-org-enterprise.md +++ b/translations/zh-CN/data/reusables/actions/self-hosted-runner-navigate-to-repo-org-enterprise.md @@ -1,17 +1,22 @@ {% ifversion fpt %} 1. Navigate to the main page of the organization or repository where your self-hosted runner group is registered. 2. Click {% octicon "gear" aria-label="The Settings gear" %} **Settings**. -3. 在左侧边栏中,单击 **Actions(操作)**。 -4. Click **Runners**. +{% data reusables.organizations.settings-sidebar-actions-runners %} {% elsif ghec or ghes or ghae %} 1. 导航到自托管运行器注册的位置: - * **在组织或仓库中**,导航到主页并单击 {% octicon "gear" aria-label="The Settings gear" %} **Settings(设置)**。 {% ifversion ghec %} - * **If using an enterprise account**: navigate to your enterprise account by clicking your profile photo in the top-right corner of {% data variables.product.prodname_dotcom_the_website %}, then clicking **Your enterprises**, then clicking the enterprise.{% elsif ghes or ghae %} + * **在组织或仓库中**,导航到主页并单击 {% octicon "gear" aria-label="The Settings gear" %} **Settings(设置)**。 * **如果使用企业级运行器**: - 1. 在任何页面的右上角,单击 {% octicon "rocket" aria-label="The rocket ship" %}。 - 2. 在左边栏中,单击 **Enterprise overview(企业概览)**。 - 3. In the enterprise sidebar, click {% octicon "law" aria-label="The law icon" %} **Policies**.{% endif %} + +{% indented_data_reference reusables.enterprise-accounts.access-enterprise spaces=5 %} 2. 导航到 {% data variables.product.prodname_actions %} 设置: - * **In an organization or repository**: Click **Actions** in the left sidebar{% ifversion fpt or ghes > 3.1 or ghae or ghec %}, then click **Runners**{% endif %}.{% ifversion ghec or ghae or ghes %} - * {% ifversion ghec %}**If using an enterprise account**:{% elsif ghes or ghae %}**If using an enterprise-level runner**:{% endif %} Click **Actions** under "{% octicon "law" aria-label="The law icon" %} Policies"{% ifversion ghes > 3.1 or ghae or ghec %}, then click the **Runners** tab{% endif %}.{% endif %} + * **In an organization or repository**: + +{% indented_data_reference reusables.actions.settings-ui.settings-actions-runners spaces=5 %} + {%- ifversion ghec or ghae or ghes %} + * **如果使用企业级运行器**: + +{% indented_data_reference reusables.enterprise-accounts.policies-tab spaces=5 %} +{% indented_data_reference reusables.enterprise-accounts.actions-tab spaces=5 %} +{% indented_data_reference reusables.enterprise-accounts.actions-runners-tab spaces=5 %} + {%- endif %} {% endif %} diff --git a/translations/zh-CN/data/reusables/actions/settings-sidebar-actions-runner-groups.md b/translations/zh-CN/data/reusables/actions/settings-sidebar-actions-runner-groups.md deleted file mode 100644 index 6272975d7a..0000000000 --- a/translations/zh-CN/data/reusables/actions/settings-sidebar-actions-runner-groups.md +++ /dev/null @@ -1,2 +0,0 @@ -1. In the left sidebar, click **Actions**.{% ifversion fpt or ghes > 3.1 or ghae or ghec %} -1. In the left sidebar, under "Actions", click **Runner groups**.{% endif %} diff --git a/translations/zh-CN/data/reusables/actions/settings-sidebar-actions-runners.md b/translations/zh-CN/data/reusables/actions/settings-sidebar-actions-runners.md deleted file mode 100644 index 358cd4f651..0000000000 --- a/translations/zh-CN/data/reusables/actions/settings-sidebar-actions-runners.md +++ /dev/null @@ -1 +0,0 @@ -1. 在左侧边栏中,在左侧栏中,单击 **Actions**{% ifversion fpt or ghes > 3.1 or ghae or ghec %},然后单击 **Runners(运行器)**{% endif %}。 diff --git a/translations/zh-CN/data/reusables/actions/settings-sidebar-actions.md b/translations/zh-CN/data/reusables/actions/settings-sidebar-actions.md deleted file mode 100644 index 184a7406a6..0000000000 --- a/translations/zh-CN/data/reusables/actions/settings-sidebar-actions.md +++ /dev/null @@ -1 +0,0 @@ -1. 在左侧边栏中,单击 **Actions(操作)**。 diff --git a/translations/zh-CN/data/reusables/actions/settings-ui/settings-actions-general.md b/translations/zh-CN/data/reusables/actions/settings-ui/settings-actions-general.md new file mode 100644 index 0000000000..2e08467c90 --- /dev/null +++ b/translations/zh-CN/data/reusables/actions/settings-ui/settings-actions-general.md @@ -0,0 +1,2 @@ +{% comment %}This reusable is only to be used in other repo/org/enterprise setting reusables.{%- endcomment -%} +1. In the left sidebar, click {% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5658 %}{% octicon "play" aria-label="The {% data variables.product.prodname_actions %} icon" %} **Actions**, then click **General**.{% else %}**Actions**.{% endif %} \ No newline at end of file diff --git a/translations/zh-CN/data/reusables/actions/settings-ui/settings-actions-runner-groups.md b/translations/zh-CN/data/reusables/actions/settings-ui/settings-actions-runner-groups.md new file mode 100644 index 0000000000..cb8aac7753 --- /dev/null +++ b/translations/zh-CN/data/reusables/actions/settings-ui/settings-actions-runner-groups.md @@ -0,0 +1,5 @@ +{% comment %}This reusable is only to be used in other repo/org/enterprise setting reusables.{%- endcomment -%} +1. In the left sidebar, click {% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5658 %}{% octicon "play" aria-label="The {% data variables.product.prodname_actions %} icon" %} **Actions**, then click **Runner groups**.{% else %}**Actions**.{% ifversion ghes > 3.3 or ghae-issue-5091 %} +1. In the left sidebar, under "Actions", click **Runner groups**. +{%- elsif ghes > 3.1 or ghae %} +1. In the left sidebar, under "Actions", click **Runners**.{% endif %}{% endif %} \ No newline at end of file diff --git a/translations/zh-CN/data/reusables/actions/settings-ui/settings-actions-runners.md b/translations/zh-CN/data/reusables/actions/settings-ui/settings-actions-runners.md new file mode 100644 index 0000000000..f54e9c4b40 --- /dev/null +++ b/translations/zh-CN/data/reusables/actions/settings-ui/settings-actions-runners.md @@ -0,0 +1,3 @@ +{% comment %}This reusable is only to be used in other repo/org/enterprise setting reusables.{%- endcomment -%} +1. In the left sidebar, click {% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5658 %}{% octicon "play" aria-label="The {% data variables.product.prodname_actions %} icon" %} **Actions**, then click **Runners**.{% else %}**Actions**.{% ifversion ghes > 3.1 or ghae %} +1. In the left sidebar, under "Actions", click **Runners**.{% endif %}{% endif %} \ No newline at end of file diff --git a/translations/zh-CN/data/reusables/enterprise_management_console/actions.md b/translations/zh-CN/data/reusables/enterprise_management_console/actions.md index 3f1283c9cc..5c407b4d01 100644 --- a/translations/zh-CN/data/reusables/enterprise_management_console/actions.md +++ b/translations/zh-CN/data/reusables/enterprise_management_console/actions.md @@ -1 +1,3 @@ -1. 在左侧边栏中,单击 **Actions(操作)**。 ![设置侧边栏中的 Actions 选项卡](/assets/images/enterprise/management-console/sidebar-actions.png) +1. 在左侧边栏中,单击 **Actions(操作)**。 + + ![设置侧边栏中的 Actions 选项卡](/assets/images/enterprise/management-console/sidebar-actions.png) diff --git a/translations/zh-CN/data/reusables/organizations/settings-sidebar-actions-general.md b/translations/zh-CN/data/reusables/organizations/settings-sidebar-actions-general.md new file mode 100644 index 0000000000..c5ba757ebb --- /dev/null +++ b/translations/zh-CN/data/reusables/organizations/settings-sidebar-actions-general.md @@ -0,0 +1 @@ +{% data reusables.actions.settings-ui.settings-actions-general %} \ No newline at end of file diff --git a/translations/zh-CN/data/reusables/organizations/settings-sidebar-actions-runner-groups.md b/translations/zh-CN/data/reusables/organizations/settings-sidebar-actions-runner-groups.md new file mode 100644 index 0000000000..477154a0ae --- /dev/null +++ b/translations/zh-CN/data/reusables/organizations/settings-sidebar-actions-runner-groups.md @@ -0,0 +1 @@ +{% data reusables.actions.settings-ui.settings-actions-runner-groups %} \ No newline at end of file diff --git a/translations/zh-CN/data/reusables/organizations/settings-sidebar-actions-runners.md b/translations/zh-CN/data/reusables/organizations/settings-sidebar-actions-runners.md new file mode 100644 index 0000000000..4a9ce38f65 --- /dev/null +++ b/translations/zh-CN/data/reusables/organizations/settings-sidebar-actions-runners.md @@ -0,0 +1 @@ +{% data reusables.actions.settings-ui.settings-actions-runners %} \ No newline at end of file diff --git a/translations/zh-CN/data/reusables/organizations/settings-sidebar-actions.md b/translations/zh-CN/data/reusables/organizations/settings-sidebar-actions.md deleted file mode 100644 index 184a7406a6..0000000000 --- a/translations/zh-CN/data/reusables/organizations/settings-sidebar-actions.md +++ /dev/null @@ -1 +0,0 @@ -1. 在左侧边栏中,单击 **Actions(操作)**。 diff --git a/translations/zh-CN/data/reusables/repositories/settings-sidebar-actions-general.md b/translations/zh-CN/data/reusables/repositories/settings-sidebar-actions-general.md new file mode 100644 index 0000000000..c5ba757ebb --- /dev/null +++ b/translations/zh-CN/data/reusables/repositories/settings-sidebar-actions-general.md @@ -0,0 +1 @@ +{% data reusables.actions.settings-ui.settings-actions-general %} \ No newline at end of file diff --git a/translations/zh-CN/data/reusables/repositories/settings-sidebar-actions-runners.md b/translations/zh-CN/data/reusables/repositories/settings-sidebar-actions-runners.md new file mode 100644 index 0000000000..4a9ce38f65 --- /dev/null +++ b/translations/zh-CN/data/reusables/repositories/settings-sidebar-actions-runners.md @@ -0,0 +1 @@ +{% data reusables.actions.settings-ui.settings-actions-runners %} \ No newline at end of file diff --git a/translations/zh-CN/data/reusables/repositories/settings-sidebar-actions.md b/translations/zh-CN/data/reusables/repositories/settings-sidebar-actions.md deleted file mode 100644 index c350461a12..0000000000 --- a/translations/zh-CN/data/reusables/repositories/settings-sidebar-actions.md +++ /dev/null @@ -1,5 +0,0 @@ -1. In the left sidebar, click **Actions**{% ifversion ghes > 3.4 or ghae-issue-6090 or ghec %}, then **General**. - - ![The Actions > General sidebar option](/assets/images/help/repository/actions-general-tab.png) - -{% else %}.{% endif %} diff --git a/translations/zh-CN/data/reusables/support/enterprise-resolving-and-closing-tickets.md b/translations/zh-CN/data/reusables/support/enterprise-resolving-and-closing-tickets.md index f0e2cb1ac2..a50f7d64e7 100644 --- a/translations/zh-CN/data/reusables/support/enterprise-resolving-and-closing-tickets.md +++ b/translations/zh-CN/data/reusables/support/enterprise-resolving-and-closing-tickets.md @@ -1,8 +1,8 @@ {% data variables.contact.enterprise_support %} 在提供解释、建议、使用说明、 {% ifversion ghae %}或{% endif %}变通方法{% ifversion ghes %}或向您推荐可解决问题的版本{% endif %}后,可能认为事件单已解决。 {% ifversion ghes or ghae %} -If you use a custom or unsupported plug-in, module, or custom code, -{% data variables.contact.enterprise_support %} may ask you to remove the unsupported plug-in, module, or code while attempting to resolve the issue. 如果在不受支持的插件、模块或自定义代码删除后问题得以解决,{% data variables.contact.enterprise_support %} 可能认为事件单已解决。 +If you have installed additional third-party software on, or made modifications to, +{% data variables.product.product_name %} outside of the recommendations of {% data variables.contact.enterprise_support %}, {% data variables.contact.enterprise_support %} may ask you to remove the software and/or modifications while attempting to resolve the issue. If the problem is fixed when the unsupported software or modifications have been removed, {% data variables.contact.enterprise_support %} may consider the ticket solved. {% endif %} 如果事件单超出支持范围,或者多次联系您但未获回复,{% data variables.contact.enterprise_support %} 可能会关闭事件单。 如果 {% data variables.contact.enterprise_support %} 因为未获回复而关闭事件单,您可以请求 {% data variables.contact.enterprise_support %} 重新开启事件单。