Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion content/actions/reference/workflows-and-actions/contexts.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ This example workflow shows how configuration variables set at the repository, e

> [!NOTE]
> Configuration variables at the environment level are automatically available after their environment is declared by the runner.

> [!NOTE]
> The `vars` context is not available inside a composite action. To use a repository variable inside a composite action, pass it as an `input` from the calling workflow. For example, pass `${{ vars.MY_VAR }}` as `with: my-var: ${{ vars.MY_VAR }}` in the calling workflow, then use `${{ inputs.my-var }}` inside the composite action.
{% data reusables.actions.actions-vars-context-example-usage %}

## `job` context
Expand Down
Loading