Skip to content

Commit dbd4e37

Browse files
committed
fix: allow runner to run as root (RUNNER_ALLOW_RUNASROOT)
1 parent bc280c0 commit dbd4e37

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ REG_TOKEN=$(curl -s -X POST \
1313
-H "Accept: application/vnd.github+json" \
1414
"https://api.github.com/repos/${GITHUB_REPOSITORY}/actions/runners/registration-token" | jq -r .token)
1515

16+
export RUNNER_ALLOW_RUNASROOT=1
17+
1618
# Configure
1719
./config.sh --url "https://github.com/${GITHUB_REPOSITORY}" \
1820
--token "$REG_TOKEN" \

0 commit comments

Comments
 (0)