Skip to content

Commit faa4ba5

Browse files
authored
Revert broken cn translated file to english (#17167)
1 parent dc5a9b6 commit faa4ba5

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

  • translations/zh-CN/content/actions/reference

translations/zh-CN/content/actions/reference/index.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: 参考
3-
intro: '使用 GitHub 托管的运行器和身份验证创建工作流程的参考文档。'
2+
title: Reference
3+
intro: 'Reference documentation for creating workflows, using GitHub-hosted runners, and authentication.'
44
redirect_from:
55
- /actions/configuring-and-managing-workflows/using-variables-and-secrets-in-a-workflow
66
versions:
@@ -11,46 +11,46 @@ versions:
1111
{% data reusables.actions.enterprise-beta %}
1212
{% data reusables.actions.enterprise-github-hosted-runners %}
1313

14-
### 工作流程语法
14+
### Workflow syntax
1515

16-
工作流程文件以 YAML 编写。 在 YAML 工作流程文件中,您可以使用表达式语法来评估上下文信息、文字、运算符和函数。 上下文信息包括工作流程、环境变量、密码和触发工作流程的事件。 当您在工作流程步骤中使用 [`run`](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsrun) 运行 shell 命令时,您可以使用特定的工作流程命令语法来设置环境变量、设置后续步骤的输出参数,以及设置错误或调试信息。
16+
The workflow file is written in YAML. In the YAML workflow file, you can use expression syntax to evaluate contextual information, literals, operators, and functions. Contextual information includes workflow, environment variables, secrets, and the events that triggered the workflow. When you use [`run`](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsrun) in a workflow step to run shell commands, you can use specific workflow command syntax to set environment variables, set output parameters for subsequent steps, and set error or debug messages.
1717

1818
{% link_in_list /workflow-syntax-for-github-actions %}
1919
{% link_in_list /context-and-expression-syntax-for-github-actions %}
2020
{% link_in_list /workflow-commands-for-github-actions %}
2121

22-
### 事件
22+
### Events
2323

24-
您可以配置工作流和在发生特定 GitHub 事件时运行、在计划的时间运行、手动运行、手动或者当 GitHub 外部事件发生时运行。
24+
You can configure workflows to run when specific GitHub events occur, at a scheduled time, manually, or when events outside of GitHub occur.
2525

2626
{% link_in_list /events-that-trigger-workflows %}
2727

28-
### 身份验证和密码
28+
### Authentication and secrets
2929

30-
{% data variables.product.prodname_dotcom %} 提供一个令牌,可用于代表 {% data variables.product.prodname_actions %} 进行身份验证。 您还可以将敏感信息存储在您的组织{% if currentversion == "free-proteam@latest" or currentversion ver_gt "enterprise-server@3. %}、仓库或者环境{% else %} 或仓库{% endif %} 中。 {% data variables.product.prodname_dotcom %} 对所有密码加密。
30+
{% data variables.product.prodname_dotcom %} provides a token that you can use to authenticate on behalf of {% data variables.product.prodname_actions %}. You can also store sensitive information as a secret in your organization{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %}, repository, or environments{% else %} or repository{% endif %}. {% data variables.product.prodname_dotcom %} encrypts all secrets.
3131

3232
{% link_in_list /authentication-in-a-workflow %}
3333
{% link_in_list /encrypted-secrets %}
3434

3535
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %}
36-
### 环境
36+
### Environments
3737

38-
工作流程作业可以引用具有保护规则或环境特定机密的环境。
38+
Workflow jobs can reference environments that have protection rules or environment-specific secrets.
3939

4040
{% link_in_list /environments %}
4141
{% endif %}
4242

43-
### {% data variables.product.prodname_dotcom %} 托管的运行器
43+
### {% data variables.product.prodname_dotcom %}-hosted runners
4444

45-
GitHub 提供托管的虚拟机器来运行工作流程。 虚拟机包含一个环境,其中包含供 GitHub Actions 使用的工具、软件包和环境变量。
45+
GitHub offers hosted virtual machines to run workflows. The virtual machine contains an environment with tools, packages, and environment variables for GitHub Actions to use.
4646

4747
{% link_in_list /environment-variables %}
4848
{% link_in_list /specifications-for-github-hosted-runners %}
4949

5050
{% if currentVersion == "free-pro-team@latest" %}
51-
### 管理
51+
### Administration
5252

53-
{% data variables.product.prodname_dotcom %} 托管的运行器上运行工作流程时,存在使用限制和潜在的使用费用。 您也可以禁用或限制 {% data variables.product.prodname_actions %} 在仓库和组织中的使用。
53+
When you run workflows on {% data variables.product.prodname_dotcom %}-hosted runners, there are usage limits and potential usage charges. You can also disable or restrict the usage of {% data variables.product.prodname_actions %} in a repository and organization.
5454

5555
{% link_in_list /usage-limits-billing-and-administration %}
5656

0 commit comments

Comments
 (0)