Skip to content

Commit deb3490

Browse files
authored
Merge pull request SvanBoxel#22 from klinkeklinke/master
Specify safe directory to mitigate dubious ownership issue
2 parents da9671d + 0001c76 commit deb3490

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ branch="$(git symbolic-ref --short HEAD)"
2727
branch_uri="$(urlencode ${branch})"
2828

2929
sh -c "git config --global credential.username $GITLAB_USERNAME"
30+
sh -c "git config --global --add safe.directory /github/workspace"
3031
sh -c "git config --global core.askPass /cred-helper.sh"
3132
sh -c "git config --global credential.helper cache"
3233
sh -c "git remote add mirror $*"

0 commit comments

Comments
 (0)