From 4430a5baa5e0bbbc0566b48ce6e06ffbcb8f7bcd Mon Sep 17 00:00:00 2001 From: David Cermak Date: Thu, 31 Oct 2024 16:40:30 +0100 Subject: [PATCH] fix(common): Disable clang-check for unsecure/deprecated APIs --- .github/workflows/clang-tidy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 4708d7490b..1da167032a 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -35,7 +35,7 @@ jobs: working-directory: test_app run: | . ${IDF_PATH}/export.sh - idf.py clang-check --include-paths $GITHUB_WORKSPACE --exclude-paths $PWD --run-clang-tidy-py run-clang-tidy + idf.py clang-check --include-paths $GITHUB_WORKSPACE --exclude-paths $PWD --run-clang-tidy-py run-clang-tidy --run-clang-tidy-options "-checks=-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling" cp warnings.txt ../ - name: Convert clang-tidy results into SARIF output run: |