Skip to content

Commit

Permalink
Ignore 3rd party files when checking for copyright notice (#1426)
Browse files Browse the repository at this point in the history
  • Loading branch information
singiamtel authored Nov 21, 2024
1 parent 00f87d1 commit 50bab16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/c++-code-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ jobs:
incorrect_files=()
for file in "${files[@]}"; do
case $file in
*/3rdparty/*) continue ;; # ignore vendored files
*.cxx|*.h|*.C) first=$cpp_first rest=$cpp_rest ;;
*.cmake|*CMakeLists.txt) first=$hash_first rest=$hash_rest ;;
*) echo "error: unknown file type for $file" >&2; exit 1 ;;
Expand Down

0 comments on commit 50bab16

Please sign in to comment.