From 5225e84b45281ce051b0aa3d3ea2d9612730e14d Mon Sep 17 00:00:00 2001 From: Carlos Palhares Date: Wed, 8 Feb 2023 16:54:27 -0300 Subject: [PATCH] Set github workspace as safe in git --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 9fcc64b..2159c18 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,6 +13,8 @@ EOF chmod 0600 ~/.gem/credentials set -x +git config --global --add safe.directory "$(pwd)" + work_directory="${WORKDIR:-.}" cd $work_directory