From a8524638ad901b2bb77eea0ddd94a30706ff71ec Mon Sep 17 00:00:00 2001 From: Laura Coursen Date: Tue, 11 May 2021 15:20:24 -0500 Subject: [PATCH] Add :nail_care: --- .../actions/reference/workflow-syntax-for-github-actions.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/actions/reference/workflow-syntax-for-github-actions.md b/content/actions/reference/workflow-syntax-for-github-actions.md index f3ff69418b..b4c7f25bc2 100644 --- a/content/actions/reference/workflow-syntax-for-github-actions.md +++ b/content/actions/reference/workflow-syntax-for-github-actions.md @@ -725,7 +725,9 @@ jobs: #### Example using action inside a different private repository than the workflow -Your workflow must checkout the private repository and reference the action locally. You will need to generate a [personal access token](/github/authenticating-to-github/creating-a-personal-access-token) and add it to your [repository](/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository) or [organization](/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-an-organization). You will need to replace `PERSONAL_ACCESS_TOKEN` in the example below with the name of the secret you created. +Your workflow must checkout the private repository and reference the action locally. Generate a personal access token and add the token as an encrypted secret. For more information, see "[Creating a personal access token](/github/authenticating-to-github/creating-a-personal-access-token)" and "[Encrypted secrets](/actions/reference/encrypted-secrets)." + +Replace `PERSONAL_ACCESS_TOKEN` in the example with the name of your secret. {% raw %} ```yaml