mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-17 21:14:51 +08:00
ci: exclude third_party in actions/neo-lint
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
06928a345a
commit
438ae37aef
4
.github/actions/neo-lint/lint.sh
vendored
4
.github/actions/neo-lint/lint.sh
vendored
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user