2
0
Fork 0

sh.zio.github-runner-wrapper: add RUNNER_ALLOW_RUNASROOT

main
Ducky 2023-12-03 02:41:38 +00:00
parent 4ab877ad64
commit 4f2e807fc5
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ function main() {
rm "actions-runner-linux-$_ex_version.tar.gz" rm "actions-runner-linux-$_ex_version.tar.gz"
fi fi
export RUNNER_ALLOW_RUNASROOT="1"
if [[ ! -f ".credentials" ]]; then if [[ ! -f ".credentials" ]]; then
./config.sh --url "$url" --token "$token" --unattended ./config.sh --url "$url" --token "$token" --unattended
fi fi