This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch release-1.14
in repository https://gitbox.apache.org/repos/asf/flink.git

commit f7a3f8604328c7acea4128d287d1b017d8173e7a
Author: Martijn Visser <[email protected]>
AuthorDate: Mon Jan 19 16:48:17 2026 +0100

    [hotfix][docs] Fix git permission issue in Docker build
    
    Add safe.directory workaround for git security patch that causes "dubious 
ownership" errors when running in Docker containers.
---
 .github/workflows/docs.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/docs.sh b/.github/workflows/docs.sh
index d432fecf0f8..a8da2808c0f 100755
--- a/.github/workflows/docs.sh
+++ b/.github/workflows/docs.sh
@@ -30,6 +30,8 @@ if ! curl --fail -OL $HUGO_REPO ; then
        exit 1
 fi
 tar -zxvf $HUGO_ARTIFACT
+# workaround for a git security patch
+git config --global --add safe.directory /root/flink
 git submodule update --init --recursive
 # generate docs into docs/target
 ./hugo -v --source docs --destination target

Reply via email to