You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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
Co-authored-by: Robert Sese <[email protected]>
intro: 'A private profile displays only limited information, and hides some activity.'
2
+
title: 将您的个人资料设置为私密
3
+
intro: 私密个人资料仅显示有限的信息,并隐藏某些活动。
4
4
versions:
5
5
fpt: '*'
6
6
topics:
7
7
- Profiles
8
-
shortTitle: Set profile to private
8
+
shortTitle: 将个人资料设置为私密
9
9
---
10
10
11
-
## About private profiles
11
+
## 关于私密个人资料
12
12
13
13
{% note %}
14
14
15
-
**Note:** Private profiles are currently in beta and are subject to change.
15
+
**注意:**私密个人资料目前处于测试阶段,可能会有所变化。
16
16
17
17
{% endnote %}
18
18
19
-
To hide parts of your profile page, you can make your profile private. This also hides your activity in various social features on {% data variables.product.prodname_dotcom_the_website %}. A private profile hides information from all users, and there is currently no option to allow specified users to see your activity.
19
+
要隐藏部分个人资料页面,您可以将个人资料设为私密。 这也会隐藏您在 {% data variables.product.prodname_dotcom_the_website %} 上的各种社交功能中的活动。 私密个人资料会隐藏所有用户的信息,并且当前没有允许指定用户查看您的活动的选项。
20
20
21
-
After making your profile private, you can still view all your information when you visit your own profile.
21
+
将个人资料设为私密后,您仍然可以在访问自己的个人资料时查看所有信息。
22
22
23
-
Private profiles cannot receive sponsorships under [{% data variables.product.prodname_sponsors %}](/sponsors/getting-started-with-github-sponsors/about-github-sponsors). To be eligible for {% data variables.product.prodname_sponsors %}, your profile cannot be private.
23
+
私密个人资料在 [{% data variables.product.prodname_sponsors %}](/sponsors/getting-started-with-github-sponsors/about-github-sponsors) 下不能获得赞助。 要获得 {% data variables.product.prodname_sponsors %} 资格,您的个人资料不能是私密的。
24
24
25
-
## Differences between private and public profiles
25
+
## 私密个人资料与公共个人资料之间的差异
26
26
27
-
When your profile is private, the following content is hidden from your profile page:
27
+
当您的个人资料为私密时,您的个人资料页面中会隐藏以下内容:
28
28
29
-
-Achievements and highlights.
30
-
-Activity overview and activity feed.
31
-
-Contribution graph.
32
-
-Follower and following counts.
33
-
-Follow and Sponsor buttons.
34
-
-Organization memberships.
35
-
-Stars, projects, packages, and sponsoring tabs.
29
+
-成就和亮点。
30
+
-活动概述和活动源。
31
+
-贡献图。
32
+
-关注者和关注数。
33
+
-关注和赞助者按钮。
34
+
-组织成员资格。
35
+
-星标、项目、包和赞助标签。
36
36
37
37
{% note %}
38
38
39
-
**Note**: When your profile is private, some optional fields are still publicly visible, such as the README, biography, and profile photo.
39
+
**注意**:当您的个人资料为私密时,某些可选字段仍可公开显示,例如自述文件、传记和头像。
40
40
41
41
{% endnote %}
42
42
43
-
## Changes to reporting on your activities
43
+
## 更改活动报告
44
44
45
-
By making your profile private, you will not remove or hide past activity; this setting only applies to your activity while the private setting is enabled.
45
+
通过将个人资料设为私密,您无法删除或隐藏过去的活动;此设置仅适用于启用私密设置时的活动。
46
46
47
-
When your profile is private, your {% data variables.product.prodname_dotcom_the_website %} activity will not appear in the following locations:
47
+
当您的个人资料为私密时,您的 {% data variables.product.prodname_dotcom_the_website %} 活动将不会显示在以下位置:
**Note**: Your activity on public repositories will still be publicly visible to anyone viewing those repositories, and some activity data may still be available through the {% data variables.product.prodname_dotcom %} API.
55
+
**注意**:您在公共仓库上的活动仍将对查看这些仓库的任何人公开可见,并且某些活动数据可能仍可通过 {% data variables.product.prodname_dotcom %} API 获得。
56
56
57
57
{% endnote %}
58
58
59
-
## Changing your profile's privacy settings
59
+
## 更改个人资料的隐私设置
60
60
61
61
{% data reusables.user-settings.access_settings %}
62
-
1.Under "Contributions & Activity", select the checkbox next to **Make profile private and hide activity**.
62
+
1.在“Contributions & Activity(贡献和活动)”下,选中 **Make profile private and hide activity(将个人资料设为私密并隐藏活动)**旁边的复选框。
63
63
{% data reusables.user-settings.update-preferences %}
Copy file name to clipboardExpand all lines: translations/zh-CN/content/actions/using-workflows/about-workflows.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: 关于工作流程
3
3
shortTitle: 关于工作流程
4
-
intro: 'Get a high level overview {% data variables.product.prodname_actions %} workflows, including triggers, syntax, and advanced features.'
4
+
intro: '获取 {% data variables.product.prodname_actions %} 工作流程的高级概述,包括触发器、语法和高级功能。'
5
5
versions:
6
6
fpt: '*'
7
7
ghes: '*'
@@ -20,48 +20,48 @@ miniTocMaxHeadingLevel: 3
20
20
21
21
{% data reusables.actions.about-workflows-long %}
22
22
23
-
## Workflow basics
23
+
## 工作流程基础知识
24
24
25
-
A workflow must contain the following basic components:
25
+
工作流程必须包含以下基本组件:
26
26
27
-
1.One or more _events_ that will trigger the workflow.
28
-
1.One or more _jobs_, each of which will execute on a _runner_ machine and run a series of one or more _steps_.
29
-
1.Each step can either run a script that you define or run an action, which is a reusable extension that can simplify your workflow.
27
+
1.将触发工作流程的一个或多个_事件_。
28
+
1.一个或多个_作业_,每个作业将在_运行器_计算机上执行,并运行一系列一个或多个_步骤_。
29
+
1.每个步骤都可以运行您定义的脚本,也可以运行操作,这是一个可重用的扩展,可以简化您的工作流程。
30
30
31
-
For more information these basic components, see "[Understanding GitHub Actions](/actions/learn-github-actions/understanding-github-actions#the-components-of-github-actions)."
31
+
For more information on these basic components, see "[Understanding GitHub Actions](/actions/learn-github-actions/understanding-github-actions#the-components-of-github-actions)."
For more information, see "[Triggering a workflow](/actions/using-workflows/triggering-a-workflow)", and for a full list of events, see "[Events that trigger workflows](/actions/using-workflows/events-that-trigger-workflows)."
Workflow are defined using YAML. For the full reference of the YAML syntax for authoring workflows, see "[Workflow syntax for GitHub Actions](/actions/using-workflows/workflow-syntax-for-github-actions#about-yaml-syntax-for-workflows)."
{% data reusables.actions.workflow-basic-example-and-explanation %}
47
47
48
-
For more on managing workflow runs, such as re-running, cancelling, or deleting a workflow run, see "[Managing workflow runs](/actions/managing-workflow-runs)."
{% data reusables.actions.workflow-template-overview %}
53
53
54
-
For more information on using and creating starter workflows, see "[Using starter workflows](/actions/using-workflows/using-starter-workflows)" and "[Creating starter workflows for your organization](/actions/using-workflows/creating-starter-workflows-for-your-organization)."
This section briefly describes some of the advanced features of {% data variables.product.prodname_actions %} that help you create more complex workflows.
58
+
本节简介了 {% data variables.product.prodname_actions %} 的一些高级功能,可帮助您创建更复杂的工作流程。
59
59
60
60
### 存储密码
61
61
62
-
如果您的工作流程使用敏感数据,例如密码或证书, 您可以将这些信息在 {% data variables.product.prodname_dotcom %} 中保存为 _机密_,然后在工作流中将它们用作环境变量。 This means that you will be able to create and share workflows without having to embed sensitive values directly in the workflow's YAML source.
This example job demonstrates how to reference an existing secret as an environment variable, and send it as a parameter to an example command.
64
+
此示例作业演示如何将现有机密引用为环境变量,并将其作为参数发送到示例命令。
65
65
66
66
{% raw %}
67
67
```yaml
@@ -81,7 +81,7 @@ jobs:
81
81
82
82
### 创建依赖的作业
83
83
84
-
默认情况下,工作流程中的作业同时并行运行。 If you have a job that must only run after another job has completed, you can use the `needs` keyword to create this dependency. If one of the jobs fails, all dependent jobs are skipped; however, if you need the jobs to continue, you can define this using the `if` conditional statement.
You can use a build matrix if you want your workflow to run tests across multiple combinations of parameters, such as operating systems, platforms, and languages. 构建矩阵是使用 `strategy` 关键字创建的,它接收构建选项作为数组。 例如,此构建矩阵将使用不同版本的 Node.js 多次运行作业:
工作流程只能在一个所有标签处于 `runs-on` 数组中的运行器上运行。 作业将优先转到具有指定标签的空闲自托管运行器。 {% ifversion fpt or ghec %}If none are available and a {% data variables.product.prodname_dotcom %}-hosted runner with the specified labels exists, the job will go to a {% data variables.product.prodname_dotcom %}-hosted runner.{% endif %}
190
+
工作流程只能在一个所有标签处于 `runs-on` 数组中的运行器上运行。 作业将优先转到具有指定标签的空闲自托管运行器。 {% ifversion fpt or ghec %}如果没有可用且具有指定标签的 {% data variables.product.prodname_dotcom %} 托管运行器存在,作业将转到 {% data variables.product.prodname_dotcom %} 托管的运行器。{% endif %}
191
191
192
-
To learn more about self-hosted runner labels, see "[Using labels with self-hosted runners](/actions/hosting-your-own-runners/using-labels-with-self-hosted-runners)."
To learn more about {% data variables.product.prodname_dotcom %}-hosted runner labels, see "[Supported runners and hardware resources](/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources)."
195
+
要详细了解 {% data variables.product.prodname_dotcom %} 托管的运行器标签,请参阅[“支持的运行器和硬件资源”](/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources)。
196
196
{% endif %}
197
197
198
198
{% ifversion fpt or ghes > 3.3 or ghae-issue-4757 or ghec %}
@@ -202,4 +202,4 @@ To learn more about {% data variables.product.prodname_dotcom %}-hosted runner l
202
202
203
203
### 使用环境
204
204
205
-
You can configure environments with protection rules and secrets to control the execution of jobs in a workflow. 工作流程中的每个作业都可以引用单个环境。 在将引用环境的作业发送到运行器之前,必须通过为环境配置的任何保护规则。 更多信息请参阅“[使用环境进行部署](/actions/deployment/using-environments-for-deployment)”。
Copy file name to clipboardExpand all lines: translations/zh-CN/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-minio-gateway-for-nas-storage.md
{% data reusables.actions.enterprise-s3-support-warning %}
18
+
{% warning %}
19
+
20
+
**Warning**: MinIO has announced removal of MinIO Gateways. Starting June 1st, 2022, support and bug fixes for the current MinIO NAS Gateway implementation will only be available for paid customers via their LTS support contract. If you want to continue using MinIO Gateways with {% data variables.product.prodname_actions %}, we recommend moving to MinIO LTS support. For more information, see [Scheduled removal of MinIO Gateway for GCS, Azure, HDFS](https://github.com/minio/minio/issues/14331) in the minio/minio repository.
21
+
22
+
{% endwarning %}
23
+
24
+
## Prerequisites
20
25
21
26
Before enabling {% data variables.product.prodname_actions %}, make sure you have completed the following steps:
Copy file name to clipboardExpand all lines: translations/zh-CN/content/admin/github-actions/managing-access-to-actions-from-githubcom/about-using-actions-in-your-enterprise.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ Each action is a repository in the `actions` organization, and each action repos
48
48
49
49
**Notes:**
50
50
- When using setup actions (such as `actions/setup-LANGUAGE`) on {% data variables.product.product_name %} with self-hosted runners, you might need to set up the tools cache on runners that do not have internet access. For more information, see "[Setting up the tool cache on self-hosted runners without internet access](/enterprise/admin/github-actions/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access)."
51
-
-Upgrades to {% data variables.product.product_name %} will not result in the bundled actions being updated.
51
+
-Bundled actions are automatically updated when {% data variables.product.product_name %} is updated.
0 commit comments