From d296516d5643745203b550e000e5a5c6677ebf1a Mon Sep 17 00:00:00 2001 From: Julian Benda Date: Fri, 15 Dec 2023 08:54:55 +0100 Subject: [PATCH] Change ref in format command --- .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 2bf24870..9ce0fe71 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -181,7 +181,7 @@ jobs: git fetch origin master --depth 1 - name: Check clang-format run: | - diff=$(git clang-format-15 --style file --diff master) + diff=$(git clang-format-15 --style file --diff origin/master) if [ "$diff" != "" ]; then exit 1 fi