File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
1111 '#!/bin/bash' ,
1212 `cd "${ config . input . runnerHomeDir } "` ,
1313 'export RUNNER_ALLOW_RUNASROOT=1' ,
14- `./config.sh --url https://github.com/${ config . githubContext . owner } /${ config . githubContext . repo } --token ${ githubRegistrationToken } --labels ${ label } ` ,
14+ `./config.sh --url https://github.com/${ config . githubContext . owner } /${ config . githubContext . repo } --token ${ githubRegistrationToken } --labels ${ label } --name $(hostname)-$(uuidgen) ` ,
1515 './run.sh' ,
1616 ] ;
1717 } else {
@@ -22,7 +22,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
2222 'curl -O -L https://github.com/actions/runner/releases/download/v2.299.1/actions-runner-linux-${RUNNER_ARCH}-2.299.1.tar.gz' ,
2323 'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.299.1.tar.gz' ,
2424 'export RUNNER_ALLOW_RUNASROOT=1' ,
25- `./config.sh --url https://github.com/${ config . githubContext . owner } /${ config . githubContext . repo } --token ${ githubRegistrationToken } --labels ${ label } ` ,
25+ `./config.sh --url https://github.com/${ config . githubContext . owner } /${ config . githubContext . repo } --token ${ githubRegistrationToken } --labels ${ label } --name $(hostname)-$(uuidgen) ` ,
2626 './run.sh' ,
2727 ] ;
2828 }
You can’t perform that action at this time.
0 commit comments