From 70565de2e528d9c0ef2e1a5e1045d22ae6304693 Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" <5425387+Ralim@users.noreply.github.com> Date: Tue, 19 Apr 2022 09:24:40 +1000 Subject: [PATCH] Update push for git permissions https://github.com/actions/checkout/issues/760 --- .github/workflows/push.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 7aa18e65..9c1eb85b 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -22,6 +22,9 @@ jobs: - uses: actions/checkout@v3 with: submodules: true + + - name: Git ownership exception + run: git config --global --add safe.directory /__w/IronOS/IronOS && git config --global safe.directory "$GITHUB_WORKSPACE" - name: build ${{ matrix.model }} run: cd source && ./build.sh -m ${{ matrix.model }} @@ -69,7 +72,10 @@ jobs: - uses: actions/checkout@v3 with: submodules: true - + + - name: Git ownership exception + run: git config --global --add safe.directory /__w/IronOS/IronOS && git config --global safe.directory "$GITHUB_WORKSPACE" + - name: build ${{ matrix.model }} run: cd source && make -j$(nproc) model="${{ matrix.model }}" firmware-multi_compressed_European firmware-multi_compressed_Bulgarian+Russian+Serbian+Ukrainian firmware-multi_Chinese+Japanese