Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd09777a

Browse files
authored
Merge pull request#46 from rtCamp/fix/submodule
Add patch for submodule git clone
2 parentsae4dc4b +ea4ecc4 commitd09777a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎main.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function maybe_install_submodules() {
142142
if [[-f"$GITHUB_WORKSPACE/.gitmodules" ]];then
143143
# Change directory ownership to container user due to issue https://github.com/actions/checkout/issues/760
144144
# This will be changed to www-data or similar on deployment by deployer.
145-
chown -R :root"$GITHUB_WORKSPACE"
145+
git config --global --add safe.directory"$GITHUB_WORKSPACE"
146146

147147
# add github's public key
148148
curl -sL https://api.github.com/meta| jq -r'.ssh_keys | .[]'| sed -e's/^/github.com /'>>/etc/ssh/known_hosts

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp