From f16f566141c68589834ca9fa259f3e6af428b855 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Thu, 18 Sep 2025 22:05:04 +0200 Subject: [PATCH] github/workflows/codeformat: Fix workflow. Signed-off-by: iabdalkader --- .github/workflows/codeformat.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeformat.yml b/.github/workflows/codeformat.yml index 4cb49803a..4a32ebbb5 100644 --- a/.github/workflows/codeformat.yml +++ b/.github/workflows/codeformat.yml @@ -5,7 +5,9 @@ on: branches: - 'master' paths: - - '**/*.{c,cc,h}' + - '**/*.c' + - '**/*.cc' + - '**/*.h' pull_request: types: @@ -16,7 +18,9 @@ on: branches: - 'master' paths: - - '**/*.{c,cc,h}' + - '**/*.c' + - '**/*.cc' + - '**/*.h' jobs: formatting-check: @@ -27,6 +31,7 @@ jobs: with: submodules: false persist-credentials: false + fetch-depth: 0 - name: '🔎 Check code formatting' uses: openmv/uncrustify-action@v1