From 50dec7f82aa850e26bafd59379f0d65a49354b83 Mon Sep 17 00:00:00 2001 From: Eirik Stanghelle Morland Date: Mon, 7 Jul 2025 19:26:36 +0200 Subject: [PATCH] Ensure git directory is marked as safe --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16384034..6af4dd17 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,8 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive + - name: Ensure workspace directory is defined as safe + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Compile movement firmware run: make working-directory: '.' @@ -38,6 +40,8 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive + - name: Ensure workspace directory is defined as safe + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Compile movement run: emmake make working-directory: '.'