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.
2 parents ae4dc4b + ea4ecc4 commit d09777aCopy full SHA for d09777a
main.sh
@@ -142,7 +142,7 @@ function maybe_install_submodules() {
142
if [[ -f "$GITHUB_WORKSPACE/.gitmodules" ]]; then
143
# Change directory ownership to container user due to issue https://github.com/actions/checkout/issues/760
144
# This will be changed to www-data or similar on deployment by deployer.
145
- chown -R :root "$GITHUB_WORKSPACE"
+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
146
147
# add github's public key
148
curl -sL https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' >>/etc/ssh/known_hosts
0 commit comments