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

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 24c1954cebc [hotfix][docs] Fix git permission issue attempt #2
24c1954cebc is described below

commit 24c1954cebc0e62655a9621d5a2adef81db84b5d
Author: Chesnay Schepler <ches...@apache.org>
AuthorDate: Wed Nov 1 16:58:01 2023 +0100

    [hotfix][docs] Fix git permission issue attempt #2
---
 .github/workflows/docs.sh  | 2 ++
 .github/workflows/docs.yml | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/docs.sh b/.github/workflows/docs.sh
index b8a088d31d1..1d08bbbafef 100755
--- a/.github/workflows/docs.sh
+++ b/.github/workflows/docs.sh
@@ -22,6 +22,8 @@ mvn --version
 java -version
 javadoc -J-version
 
+# workaround for a git security patch
+git config --global --add safe.directory /root/flink
 git submodule update --init --recursive
 
 cd docs
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 17d927a0eec..26754d2c1e6 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -48,7 +48,7 @@ jobs:
           fi
       - name: Build documentation
         run: |
-          docker run --user 1001 --rm --volume "$PWD:/root/flink" 
chesnay/flink-ci:java_8_11_17_maven_386_v2 bash -c "cd /root/flink && 
./.github/workflows/docs.sh"
+          docker run --rm --volume "$PWD:/root/flink" 
chesnay/flink-ci:java_8_11_17_maven_386_v2 bash -c "cd /root/flink && 
./.github/workflows/docs.sh"
       - name: Upload documentation
         uses: burnett01/rsync-deployments@5.2
         with:

Reply via email to