Skip to content

Commit

Permalink
Merge pull request #22 from klinkeklinke/master
Browse files Browse the repository at this point in the history
Specify safe directory to mitigate dubious ownership issue
  • Loading branch information
SvanBoxel authored Sep 19, 2023
2 parents da9671d + 0001c76 commit deb3490
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ branch="$(git symbolic-ref --short HEAD)"
branch_uri="$(urlencode ${branch})"

sh -c "git config --global credential.username $GITLAB_USERNAME"
sh -c "git config --global --add safe.directory /github/workspace"
sh -c "git config --global core.askPass /cred-helper.sh"
sh -c "git config --global credential.helper cache"
sh -c "git remote add mirror $*"
Expand Down

0 comments on commit deb3490

Please sign in to comment.