From 77953caa49c612e440fe49a0b749ce09ef0c8d3e Mon Sep 17 00:00:00 2001 From: TheiLLeniumStudios <104288623+TheiLLeniumStudios@users.noreply.github.com> Date: Mon, 6 Feb 2023 10:24:28 +0000 Subject: [PATCH] Add /github/workspace to safe directory for git --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 4cb8418..5188ad4 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,6 +6,8 @@ echo "$3" echo "$4" echo "$5" +git config --global --add safe.directory /github/workspace + if [ ${GITHUB_BASE_REF} ]; then # Pull Request git fetch origin ${GITHUB_BASE_REF} --depth=1