From d8e91c0d354cf0d84c003971d9f9e90af88adec1 Mon Sep 17 00:00:00 2001 From: JCW Date: Tue, 22 Jul 2025 17:02:37 +0100 Subject: [PATCH] Test Signed-off-by: JCW --- .github/workflows/clang-format.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index dc000b1a28..42b3044027 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -20,10 +20,10 @@ jobs: id: assert shell: bash run: | + set -o pipefail pwd ls -la - git config --global --add safe.directory $(pwd) - set -o pipefail + git branch git diff --exit-code | tee "clang-format.patch" - name: Upload patch if: failure() && steps.assert.outcome == 'failure'