We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fefba94 commit ac2a6b5Copy full SHA for ac2a6b5
src/docker-entrypoint.sh
@@ -49,7 +49,11 @@ if [ -z "${INPUT_GIT_PUSH_USER_EMAIL}" ]; then
49
fi
50
51
git_setup() {
52
+ # When the runner maps the $GITHUB_WORKSPACE mount, it is owned by the runner
53
+ # user while the created folders are owned by the container user, causing this
54
+ # error. Issue description here: https://github.com/actions/checkout/issues/766
55
git config --global --add safe.directory /github/workspace
56
+
57
git config --global user.name "${INPUT_GIT_PUSH_USER_NAME}"
58
git config --global user.email "${INPUT_GIT_PUSH_USER_EMAIL}"
59
git fetch --depth=1 origin +refs/tags/*:refs/tags/* || true
0 commit comments