Skip to content

Commit b8a32bb

Browse files
committed
Mark project as safe for git ops
1 parent 5744677 commit b8a32bb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ RUN apt-get update && apt-get install -y \
1010
wget \
1111
&& rm -rf /var/lib/apt/lists/*
1212
COPY . /project
13+
# Git ≥2.35.2 blocks repo access across users. The checkout step runs as
14+
# the Actions runner user, but this step runs as root inside docker:dind.
15+
git config --global --add safe.directory /project

0 commit comments

Comments
 (0)