Skip to content

Commit dc668ba

Browse files
Update git config to set directory as safe (#3)
Why: Previous configuration was breaking.
1 parent 45fe9ff commit dc668ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ if [[ ${SKIP_HOOKS:-} == "true" ]]; then
1818
EXTRA_ARGS+="--no-verify"
1919
fi
2020

21-
git config --global --add safe.directory .
21+
git config --global --add safe.directory /github/workspace
2222
git remote add $REMOTE $REMOTE_URL
2323
git push $(join_by " " $EXTRA_ARGS) $REMOTE HEAD:master

0 commit comments

Comments
 (0)