Skip to content

Commit 739017f

Browse files
Update comment on GH PAT for runners (#2926)
[static] Signed-off-by: canton-network-da <team-canton-network@digitalasset.com>
1 parent d8c5197 commit 739017f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cluster/pulumi/gha/src/runners.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,8 +769,9 @@ export function installRunnerScaleSets(controller: k8s.helm.v3.Release): void {
769769
namespace: runnersNamespace.metadata.name,
770770
},
771771
stringData: {
772-
// This is the 'Actions Runner' token for canton-network-da GH user.
773-
// Note that the user needs admin rights on the repo for this to work, since the controller and
772+
// This is the 'Self-hosted runner token' token for canton-network-da GH user.
773+
// Note that the user needs "read/write rights access to administration" and "read access to metadata"
774+
// (fine-grained) permissions for this to work, since the controller and
774775
// listeners use the actions/runners/registration-token endpoint to create a temporary token
775776
// for registration, and this endpoint seems to require admin rights.
776777
// TODO(DACH-NY/canton-network-node#17842): The recommended thing to do is use a GitHub App. See here for a guide

0 commit comments

Comments
 (0)