From 8218d5ff73a31aeecca5393bb04456ce0447f7f5 Mon Sep 17 00:00:00 2001 From: canihavesomecoffee Date: Thu, 10 Jun 2021 23:54:47 +0200 Subject: [PATCH] Do not run format on thirdparty or zvbi libraries --- .github/workflows/format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index d1c5eef2..bbc4981c 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -18,5 +18,5 @@ jobs: - uses: actions/checkout@v2.3.4 - name: Format code run: | - find src/ -type f -name '*.c' -not -path "src/GUI/icon_data.c" | xargs clang-format -i + find src/ -type f -not -path "src/thirdparty/*" -not -path "src/lib_ccx/zvbi/*" -name '*.c' -not -path "src/GUI/icon_data.c" | xargs clang-format -i git diff-index --quiet HEAD -- || (git diff && exit 1)