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

Commit97b82ed

Browse files
authored
Merge pull request#36 from rtCamp/fix/git-unsafe-repo
Fix ownership issue for new git version
2 parents25780e2 +cd6ebd5 commit97b82ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎main.sh‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ function setup_ssh_access() {
138138

139139
functionmaybe_install_submodules() {
140140

141+
# Change directory ownership to container user due to issue https://github.com/actions/checkout/issues/760
142+
# This will be changed to www-data or similar on deployment by deployer.
143+
chown -R root:"$GITHUB_WORKSPACE"
141144
# Check and update submodules if any
142145
if [[-f"$GITHUB_WORKSPACE/.gitmodules" ]];then
143146
# add github's public key

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp