Skip to content

Commit

Permalink
Update git config to set directory as safe (#3)
Browse files Browse the repository at this point in the history
Why:

Previous configuration was breaking.
  • Loading branch information
nunoapfernandes authored Jul 4, 2022
1 parent 45fe9ff commit dc668ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ if [[ ${SKIP_HOOKS:-} == "true" ]]; then
EXTRA_ARGS+="--no-verify"
fi

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

0 comments on commit dc668ba

Please sign in to comment.