Skip to content

Commit 088db64

Browse files
roadlittledawnSarah Edwardshubwriter
authored
docs(actions): make helpful note about env variable visually apparent (#4549)
* docs(actions): make helpful note about env variable visually apparent * Make changes agreed by contributor in PR 4549 Co-authored-by: Sarah Edwards <skedwards88@github.com> Co-authored-by: hubwriter <hubwriter@github.com>
1 parent 6f27008 commit 088db64

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

content/actions/reference/encrypted-secrets.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,11 @@ You can check which access policies are being applied to a secret in your organi
126126

127127
### Using encrypted secrets in a workflow
128128

129-
{% data reusables.actions.forked-secrets %}
129+
{% note %}
130+
131+
**Note:** {% data reusables.actions.forked-secrets %}
132+
133+
{% endnote %}
130134

131135
To provide an action with a secret as an input or environment variable, you can use the `secrets` context to access secrets you've created in your repository. For more information, see "[Context and expression syntax for {% data variables.product.prodname_actions %}](/actions/reference/context-and-expression-syntax-for-github-actions)" and "[Workflow syntax for {% data variables.product.prodname_actions %}](/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions)."
132136

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
With the exception of `GITHUB_TOKEN`, secrets are not passed to the runner when a workflow is triggered from a forked repository.
1+
With the exception of `GITHUB_TOKEN`, secrets are not passed to the runner when a workflow is triggered from a forked repository.

0 commit comments

Comments
 (0)