From b189455f1ce6cdcd2053d7198827d2aaf1ea0f63 Mon Sep 17 00:00:00 2001 From: Vladimir Milosevic Date: Wed, 16 Oct 2024 13:24:08 +0000 Subject: [PATCH] Git fix ownership --- .github/workflows/build-image.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 6cf8d736f..cbdea94e0 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -14,7 +14,10 @@ jobs: steps: - name: Fix permissions - run: sudo chmod 777 -R $GITHUB_WORKSPACE + run: sudo chown ubuntu:ubuntu -R $(pwd) + + # - name: Git safe dir + # run: git config --global --add safe.directory $(pwd) - name: Checkout repository uses: actions/checkout@v4