From 4e3e8be4f60797afa41ae1ff5f71c400a8b79d48 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Mon, 3 Oct 2022 21:05:50 +0200 Subject: [PATCH] configure a list of checks for clang-tidy Signed-off-by: Matthieu Gallien --- .github/workflows/clang-tidy-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clang-tidy-review.yml b/.github/workflows/clang-tidy-review.yml index 31e2f6be5..7a727059c 100644 --- a/.github/workflows/clang-tidy-review.yml +++ b/.github/workflows/clang-tidy-review.yml @@ -24,7 +24,7 @@ jobs: mkdir clang-tidy-result - name: Analyze run: | - git diff -U0 HEAD^ | clang-tidy-diff -p1 -path build -export-fixes clang-tidy-result/fixes.yml + git diff -U0 HEAD^ | clang-tidy-diff -checks='-*,modernize-use-auto,modernize-use-using,modernize-use-nodiscard,modernize-use-nullptr,modernize-use-override,cppcoreguidelines-pro-type-static-cast-downcast' -p1 -path build -export-fixes clang-tidy-result/fixes.yml - name: Run clang-tidy-pr-comments action uses: platisd/clang-tidy-pr-comments@master with: -- 2.30.2