Skip to content

Commit

Permalink
Fixed crash loop on renamed registration file
Browse files Browse the repository at this point in the history
  • Loading branch information
dermalikmann authored and sebthom committed Apr 16, 2024
1 parent 73cec8c commit a42e95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/run_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fi
#################################################
# register act runner if required
#################################################
if [[ ! -s .runner ]]; then
if [[ ! -s ${GITEA_RUNNER_REGISTRATION_FILE:-.runner} ]]; then
if [[ -z ${GITEA_RUNNER_REGISTRATION_TOKEN:-} ]]; then
read -r GITEA_RUNNER_REGISTRATION_TOKEN < "$GITEA_RUNNER_REGISTRATION_TOKEN_FILE"
fi
Expand Down

0 comments on commit a42e95b

Please sign in to comment.