Add /github/workspace to safe directory for git

This commit is contained in:
TheiLLeniumStudios
2023-02-06 10:24:28 +00:00
parent 475c3b5ce7
commit 77953caa49
+2
View File
@@ -6,6 +6,8 @@ echo "$3"
echo "$4" echo "$4"
echo "$5" echo "$5"
git config --global --add safe.directory /github/workspace
if [ ${GITHUB_BASE_REF} ]; then if [ ${GITHUB_BASE_REF} ]; then
# Pull Request # Pull Request
git fetch origin ${GITHUB_BASE_REF} --depth=1 git fetch origin ${GITHUB_BASE_REF} --depth=1