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
Copy file name to clipboardExpand all lines: content/actions/learn-github-actions/contexts.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ Contexts are a way to access information about workflow runs, runner environment
41
41
|`strategy`|`object`| Enables access to the configured strategy parameters and information about the current job. Strategy parameters include `fail-fast`, `job-index`, `job-total`, and `max-parallel`. |
42
42
|`matrix`|`object`| Enables access to the matrix parameters you configured for the current job. For example, if you configure a matrix build with the `os` and `node` versions, the `matrix` context object includes the `os` and `node` versions of the current job. |
43
43
|`needs`|`object`| Enables access to the outputs of all jobs that are defined as a dependency of the current job. For more information, see [`needs` context](#needs-context). |
44
-
|`inputs`|`object`| Enables access to the inputs of reusable workflow. For more information, see [`inputs` context](#inputs-context). |
44
+
{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-4757 %}| `inputs` | `object` | Enables access to the inputs of reusable workflow. For more information, see [`inputs` context](#inputs-context). |{% endif %}
45
45
46
46
As part of an expression, you may access context information using one of two syntaxes.
47
47
- Index syntax: `github['sha']`
@@ -149,6 +149,7 @@ The `needs` context contains outputs from all jobs that are defined as a depende
149
149
|`needs.<job id>.outputs.<output name>`|`string`| The value of a specific output for a job that the current job depends on. |
150
150
|`needs.<job id>.result`|`string`| The result of a job that the current job depends on. Possible values are `success`, `failure`, `cancelled`, or `skipped`. |
151
151
152
+
{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-4757 %}
152
153
### `inputs` context
153
154
154
155
The `inputs` context contains information about the inputs of reusable workflow. The inputs are defined in [`workflow_call` event configuration](/actions/learn-github-actions/events-that-trigger-workflows#workflow-reuse-events). These inputs are passed from [`jobs.<job_id>.with`](/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idwith) in an external workflow.
@@ -159,6 +160,7 @@ For more information, see "[Reusing workflows](/actions/learn-github-actions/reu
159
160
|---------------|------|-------------|
160
161
|`inputs`|`object`| This context is only available when it is [a reusable workflow](/actions/learn-github-actions/reusing-workflows). |
161
162
|`inputs.<name>`|`string` or `number` or `boolean`| Each input value passed from an external workflow. |
163
+
{% endif %}
162
164
163
165
#### Example printing context information to the log file
- 'The {% data variables.product.prodname_github_connect %} configuration of the source instance was always restored to new instances even when the `--config` option for `ghe-restore` was not used. This would lead to a conflict with the {% data variables.product.prodname_github_connect %} connection and license synchronization if both the source and destination instances were online at the same time. {% comment %} https://github.com/github/github/pull/192247, https://github.com/github/github/pull/191951, https://github.com/github/enterprise2/pull/26870, https://github.com/github/backup-utils/pull/770, https://github.com/github/connected-enterprise/issues/208 {% endcomment %}'
5
+
- 'Fixes {% data variables.product.prodname_pages %} builds so they take into account the NO_PROXY setting of the appliance. This is relevant to appliances configured with an HTTP proxy only. {% comment %} https://github.com/github/github/pull/192380 {% endcomment %}'
6
+
known_issues:
7
+
- After saving a new release on a repository, the `/releases` page shows 500 error. A fix for this issue is expected to ship in 3.2.3.
8
+
- On a freshly set up {% data variables.product.prodname_ghe_server %} without any users, an attacker could create the first admin user.
9
+
- Custom firewall rules are removed during the upgrade process.
10
+
- Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository.
11
+
- Issues cannot be closed if they contain a permalink to a blob in the same repository, where the blob's file path is longer than 255 characters.
12
+
- 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 GitHub.com search results.
13
+
- When a replica node is offline in a high availability configuration, {% data variables.product.product_name %} may still route {% data variables.product.prodname_pages %} requests to the offline node, reducing the availability of {% data variables.product.prodname_pages %} for users.
0 commit comments