configure a list of checks for clang-tidy
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 3 Oct 2022 19:05:50 +0000 (21:05 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 3 Oct 2022 19:05:50 +0000 (21:05 +0200)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
.github/workflows/clang-tidy-review.yml

index 31e2f6be5d731885e2ce71af36e8e7d79e73553a..7a727059ca19876268f44113209cd669b8d4728e 100644 (file)
@@ -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: