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 @@ -13,7 +13,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
1313 `echo "${ config . input . preRunnerScript } " > pre-runner-script.sh` ,
1414 'source pre-runner-script.sh' ,
1515 'export RUNNER_ALLOW_RUNASROOT=1' ,
16- `./config.sh --url https://github.com/${ config . githubContext . owner } /${ config . githubContext . repo } --token ${ githubRegistrationToken } --labels ${ label } ` ,
16+ `./config.sh --url https://github.com/${ config . githubContext . owner } /${ config . githubContext . repo } --token ${ githubRegistrationToken } --labels ${ label } --name $(hostname)-$(uuidgen) ` ,
1717 './run.sh' ,
1818 ] ;
1919 } else {
@@ -26,7 +26,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
2626 'curl -O -L https://github.com/actions/runner/releases/download/v2.313.0/actions-runner-linux-${RUNNER_ARCH}-2.313.0.tar.gz' ,
2727 'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.313.0.tar.gz' ,
2828 'export RUNNER_ALLOW_RUNASROOT=1' ,
29- `./config.sh --url https://github.com/${ config . githubContext . owner } /${ config . githubContext . repo } --token ${ githubRegistrationToken } --labels ${ label } ` ,
29+ `./config.sh --url https://github.com/${ config . githubContext . owner } /${ config . githubContext . repo } --token ${ githubRegistrationToken } --labels ${ label } --name $(hostname)-$(uuidgen) ` ,
3030 './run.sh' ,
3131 ] ;
3232 }
You can’t perform that action at this time.
0 commit comments