From 477bd7da13ef1c805f320809911d5a403f4941bb Mon Sep 17 00:00:00 2001 From: "MINI\\jairo" Date: Thu, 19 Jun 2025 08:27:07 -0500 Subject: [PATCH] Fix dubious ownership in repository when running in container --- .github/workflows/build.yml | 3 --- External/build.sh | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fbaee01..820caab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,9 +43,6 @@ jobs: -e BUILD_TYPE=${{ env.BUILD_TYPE }} run: | cd /workspace - git config --global --add safe.directory /workspace/External/SDL - git config --global --add safe.directory /workspace/External/SDL_image - git config --global --add safe.directory /workspace/External/SDL_ttf ./External/build.sh - name: Build diff --git a/External/build.sh b/External/build.sh index 9ba6979..8fea3bc 100755 --- a/External/build.sh +++ b/External/build.sh @@ -73,6 +73,10 @@ if [[ $RUNNER_OS == 'Linux' ]]; then libpulse-dev$TARGET_APT_ARCH \ libpipewire-0.3-dev$TARGET_APT_ARCH \ libdecor-0-dev$TARGET_APT_ARCH + + git config --global --add safe.directory /workspace/External/SDL + git config --global --add safe.directory /workspace/External/SDL_image + git config --global --add safe.directory /workspace/External/SDL_ttf fi # Build SDL