From a832ac3496e1aeaf66b9f839a15c820c0d517d4e Mon Sep 17 00:00:00 2001 From: Sean Robinson Date: Tue, 29 Nov 2022 09:25:39 -0700 Subject: [PATCH] Analyze only argparse header in PR clang-tidy action Signed-off-by: Sean Robinson --- .github/workflows/tidy-analysis-stage-01.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tidy-analysis-stage-01.yml b/.github/workflows/tidy-analysis-stage-01.yml index 5019152b..66ca0a1d 100644 --- a/.github/workflows/tidy-analysis-stage-01.yml +++ b/.github/workflows/tidy-analysis-stage-01.yml @@ -28,7 +28,7 @@ jobs: run: mkdir clang-tidy-result - name: Analyze - run: git diff -U0 HEAD^ | clang-tidy-diff-12.py -p1 -path build -extra-arg=-Iinclude -extra-arg=-std=c++17 -export-fixes clang-tidy-result/fixes.yml + run: git diff -U0 HEAD^ | clang-tidy-diff-12.py -p1 -regex ".+hpp" -extra-arg=-Iinclude -extra-arg=-std=c++17 -export-fixes clang-tidy-result/fixes.yml - name: Save PR metadata run: |