Actions: bug fix hour PR (#39602)
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
BIN
assets/images/help/actions/creating-selfhosted-runner.png
Normal file
BIN
assets/images/help/actions/creating-selfhosted-runner.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
@@ -18,7 +18,7 @@ shortTitle: Automatic token authentication
|
||||
|
||||
## About the `GITHUB_TOKEN` secret
|
||||
|
||||
At the start of each workflow run, {% data variables.product.prodname_dotcom %} automatically creates a unique `GITHUB_TOKEN` secret to use in your workflow. You can use the `GITHUB_TOKEN` to authenticate in a workflow run.
|
||||
At the start of each workflow job, {% data variables.product.prodname_dotcom %} automatically creates a unique `GITHUB_TOKEN` secret to use in your workflow. You can use the `GITHUB_TOKEN` to authenticate in the workflow job.
|
||||
|
||||
When you enable {% data variables.product.prodname_actions %}, {% data variables.product.prodname_dotcom %} installs a {% data variables.product.prodname_github_app %} on your repository. The `GITHUB_TOKEN` secret is a {% data variables.product.prodname_github_app %} installation access token. You can use the installation access token to authenticate on behalf of the {% data variables.product.prodname_github_app %} installed on your repository. The token's permissions are limited to the repository that contains your workflow. For more information, see "[Permissions for the `GITHUB_TOKEN`](#permissions-for-the-github_token)."
|
||||
|
||||
|
||||
@@ -68,6 +68,12 @@ This example demonstrates using the `actions-sync` tool to sync an individual ac
|
||||
|
||||
1. Download and extract the latest [`actions-sync` release](https://github.com/actions/actions-sync/releases) for your machine's operating system.
|
||||
1. Create a directory to store cache files for the tool.
|
||||
1. In your terminal, change to the `bin` directory within the release directory you just extracted. For example:
|
||||
|
||||
```shell
|
||||
cd PATH/TO/gh_DATETIME_OS_ARCHITECTURE/bin
|
||||
```
|
||||
|
||||
1. Run the `actions-sync sync` command:
|
||||
|
||||
```shell
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
1. Select the operating system image and architecture of your self-hosted runner machine.
|
||||
|
||||

|
||||
|
||||
1. You will see instructions showing you how to download the runner application and install it on your self-hosted runner machine.
|
||||
|
||||
Open a shell on your self-hosted runner machine and run each shell command in the order shown.
|
||||
|
||||
Reference in New Issue
Block a user