File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -65276,7 +65276,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
6527665276 `echo "${config.input.preRunnerScript}" > pre-runner-script.sh`,
6527765277 'source pre-runner-script.sh',
6527865278 'export RUNNER_ALLOW_RUNASROOT=1',
65279- `./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`,
65279+ `./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label} --name $(hostname)-$(uuidgen) `,
6528065280 './run.sh',
6528165281 ];
6528265282 } else {
@@ -65289,7 +65289,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
6528965289 'curl -O -L https://github.com/actions/runner/releases/download/v2.313.0/actions-runner-linux-${RUNNER_ARCH}-2.313.0.tar.gz',
6529065290 'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.313.0.tar.gz',
6529165291 'export RUNNER_ALLOW_RUNASROOT=1',
65292- `./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`,
65292+ `./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label} --name $(hostname)-$(uuidgen) `,
6529365293 './run.sh',
6529465294 ];
6529565295 }
@@ -72193,4 +72193,4 @@ module.exports = require("zlib");;
7219372193/******/ // Load entry module and return exports
7219472194/******/ return __webpack_require__(4351);
7219572195/******/ })()
72196- ;
72196+ ;
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