From 438ae37aef19919ef554c2c04024fb6e0b0e9e4a Mon Sep 17 00:00:00 2001 From: Grzegorz Choinski Date: Thu, 26 Jan 2023 15:39:50 +0000 Subject: [PATCH] ci: exclude third_party in actions/neo-lint Signed-off-by: Grzegorz Choinski --- .github/actions/neo-lint/lint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/neo-lint/lint.sh b/.github/actions/neo-lint/lint.sh index 5b2541b712..094ddaacff 100755 --- a/.github/actions/neo-lint/lint.sh +++ b/.github/actions/neo-lint/lint.sh @@ -1,7 +1,7 @@ #!/bin/bash # -# Copyright (C) 2021-2022 Intel Corporation +# Copyright (C) 2021-2023 Intel Corporation # # SPDX-License-Identifier: MIT # @@ -21,7 +21,7 @@ INPUT_IREGEX="${INPUT_IREGEX:-.*\.(cpp|h|inl)}" git fetch origin ${GITHUB_BASE_REF} git show set -x - git diff -U0 --no-color origin/${GITHUB_BASE_REF}..HEAD | clang-format-diff-11 -p1 -i -v -iregex ${INPUT_IREGEX} + git diff -U0 --no-color origin/${GITHUB_BASE_REF}..HEAD -- . ':!third_party' | clang-format-diff-11 -p1 -i -v -iregex ${INPUT_IREGEX} set +x )