Skip to content

Commit 2ba75ae

Browse files
committed
self-hosted-runner: document two more required secrets
To obtain the token that is necessary to register the runner, we need some sort of credentials, and the way we do that is by using the GitForWindowsHelper GitHub App's credentials. These have to be generated from the App ID and the private key, therefore we require them as secrets, which has previously not been documented. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 0a16b72 commit 2ba75ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/create-azure-self-hosted-runners.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ env:
5050
# AZURE_RESOURCE_GROUP - Resource group to create the runner(s) in
5151
# AZURE_VM_USERNAME - Username of the VM so you can RDP into it
5252
# AZURE_VM_PASSWORD - Password of the VM so you can RDP into it
53+
# GH_APP_ID - The ID of the GitHub App whose credentials are to be used to obtain the runner token
54+
# GH_APP_PRIVATE_KEY - The private key of the GitHub App whose credentials are to be used to obtain the runner token
5355
jobs:
5456
create-runner:
5557
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)