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

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

commit ce716bf80861daa46f58e18ad0a4f48f7596aa69
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 3715060a15b..3187113da5f 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
 # Setup the external documentation modules
 cd docs

Reply via email to