From 207605f93b14176d17641c9c277201fd9ec22670 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 20 Sep 2024 22:36:41 +0200 Subject: [PATCH] Ignore git unsafe directory. --- .github/workflows/build.yml | 2 ++ .github/workflows/emscripten.yml | 2 ++ .github/workflows/linux.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6fa05d0..9b849c6a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,8 @@ jobs: - if: startsWith(matrix.os, 'macos') name: Install macos dependencies run: brew install pkg-config glfw meson + - name: Trust git repo + run: git config --global --add safe.directory '*' - name: Profiler GUI run: | cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml index 25d9efd9..0ce5a7ee 100644 --- a/.github/workflows/emscripten.yml +++ b/.github/workflows/emscripten.yml @@ -17,6 +17,8 @@ jobs: uses: mymindstorm/setup-emsdk@v14 with: version: 3.1.67 + - name: Trust git repo + run: git config --global --add safe.directory '*' - uses: actions/checkout@v4 - name: Profiler GUI run: | diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 6b65a630..511db29d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -13,6 +13,8 @@ jobs: steps: - name: Install dependencies run: pacman -Syu --noconfirm && pacman -S --noconfirm --needed freetype2 tbb debuginfod wayland dbus libxkbcommon libglvnd meson cmake git wayland-protocols nodejs + - name: Trust git repo + run: git config --global --add safe.directory '*' - uses: actions/checkout@v4 - name: Profiler GUI run: |