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 @@ -15,7 +15,7 @@ function buildRunCommands(githubRegistrationToken, label) {
1515 `cd "${ config . input . runnerHomeDir } "` ,
1616 'source /tmp/pre-runner-script.sh' ,
1717 'export RUNNER_ALLOW_RUNASROOT=1' ,
18- `./config.sh --url https://github.com/${ config . githubContext . owner } /${ config . githubContext . repo } --token ${ githubRegistrationToken } --labels ${ label } ` ,
18+ `./config.sh --url https://github.com/${ config . githubContext . owner } /${ config . githubContext . repo } --token ${ githubRegistrationToken } --labels ${ label } --ephemeral ` ,
1919 ] ;
2020 } else {
2121 userData = [
@@ -28,7 +28,7 @@ function buildRunCommands(githubRegistrationToken, label) {
2828 'curl -O -L https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-linux-${RUNNER_ARCH}-${RUNNER_VERSION}.tar.gz' ,
2929 'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-${RUNNER_VERSION}.tar.gz' ,
3030 'export RUNNER_ALLOW_RUNASROOT=1' ,
31- `./config.sh --url https://github.com/${ config . githubContext . owner } /${ config . githubContext . repo } --token ${ githubRegistrationToken } --labels ${ label } ` ,
31+ `./config.sh --url https://github.com/${ config . githubContext . owner } /${ config . githubContext . repo } --token ${ githubRegistrationToken } --labels ${ label } --ephemeral ` ,
3232 ] ;
3333 }
3434 if ( config . input . runAsUser ) {
You can’t perform that action at this time.
0 commit comments