Skip to content

Commit 19e1d07

Browse files
authored
feat: add disableupdate option to runner config.sh (#10)
1 parent c709a26 commit 19e1d07

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/entrypoint.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,10 @@ printf "\tRunner Name: $RUNNER_NAME\n\tAdditional args: $ADDITIONAL_ARGS\n"
6868

6969
if [ "$INTERACTIVE" == "FALSE" ]; then
7070
printf "Running in non-interactive mode\n"
71-
. $HOME/config.sh --name $RUNNER_NAME --url $GITHUB_REPOSITORY_URL --token $REGISTRATION_TOKEN $ADDITIONAL_ARGS --unattended
71+
. $HOME/config.sh --name $RUNNER_NAME --url $GITHUB_REPOSITORY_URL --token $REGISTRATION_TOKEN $ADDITIONAL_ARGS --disableupdate --unattended
7272
else
73-
. $HOME/config.sh --name $RUNNER_NAME --url $GITHUB_REPOSITORY_URL --token $REGISTRATION_TOKEN $ADDITIONAL_ARGS
73+
. $HOME/config.sh --name $RUNNER_NAME --url $GITHUB_REPOSITORY_URL --token $REGISTRATION_TOKEN $ADDITIONAL_ARGS --disableupdate
7474
fi
75-
7675
# Start the runner.
7776
printf "Executing GitHub Runner for $GITHUB_REPOSITORY_NAME\n"
7877

0 commit comments

Comments
 (0)