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) {
65276
65276
`echo "${config.input.preRunnerScript}" > pre-runner-script.sh`,
65277
65277
'source pre-runner-script.sh',
65278
65278
'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) `,
65280
65280
'./run.sh',
65281
65281
];
65282
65282
} else {
@@ -65289,7 +65289,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
65289
65289
'curl -O -L https://github.com/actions/runner/releases/download/v2.313.0/actions-runner-linux-${RUNNER_ARCH}-2.313.0.tar.gz',
65290
65290
'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.313.0.tar.gz',
65291
65291
'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) `,
65293
65293
'./run.sh',
65294
65294
];
65295
65295
}
@@ -72193,4 +72193,4 @@ module.exports = require("zlib");;
72193
72193
/******/ // Load entry module and return exports
72194
72194
/******/ return __webpack_require__(4351);
72195
72195
/******/ })()
72196
- ;
72196
+ ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
13
13
`echo "${ config . input . preRunnerScript } " > pre-runner-script.sh` ,
14
14
'source pre-runner-script.sh' ,
15
15
'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) ` ,
17
17
'./run.sh' ,
18
18
] ;
19
19
} else {
@@ -26,7 +26,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
26
26
'curl -O -L https://github.com/actions/runner/releases/download/v2.313.0/actions-runner-linux-${RUNNER_ARCH}-2.313.0.tar.gz' ,
27
27
'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.313.0.tar.gz' ,
28
28
'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) ` ,
30
30
'./run.sh' ,
31
31
] ;
32
32
}
You can’t perform that action at this time.
0 commit comments