ci: exclude third_party in actions/neo-lint

Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
This commit is contained in:
Grzegorz Choinski
2023-01-26 15:39:50 +00:00
committed by Compute-Runtime-Automation
parent 06928a345a
commit 438ae37aef

View File

@ -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
)