From c30ee8b3710984e51841fbe00a7e40684f3df2aa Mon Sep 17 00:00:00 2001 From: Gustavo Henrique Nihei Date: Tue, 17 May 2022 10:55:10 -0300 Subject: [PATCH] ci: Set workspace as a safe directory This fixes an issue reported on https://github.com/actions/checkout/issues/760 Signed-off-by: Gustavo Henrique Nihei --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0353618..44c43ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: - name: Build MCUboot bootloader uses: docker://docker.io/espressif/idf:release-v4.4 with: - args: ./build_mcuboot.sh -s -c ${{matrix.targets}} + args: /bin/sh -c "git config --global --add safe.directory '*' && ./build_mcuboot.sh -s -c ${{matrix.targets}}" - uses: actions/upload-artifact@v3 with: name: mcuboot-builds