From d9b0aa62287f7cc73126d0a196fc20b5e158cbe1 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0353618..97dec8e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,9 @@ jobs: - name: Build MCUboot bootloader uses: docker://docker.io/espressif/idf:release-v4.4 with: - args: ./build_mcuboot.sh -s -c ${{matrix.targets}} + args: | + git config --global --add safe.directory /github/workspace + ./build_mcuboot.sh -s -c ${{matrix.targets}} - uses: actions/upload-artifact@v3 with: name: mcuboot-builds