1
0
mirror of synced 2025-12-23 03:44:00 -05:00

Clarification about replacing PAT secret name

This commit is contained in:
Andre Kolodochka
2021-05-03 11:19:57 +10:00
committed by GitHub
parent b498bed7fe
commit cc6a2b836a

View File

@@ -725,7 +725,7 @@ jobs:
#### Example using action inside a different private repository than the workflow #### 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](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) and add it to your [repository](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository) or [organisation](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-an-organization). Your workflow must checkout the private repository and reference the action locally. You will need to generate a [personal access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) and add it to your [repository](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository) or [organisation](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-an-organization). (You will need to replace `PERSONAL_ACCESS_TOKEN` with the name of the secret you created.)
{% raw %} {% raw %}
```yaml ```yaml