Skip to content

Commit 685d47c

Browse files
committed
fix(common): Disable clang-check for unsecure/deprecated APIs
1 parent 31f57ad commit 685d47c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/clang-tidy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
working-directory: test_app
3636
run: |
3737
. ${IDF_PATH}/export.sh
38-
idf.py clang-check --include-paths $GITHUB_WORKSPACE --exclude-paths $PWD --run-clang-tidy-py run-clang-tidy
38+
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"
3939
cp warnings.txt ../
4040
- name: Convert clang-tidy results into SARIF output
4141
run: |

0 commit comments

Comments
 (0)