Skip to content

Commit 62e76bd

Browse files
committed
fix
1 parent 710231a commit 62e76bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ci/run.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ if [ "$NO_CHANGE_USER" = "" ]; then
2626
chown -R user:user .
2727
mkdir -p /cargo
2828
chown -R user:user /cargo
29-
chown -R user:user /checkout
29+
if [ -f /.dockerenv ]; then
30+
chown -R user:user /checkout
31+
fi
3032

3133
# Ensure that runners are able to execute git commands in the worktree,
3234
# overriding the typical git protections. In our docker container we're running

0 commit comments

Comments
 (0)