Skip to content

Commit 2983dd8

Browse files
authored
Merge branch 'main' into feat/add-inline-links
2 parents a5fc995 + ad5c362 commit 2983dd8

23 files changed

Lines changed: 304 additions & 81 deletions

content/actions/reference/context-and-expression-syntax-for-github-actions.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,14 @@ The `github` context contains information about the workflow run and the event t
111111

112112
The `env` context contains environment variables that have been set in a workflow, job, or step. For more information about setting environment variables in your workflow, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#env)."
113113

114-
The `env` context syntax allows you to use the value of an environment variable in your workflow file. If you want to use the value of an environment variable inside a runner, use the runner operating system's normal method for reading environment variables.
114+
The `env` context syntax allows you to use the value of an environment variable in your workflow file. You can use the `env` context in the value of any key in a **step** except for the `id` and `uses` keys. For more information on the step syntax, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idsteps)."
115115

116-
You can only use the `env` context in the value of the `with` and `name` keys, or in a step's `if` conditional. For more information on the step syntax, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idsteps)."
116+
If you want to use the value of an environment variable inside a runner, use the runner operating system's normal method for reading environment variables.
117117

118118
| Property name | Type | Description |
119119
|---------------|------|-------------|
120120
| `env` | `object` | This context changes for each step in a job. You can access this context from any step in a job. |
121-
| `env.<env name>` | `string` | The value of a specific environment variable. |
122-
121+
| `env.<env_name>` | `string` | The value of a specific environment variable. |
123122

124123
#### `job` context
125124

content/actions/reference/workflow-syntax-for-github-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ For more information about cron syntax, see "[Events that trigger workflows](/ac
187187

188188
### `env`
189189

190-
A `map` of environment variables that are available to all jobs and steps in the workflow. You can also set environment variables that are only available to a job or step. For more information, see [`jobs.<job_id>.env`](#jobsjob_idenv) and [`jobs.<job_id>.steps[*].env`](#jobsjob_idstepsenv).
190+
A `map` of environment variables that are available to the steps of all jobs in the workflow. You can also set environment variables that are only available to the steps of a single job or to a single step. For more information, see [`jobs.<job_id>.env`](#jobsjob_idenv) and [`jobs.<job_id>.steps[*].env`](#jobsjob_idstepsenv).
191191

192192
{% data reusables.repositories.actions-env-var-note %}
193193

content/developers/apps/scopes-for-oauth-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ Name | Description
4646
&emsp;`repo_deployment`| Grants access to [deployment statuses](/rest/reference/repos#deployments) for public and private repositories. This scope is only necessary to grant other users or services access to deployment statuses, *without* granting access to the code.
4747
&emsp;`public_repo`| Limits access to public repositories. That includes read/write access to code, commit statuses, repository projects, collaborators, and deployment statuses for public repositories and organizations. Also required for starring public repositories.
4848
&emsp;`repo:invite` | Grants accept/decline abilities for invitations to collaborate on a repository. This scope is only necessary to grant other users or services access to invites *without* granting access to the code.{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %}
49-
&emsp;`security_events` | Grants: <br/> read and write access to security events in the [{% data variables.product.prodname_code_scanning %} API](/rest/reference/code-scanning). <br/> read and write access to security events in the [{% data variables.product.prodname_secret_scanning %} API](/rest/reference/secret-scanning).{% endif %}{% if currentVersion ver_gt "enterprise-server@2.21" and currentVersion ver_lt "enterprise-server@3.1" %}
50-
&emsp;`security_events` | Grants read and write access to security events in the [{% data variables.product.prodname_code_scanning %} API](/rest/reference/code-scanning).{% endif %}
49+
&emsp;`security_events` | Grants: <br/> read and write access to security events in the [{% data variables.product.prodname_code_scanning %} API](/rest/reference/code-scanning) <br/> read and write access to security events in the [{% data variables.product.prodname_secret_scanning %} API](/rest/reference/secret-scanning) <br/> This scope is only necessary to grant other users or services access to security events *without* granting access to the code.{% endif %}{% if currentVersion ver_gt "enterprise-server@2.21" and currentVersion ver_lt "enterprise-server@3.1" %}
50+
&emsp;`security_events` | Grants read and write access to security events in the [{% data variables.product.prodname_code_scanning %} API](/rest/reference/code-scanning). This scope is only necessary to grant other users or services access to security events *without* granting access to the code.{% endif %}
5151
**`admin:repo_hook`** | Grants read, write, ping, and delete access to repository hooks in public and private repositories. The `repo` and `public_repo` scopes grants full access to repositories, including repository hooks. Use the `admin:repo_hook` scope to limit access to only repository hooks.
5252
&emsp;`write:repo_hook` | Grants read, write, and ping access to hooks in public or private repositories.
5353
&emsp;`read:repo_hook`| Grants read and ping access to hooks in public or private repositories.

content/github/site-policy/amendment-to-github-terms-of-service-applicable-to-us-federal-government-users.md renamed to content/github/site-policy-deprecated/amendment-to-github-terms-of-service-applicable-to-us-federal-government-users.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ redirect_from:
66
- /articles/proposed-amendment-to-github-terms-of-service-applicable-to-u-s-federal-government-users/
77
- /articles/amendment-to-github-terms-of-service-applicable-to-u-s-federal-government-users
88
- /articles/amendment-to-github-terms-of-service-applicable-to-us-federal-government-users
9+
- /github/site-policy/amendment-to-github-terms-of-service-applicable-to-us-federal-government-users
910
versions:
1011
free-pro-team: '*'
1112
---

content/github/site-policy/github-ae-data-protection-agreement.md renamed to content/github/site-policy-deprecated/github-ae-data-protection-agreement.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ versions:
55
free-pro-team: '*'
66
redirect_from:
77
- /github/site-policy/ghem-data-protection-addendum
8+
- /github/site-policy/github-ae-data-protection-agreement
89
---
910

1011
_These terms apply to Customers who licensed the Products prior to January 4, 2021._

content/github/site-policy/github-ae-product-specific-terms.md renamed to content/github/site-policy-deprecated/github-ae-product-specific-terms.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ versions:
55
free-pro-team: '*'
66
redirect_from:
77
- /github/site-policy/ghem-supplemental-terms-for-microsoft-volume-licensing
8+
- /github/site-policy/github-ae-product-specific-terms
89
---
910

1011
_These terms apply to Customers who licensed the Products prior to January 4, 2021._

content/github/site-policy/github-connect-addendum-to-the-github-enterprise-license-agreement.md renamed to content/github/site-policy-deprecated/github-connect-addendum-to-the-github-enterprise-license-agreement.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ hidden: true
44
redirect_from:
55
- /articles/github-com-connection-addendum-to-the-github-enterprise-license-agreement/
66
- /articles/github-connect-addendum-to-the-github-enterprise-license-agreement
7+
- /github/site-policy/github-connect-addendum-to-the-github-enterprise-license-agreement
78
versions:
89
free-pro-team: '*'
910
---

content/github/site-policy/github-data-protection-addendum.md renamed to content/github/site-policy-deprecated/github-data-protection-addendum.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: GitHub Data Protection Addendum
33
hidden: true
4+
redirect_from:
5+
- /github/site-policy/github-data-protection-addendum
46
versions:
57
free-pro-team: '*'
68
---

content/github/site-policy/github-enterprise-cloud-evaluation-agreement.md renamed to content/github/site-policy-deprecated/github-enterprise-cloud-evaluation-agreement.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: GitHub Enterprise Cloud Evaluation Agreement
33
hidden: true
44
redirect_from:
55
- /articles/github-enterprise-cloud-evaluation-agreement
6+
- /github/site-policy/github-enterprise-cloud-evaluation-agreement
67
versions:
78
free-pro-team: '*'
89
---

content/github/site-policy/github-enterprise-server-license-agreement.md renamed to content/github/site-policy-deprecated/github-enterprise-server-license-agreement.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: GitHub Enterprise Server License Agreement
33
hidden: true
44
redirect_from:
55
- /articles/github-enterprise-server-license-agreement
6+
- /github/site-policy/github-enterprise-server-license-agreement
67
versions:
78
free-pro-team: '*'
89
---

0 commit comments

Comments
 (0)